File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
MAVGCL/src/main/java/com/comino/flight Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 44
55import com .comino .mavcom .control .IMAVController ;
66import com .comino .mavcom .model .DataModel ;
7- import com .comino .mavcom .model .segment .Status ;
8- import com .comino .mavcom .status .StatusManager ;
97import com .comino .mavmap .map .map3D .impl .octomap .MAVOccupancyOcTreeNode ;
108import com .comino .mavmap .map .map3D .impl .octomap .MAVOctoMap3D ;
119
Original file line number Diff line number Diff line change @@ -138,8 +138,10 @@ private void initialize() {
138138 if (!model .sys .isStatus (Status .MSP_ARMED )) {
139139
140140 if (control .isSimulation ()) {
141- // SITL: Reset mode in order to be able to arm
142- // TODO: Might be required for real vehicle also
141+
142+ // SITL: Reset mode in order to be able to re-arm after offboard mode
143+ // TODO: Might be required for real vehicle also => Check; First try without props
144+
143145 control .writeLogMessage (new LogMessage ("[mgc] Arming prep.: Switch to Loiter" ,MAV_SEVERITY .MAV_SEVERITY_DEBUG ));
144146 control .sendMAVLinkCmd (MAV_CMD .MAV_CMD_DO_SET_MODE , (cmd ,result ) -> {
145147 if (result != MAV_RESULT .MAV_RESULT_ACCEPTED )
You can’t perform that action at this time.
0 commit comments