Skip to content

Commit dc1d362

Browse files
author
ecmnet
committed
Minor fixes
1 parent 70fc9b4 commit dc1d362

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

MAVGCL/src/main/java/com/comino/flight/model/map/MAVGCLOctoMap.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
import com.comino.mavcom.control.IMAVController;
66
import com.comino.mavcom.model.DataModel;
7-
import com.comino.mavcom.model.segment.Status;
8-
import com.comino.mavcom.status.StatusManager;
97
import com.comino.mavmap.map.map3D.impl.octomap.MAVOccupancyOcTreeNode;
108
import com.comino.mavmap.map.map3D.impl.octomap.MAVOctoMap3D;
119

MAVGCL/src/main/java/com/comino/flight/ui/widgets/panel/CommanderWidget.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)