Closed shakthi-prashanth-m closed 7 years ago
I am sending Waypoint missions to PX4 & setting to Mission mode. Though
mission_set_mode.response.succes
is true, from the state callback (/mavros/state
) I came to know that mode switch didn't happen. How could this happen ? If setting to Mission mode fails, it should be reported inmission_set_mode.response.succes
asfalse
isn't it ?
This was already addressed here: https://github.com/mavlink/mavros/commit/599c5887ad2aadc124d7e1354f3a1597402118da. Or you wait that the deb package of 0.20.1 is released or you can always clone upstream master and build from src on you catkin_ws.
Thanks @TSC21 . I changed mission_set_mode.response.succes
to mission_set_mode.response.mode_sent
& cloned 0.20.1
version of mavros. But the actually issue is not that. Inspite of this change, mode switch is not happening. It happens only if I launch QGC. Its strange.
I suppose something in the implementation needs to be reviewed. Though I'm short on time to do it myself. If you are able to find a solution let me know and we can push a fix.
OK. Sure. Thanks.
This was already clarified. Closing.
This is only bug and feature tracker, please use it to report bugs or request features.
Issue details
I am unable to enter to MISSION mode.
I am sending Waypoint missions to PX4 & setting to Mission mode. Though
mission_set_mode.response.succes
is true, from the state callback (/mavros/state
) I came to know that mode switch didn't happen. How could this happen ? If setting to Mission mode fails, it should be reported inmission_set_mode.response.succes
asfalse
isn't it ? But the same operation works in QGC. What QGC does differently ? Am I missing something?MAVROS version and platform
Mavros: 0.19.0 ROS: Kinetic Ubuntu: 16.04
Autopilot type and version
PX4 Version: 4.4.0
Kindly help to resolve this. Thanks in advance.
--Shakthi