-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
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
1e4b0e6
to
555b144
Compare
@snktshrma Now that all the services are wrapped in ifdefs, can you rebase and add that for this PR? |
Hi @snktshrma Please let me know if you can do this or need someone else. We really want this capability in 4.6. |
Hi @Ryanf55 ! I’m missed your previous comment but I’ll make the changes and push the updates asap. |
555b144
to
81c7101
Compare
81c7101
to
fcc932c
Compare
Please fix the astyle cleanliness. |
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.
The Copter changes are tiny so I'm happy. I haven't reviewed the DDS changes but I trust others will ensure that part is correct
80c2e3b
to
c15c9e7
Compare
c15c9e7
to
7f720fa
Compare
... this is costing us bytes.... but DDS is disabled by default. This isn't good.... |
Added a service for copter to accept takeoff commands using native DDS support.