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: Set Altitude and Climbrate command through ROS2/DDS interface #28312

Open
PQuill33 opened this issue Oct 4, 2024 · 0 comments
Open

Comments

@PQuill33
Copy link

PQuill33 commented Oct 4, 2024

I would like to give some external control capability to plane to be able to command its altitude and/or climbrate through the ROS2/DDS interface.

Problem
Looking for a path forward here. I think I can make an external control interface that subscribes to a topic (i.e. /ap/alt_climbrate) based on the global position command message and only parse out the altitude and z-velocity components. Then I would use those to adjust the airspeed (AIRSPEED_CRUISE) and send an altitude target for the plane to reach. The combination of those two actions I think could achieve the desired result.

I would think that using the whole global position message for this would be wasteful and would look for a more appropriate option or make a custom one if that's the case.

Platform
[ ] All
[ ] AntennaTracker
[ ] Copter
[ x ] Plane
[ ] Rover
[ ] Submarine

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

1 participant