-
Notifications
You must be signed in to change notification settings - Fork 3
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
Nice Project! I have some questions. #1
Comments
Hi @Pinking-Lee For point 1, In principle, off board control with uXRCE-DDS works fine in C++ and Python. This repo includes and example of rates control that at these lines px4-fw-aerobatics/vtol_example/px4whisperer.py Lines 192 to 207 in ed0b3c6
For point 2, the only changes I made to PX4 1.14 are these 2 commits:
For point 3, thank you, I fixed it, if you see any other mistake please let me know. All the code you see here should be easy to re-write in C++ (in fact, I mostly work in C++ for this, but Python is friendlier for easy-to-run examples) |
note that I updated the |
Thanks. Refer to your example, I have reproduced the several basic functions and follow your example to control VTOL by C++. Now I am working on the smooth trajectory tracking control of FW mode. I searched some comments, said they are mainly used for Mulitrotors. Thanks very much. |
You can definitely use off-board and the |
yes... I tried, not follow with the FW dynamics. I am tring to find another way.... |
It should work, make sure you publish the proper boolean flag for the position reference in the OffboardMode message. |
I just pushed an example that use the velocity field of |
Thanks for your project. What a Nice Project!
I am currently working on the offboard control of VTOL by ROS2, too. But I am using C++ code, not python. This source code may inspire me a lot.
I am a beginner of PX4. At start, I follow the official doc and achieve the offboard control to fly a square path in STIL simulation by px4_msgs::msg::TrajectorySetpoint msg. I can successfully changed the mode of VTOL to FW(Fixedwing) by px4_msgs::msg::VehicleCommand msg in ROS2. But then the plane can not fly the right path.
May be the VTOL can not be offboard controlled by new uXRCE-DDS way(i.e., using official px4_msgs, it is very convenient)?
Then I git your code and successfully run the demo. It is excellent! Here I have some questions:
I mean, I am using current official PX4-Autopilot.git, V1.15. Have you customized a lot on PX4-Autopilot.git?
Or I just only need to customize uXRCE DDS Agent and then I can achieve path following using C++?
And some of your README.md has misspelling, i.e. [resrouces] should be fixed as [resources].
Thank you very much.
The text was updated successfully, but these errors were encountered: