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

Drone instability and loss of control in betaflight simulation #137

Open
sergii-bond opened this issue Jun 3, 2024 · 0 comments
Open

Drone instability and loss of control in betaflight simulation #137

sergii-bond opened this issue Jun 3, 2024 · 0 comments

Comments

@sergii-bond
Copy link

I followed https://github.com/osrf/vehicle_gateway/blob/main/BETAFLIGHT_README.md to setup and launch, everything works, except after some time the drone response becomes worse and worse, eventually making it spin and crash. It happens in both angle and acro modes. The more aggressive the joystick controls are, the faster it comes to a spin and a crash. Is there an option I am missing? I tried setting the fastest PID loop frequency, disabling/enabling "Motor PWM speed Separated from PID speed" option, 3D ESC option, nothing helps. The RTF in gazebo GUI is over 80%. I also tried fixing betaflight SITL to version 4.5.0 and 4.5.0-RC1 in cmakelists, didn't help either. I also tried 4.4.0, but that one doesn't have support for udp port 9004, so RC controls didn't work there.

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

1 participant