-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Quadrotor keeps jumping when flying in altitude mode #12180
Comments
Hi @parakhm95 , |
I tried the fix you suggested and yes it works! Thank you so much. This has been stuck for a very long time now. Also, how did you plot these flags? Are they available on the log review online and need to be enabled or do I have to manually find them in the log? But it works for sure. |
@parakhm95 I'm glad it worked out! Those flags are not shown on FlightReview (online tool) since you don't need to check them on a regular basis. To see them, you need to open the file using a program such as PlotJuggler. |
Description
The problem occurs in altitude mode whether I switch in-flight or before takeoff. When the robot is taking off, it keep gaining altitude and doesn't come down. If you lower the stick to zero, it keeps climbing but starts jumping in the air. It falls for a few milliseconds and then gains thrust. It keeps repeating this while continuously gaining altitude. Same thing happens if you are flying in manual and you switch to altitude mode.
Reproduction
Expected behavior
It should just takeoff and hold altitude.
Log Files and Screenshots
https://logs.px4.io/plot_app?log=5ef531fd-d7db-443b-8d76-c330044f0b29
You will clearly see how even when the throttle is at it's lowest position, there are huge spikes in the thrust of the robot as seen in actuator controls.
Drone
The drone is a 165mm quadrotor with 3750kV motors and 3040 Triblade props. It is using a Pixfalcon(also called Pixhawk Mini). The power is supplied by the PDB-ESC Combo.
Additional context
I have used this same setup with Ardupilot stack and it works fine somehow.
The text was updated successfully, but these errors were encountered: