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

Gain matrix effect #4

Open
xuyuteng1 opened this issue Apr 6, 2024 · 1 comment
Open

Gain matrix effect #4

xuyuteng1 opened this issue Apr 6, 2024 · 1 comment

Comments

@xuyuteng1
Copy link

i implemented a simple NMPC in gazebo using your framework, when i fix the yaw, the MPC was capable of tracking a traj , but when i set the yaw along the traj, it crashed. i was wondering if this had something to do with the gain matrix, and how should i tune the matrix.
By the way, another simple question is that could you tell us the type of ESC in your experiment? and does it have to be ardupilot to get the rpm info, can PX4 does that?
Sorry for my rookie questiones, looking forward for your reply!

@li-haojia
Copy link
Member

Sorry for the late reply.

Maybe you can try to decrease the attitude gain matrix (I am not sure whether it can work).

As for ESC, I use Holybro Tekko32 F4 4 in 1. We recommend using BLHeli32 with Bidirectional Dshot.

Currently, PX4 is developing the Bidirectional Dshot's feature PX4/PX4-Autopilot#20749. You can try it. But I recommend to use the ardupilot.

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