-
Notifications
You must be signed in to change notification settings - Fork 17.5k
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: Copter takeoff service #26911
base: master
Are you sure you want to change the base?
Conversation
7e8d6ef
to
1d552af
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good.
Can you update libraries/AP_DDS/README.md
for the new service channel?
Also, if you can, is it possible to add a test for it?
Alright! I'll add a test for it |
1c47c93
to
433091c
Compare
I have added the test @Ryanf55 |
433091c
to
c742f56
Compare
c742f56
to
e928ccb
Compare
Can you fix the build errors? |
cd9a217
to
abe32b2
Compare
This build error is fixed @Ryanf55 |
@snktshrma, @Ryanf55 - while working on support for AP in Aerostack2 I examined the PX4 msgs and services for comparison (PX4 added a service interface at the end of last year for vehicle commands). The service request message structure is similar to the mavlink equivalent: https://github.com/PX4/px4_msgs/blob/main/msg/VehicleCommand.msg. Wondering whether we want to use something similar rather than add many separate messages for the various commands? |
hi @srmainwaring ! |
3412aab
to
a7a3bb9
Compare
Tools/ros2/ardupilot_dds_tests/ardupilot_dds_tests/copter_takeoff.py
Outdated
Show resolved
Hide resolved
69ac7e8
to
4ebbf38
Compare
4ebbf38
to
9d89812
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, tested in SITL and works with floats now.
Hi Randy, can you check the copter changes here are good? I tested in SITL, all looks good. |
Hey there, sorry this didn't get in earlier. Can you fix conflicts? I'm happy with the PR. |
Hi @Ryanf55 ! I have fixed the conflicts. |
Got it @Ryanf55 ! I'll try to attend the dev call. |
The size tests are failing. It might have a conflict, and need a rebase. |
a81f72c
to
71bfa83
Compare
71bfa83
to
1e4b0e6
Compare
Co-authored-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
1e4b0e6
to
555b144
Compare
@snktshrma Now that all the services are wrapped in ifdefs, can you rebase and add that for this PR? |
Added a service for copter to accept takeoff commands using native DDS support.