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

Tune for PX4 #229

Open
Cavalletta98 opened this issue Nov 11, 2022 · 6 comments
Open

Tune for PX4 #229

Cavalletta98 opened this issue Nov 11, 2022 · 6 comments

Comments

@Cavalletta98
Copy link

Hi, which are the parameters for a drone with PX4 fw onboard? I'm using version 1.13.1 of the fw
Thanks

@Jaeyoung-Lim
Copy link
Owner

@Cavalletta98 Not sure if I follow your question.

You need to tune your vehicle and the guidelines can be found in https://docs.px4.io/main/en/config_mc/pid_tuning_guide_multicopter.html

@Cavalletta98
Copy link
Author

Cavalletta98 commented Nov 11, 2022

I will explain what i'm doing. I'm combining the Fast Planner with PX4 fw in simulation (ROS + gazebo). To do so, i'm using this controller to send the trajectory to the drone. To send the trajectory from Fast Planner to the controller, i'm using this code.
The problem is that the drone is jerking at the beginning (before a send a goal). I think the problem could be the parameters of the controller.
I'm using this launch file

@Jaeyoung-Lim
Copy link
Owner

Jaeyoung-Lim commented Nov 11, 2022

@Cavalletta98 This implementation sends body rate commands to the vehicle. Therefore, you need to tune the rate controller of the vehicle to ensure that the vehicle is capable of tracking the reference before using this package. I have posted the link which explains how to do this in the previous answer

@Cavalletta98
Copy link
Author

Cavalletta98 commented Nov 11, 2022

Ok,thanks. I Will try to follow it

@Jaeyoung-Lim
Copy link
Owner

@Cavalletta98 I already posted the link, in my first answer to your question

@Cavalletta98
Copy link
Author

I'm trying to use it but it is not so easy to do it. According to you, do you know a "better" way to use the trajectory of the Fast Planner with px4 fw?

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

No branches or pull requests

2 participants