-
Notifications
You must be signed in to change notification settings - Fork 57
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
is there any cpp example of the offboard control? #5
Comments
@JetJie It shouldnt be too hard to create a cpp example, but could you explain what the problem is exactly? |
the problem is that my previous offboard node is in cpp(microRTPS version). But now it cannot run on the current micro XRCE-DDS version. So I need a cpp offboard example to run my node in the new XRCE-DDS environment. Another issue is, there is no arm and mode change in your example. So could you tell me how to do that? |
I have a working C++ node for a simulation environment ( |
@Ecuashungo It would be great if you could provide a working C++ example. I am starting PX4 (tag It would be great if you could share your PX4 setup. |
@Ecuashungo Thanks for sharing in advance and I am looking forward to your CPP example. If there is no progress here. I would like to back v1.13.1 with the rtps version. In rtps version, I also can send commands to Pixhawk 4 Autopilot to arm a real drone. I am afraid that with the new DDS version, there will be some new unknown issues when communicating with the Pixhawk 4 Autopilot. |
I have created a pull request with a c++ example: #7 |
@Ecuashungo you are right, this was my issue. Finally, the drone did takeoff. |
@Ecuashungo @Jaeyoung-Lim However, even if I run the node, the drone does not work. Could you please help? |
@hwanyongpark Please provide more details of "not working". How does it fail? Do you have any logs to show? Have you checked if whether you get any data out of each drone even before you run the offboard code? |
@hwanyongpark I now see that you are using code as part of the PR? Unfortunately, I haven't tested the code, and it is not yet part of this repository |
the offboard_control.cpp from /px4_ros_com/src/examples/offboard could not run well. Could you provide any other cpp offboard example? thank you.
The text was updated successfully, but these errors were encountered: