Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ecmnet committed Apr 6, 2023
1 parent 70fc9b4 commit dc1d362
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

import com.comino.mavcom.control.IMAVController;
import com.comino.mavcom.model.DataModel;
import com.comino.mavcom.model.segment.Status;
import com.comino.mavcom.status.StatusManager;
import com.comino.mavmap.map.map3D.impl.octomap.MAVOccupancyOcTreeNode;
import com.comino.mavmap.map.map3D.impl.octomap.MAVOctoMap3D;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,10 @@ private void initialize() {
if(!model.sys.isStatus(Status.MSP_ARMED)) {

if(control.isSimulation()) {
// SITL: Reset mode in order to be able to arm
// TODO: Might be required for real vehicle also

// SITL: Reset mode in order to be able to re-arm after offboard mode
// TODO: Might be required for real vehicle also => Check; First try without props

control.writeLogMessage(new LogMessage("[mgc] Arming prep.: Switch to Loiter",MAV_SEVERITY.MAV_SEVERITY_DEBUG));
control.sendMAVLinkCmd(MAV_CMD.MAV_CMD_DO_SET_MODE, (cmd,result) -> {
if(result != MAV_RESULT.MAV_RESULT_ACCEPTED)
Expand Down

0 comments on commit dc1d362

Please sign in to comment.