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

C++ offboard example: change publishers QoS profile and timer frequency #179

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

marco-bonazza
Copy link

  • Specified the QoS profiles in all publishers
  • Modified timer frequency to be the same as the one reported in https://docs.px4.io/main/en/flight_stack/controller_diagrams.html for position control
  • Modified publish_vehicle_command function for better visibility of the specific settings needed to engage offboard mode in the new function engage_offBoard_mode
  • Added land function (land) to conclude the demo

Also there is no more need to go into offboard mode through QGC and then start the node

Signed-off-by: Marco Concetto Bonazza [email protected]

…e publish command function

Signed-off-by: Marco Concetto Bonazza <[email protected]>
@ViniciusAbrao
Copy link

I have translated the code to Python including: arm, take off, offboard flight and land:

https://github.com/ViniciusAbrao/px4_ros2_xrcedds/blob/master/offboard_control.py

@hamishwillee
Copy link
Contributor

@mrpollo Can we get this tested/merged too?

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

Successfully merging this pull request may close these issues.

3 participants