Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_DDS: Takeoff interface for Copter/QPLANE #28340

Closed
tizianofiorenzani opened this issue Oct 7, 2024 · 2 comments
Closed

AP_DDS: Takeoff interface for Copter/QPLANE #28340

tizianofiorenzani opened this issue Oct 7, 2024 · 2 comments

Comments

@tizianofiorenzani
Copy link
Contributor

tizianofiorenzani commented Oct 7, 2024

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

  • 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

@Ryanf55
Copy link
Collaborator

Ryanf55 commented Oct 8, 2024

See #26911

@tizianofiorenzani
Copy link
Contributor Author

@Ryanf55 that was easy ;-). Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants