You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like a new service that allows to command takeoff for copters/qplane. Current interfaces lack the ability to takeoff a copter, as commanding a location in Guided mode fails, unless vehicle is flying.
Solution
Service /ap/start_takeoff with argument altitude = takeoff altitude in meter.
We can use the interface AP::vehicle()->start_takeoff(alt), which returns false by default, if not overwritten by the vehicle implementation.
The response could be:
result true if takeoff has started.
error, which collects reasons why it fails, like NOT_AVAILABLE_FOR_THIS_VEHICLE
Platform
[ ] All
[ ] AntennaTracker
[ x ] Copter
[ x ] Plane
[ ] Rover
[ ] Submarine
The text was updated successfully, but these errors were encountered:
Takeoff Service interface
I would like a new service that allows to command takeoff for copters/qplane. Current interfaces lack the ability to takeoff a copter, as commanding a location in Guided mode fails, unless vehicle is flying.
Solution
/ap/start_takeoff
with argumentaltitude
= takeoff altitude in meter.AP::vehicle()->start_takeoff(alt)
, which returns false by default, if not overwritten by the vehicle implementation.result
true if takeoff has started.error
, which collects reasons why it fails, likeNOT_AVAILABLE_FOR_THIS_VEHICLE
Platform
[ ] All
[ ] AntennaTracker
[ x ] Copter
[ x ] Plane
[ ] Rover
[ ] Submarine
The text was updated successfully, but these errors were encountered: