|
|
|
@ -425,93 +425,101 @@ ReturnValue_t pst::pstSpi(FixedTimeslotTaskIF *thisSequence) {
|
|
|
|
|
thisSequence->addSlot(objects::RW4, length * 0.8, DeviceHandlerIF::GET_READ);
|
|
|
|
|
|
|
|
|
|
#if OBSW_ADD_ACS_BOARD == 1
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * 0,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * 0.2,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * 0.4,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * 0.6,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * 0.8,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
bool enableAside = false;
|
|
|
|
|
bool enableBside = true;
|
|
|
|
|
if(enableAside) {
|
|
|
|
|
// A side
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * 0,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * 0.2,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * 0.4,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * 0.6,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_0_LIS3_HANDLER, length * 0.8,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::MGM_1_RM3100_HANDLER, length * 0,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_1_RM3100_HANDLER, length * 0.2,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_1_RM3100_HANDLER, length * 0.4,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_1_RM3100_HANDLER, length * 0.6,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_1_RM3100_HANDLER, length * 0.8,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_1_RM3100_HANDLER, length * 0,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_1_RM3100_HANDLER, length * 0.2,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_1_RM3100_HANDLER, length * 0.4,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_1_RM3100_HANDLER, length * 0.6,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_1_RM3100_HANDLER, length * 0.8,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
|
|
|
|
|
// thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * 0,
|
|
|
|
|
// DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
// thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * 0.2,
|
|
|
|
|
// DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
// thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * 0.4,
|
|
|
|
|
// DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
// thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * 0.6,
|
|
|
|
|
// DeviceHandlerIF::SEND_READ);
|
|
|
|
|
// thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * 0.8,
|
|
|
|
|
// DeviceHandlerIF::GET_READ);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_0_ADIS_HANDLER, length * 0,
|
|
|
|
|
// DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_0_ADIS_HANDLER, length * 0.2,
|
|
|
|
|
// DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_0_ADIS_HANDLER, length * 0.4,
|
|
|
|
|
// DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_0_ADIS_HANDLER, length * 0.6,
|
|
|
|
|
// DeviceHandlerIF::SEND_READ);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_0_ADIS_HANDLER, length * 0.8,
|
|
|
|
|
// DeviceHandlerIF::GET_READ);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::MGM_3_RM3100_HANDLER, length * 0,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_3_RM3100_HANDLER, length * 0.2,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_3_RM3100_HANDLER, length * 0.4,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_3_RM3100_HANDLER, length * 0.6,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_3_RM3100_HANDLER, length * 0.8,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * 0,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * 0.2,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * 0.4,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * 0.6,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * 0.8,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_0_ADIS_HANDLER, length * 0,
|
|
|
|
|
// DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_0_ADIS_HANDLER, length * 0.2,
|
|
|
|
|
// DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_0_ADIS_HANDLER, length * 0.4,
|
|
|
|
|
// DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_0_ADIS_HANDLER, length * 0.6,
|
|
|
|
|
// DeviceHandlerIF::SEND_READ);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_0_ADIS_HANDLER, length * 0.8,
|
|
|
|
|
// DeviceHandlerIF::GET_READ);
|
|
|
|
|
//
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * 0,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * 0.2,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * 0.4,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * 0.6,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_1_L3G_HANDLER, length * 0.8,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
if(enableBside) {
|
|
|
|
|
// B side
|
|
|
|
|
thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * 0,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * 0.2,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * 0.4,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * 0.6,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_2_LIS3_HANDLER, length * 0.8,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_2_ADIS_HANDLER, length * 0,
|
|
|
|
|
// DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_2_ADIS_HANDLER, length * 0.2,
|
|
|
|
|
// DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_2_ADIS_HANDLER, length * 0.4,
|
|
|
|
|
// DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_2_ADIS_HANDLER, length * 0.6,
|
|
|
|
|
// DeviceHandlerIF::SEND_READ);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_2_ADIS_HANDLER, length * 0.8,
|
|
|
|
|
// DeviceHandlerIF::GET_READ);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_3_RM3100_HANDLER, length * 0,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_3_RM3100_HANDLER, length * 0.2,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_3_RM3100_HANDLER, length * 0.4,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_3_RM3100_HANDLER, length * 0.6,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::MGM_3_RM3100_HANDLER, length * 0.8,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * 0,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * 0.2,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * 0.4,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * 0.6,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * 0.8,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_2_ADIS_HANDLER, length * 0,
|
|
|
|
|
// DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_2_ADIS_HANDLER, length * 0.2,
|
|
|
|
|
// DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_2_ADIS_HANDLER, length * 0.4,
|
|
|
|
|
// DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_2_ADIS_HANDLER, length * 0.6,
|
|
|
|
|
// DeviceHandlerIF::SEND_READ);
|
|
|
|
|
// thisSequence->addSlot(objects::GYRO_2_ADIS_HANDLER, length * 0.8,
|
|
|
|
|
// DeviceHandlerIF::GET_READ);
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * 0,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * 0.2,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * 0.4,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * 0.6,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::GYRO_3_L3G_HANDLER, length * 0.8,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
}
|
|
|
|
|
#endif /* OBSW_ADD_ACS_BOARD == 1 */
|
|
|
|
|
|
|
|
|
|
if (thisSequence->checkSequence() != HasReturnvaluesIF::RETURN_OK) {
|
|
|
|
@ -547,13 +555,13 @@ ReturnValue_t pst::pstUart(FixedTimeslotTaskIF *thisSequence) {
|
|
|
|
|
thisSequence->addSlot(objects::PLOC_MPSOC_HANDLER, length * 0,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::PLOC_MPSOC_HANDLER, length * 0.2,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::PLOC_MPSOC_HANDLER, length * 0.4,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::PLOC_MPSOC_HANDLER, length * 0.6,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::PLOC_MPSOC_HANDLER, length * 0.8,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
thisSequence->addSlot(objects::PLOC_UPDATER, length * 0, DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
@ -563,13 +571,13 @@ ReturnValue_t pst::pstUart(FixedTimeslotTaskIF *thisSequence) {
|
|
|
|
|
thisSequence->addSlot(objects::PLOC_SUPERVISOR_HANDLER, length * 0,
|
|
|
|
|
DeviceHandlerIF::PERFORM_OPERATION);
|
|
|
|
|
thisSequence->addSlot(objects::PLOC_SUPERVISOR_HANDLER, length * 0.2,
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
DeviceHandlerIF::SEND_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::PLOC_SUPERVISOR_HANDLER, length * 0.4,
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
DeviceHandlerIF::GET_WRITE);
|
|
|
|
|
thisSequence->addSlot(objects::PLOC_SUPERVISOR_HANDLER, length * 0.6,
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
DeviceHandlerIF::SEND_READ);
|
|
|
|
|
thisSequence->addSlot(objects::PLOC_SUPERVISOR_HANDLER, length * 0.8,
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
DeviceHandlerIF::GET_READ);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if Q7S_ADD_SYRLINKS_HANDLER == 1
|
|
|
|
|