Fix Version/s: None
Sprint:TSSW Sprint - Mar 30 - Apr 13
Team:Telescope and Site
Put the rotator PXI into the standby state after clearing the error. This task will need to update the Simulink model for the state machine transition. This task also needs to write the related test in Simulink to testify this change. After this, I will need to generate the C/C++ code and put back to ts_rotator_controller and test the new built. I need to think I can test this in C/C++ level in additional to the Simulink level or not.
Added the cpSimCntlr.sh and copied the files of simulink code to ts_rotator_controller. The Jenkins build passed.
Put the system into the Standby state instead of Offline-PublishOnly state after clearing the error.
The PRs are:
Please note the main effort in this ticket is the Simulink model, not the C code. The only part I think is relevant to code is here:
The Jenkins test is here:
This looks very nice. A big improvement.
I hope you plan to make the same change for the hexapod.
Updated the state machine in rotator Simulink model to transit to the Standby state from the Fault state after clearing the error. The transition of Fault state is by the state transition command. The result is in the figure: