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

[MC land detector] In the hold mode, the firmware 1.9.2 and 1.10 will have a throttle equal to 0(MC) #13229

Closed
tonight123 opened this issue Oct 18, 2019 · 4 comments

Comments

@tonight123
Copy link

In the hold mode, the firmware 1.9.2 and 1.10 will have a throttle equal to 0, which changes quickly, resulting in a high degree of control. Highly controlled in firmware 1.8.2
1,firmware 1.9.2
bokeh_plot(1)
bokeh_plot
bokeh_plot3
2,firmware 1.10

bokeh_plot
3,firmware 1.8.2
bokeh_plot

@tonight123 tonight123 changed the title In the hold mode, the firmware 1.9.2 and 1.10 will have a throttle equal to 0 In the hold mode, the firmware 1.9.2 and 1.10 will have a throttle equal to 0(MC) Oct 18, 2019
@julianoes
Copy link
Contributor

Thanks for the issue. Can you please attache a link to the logfile? Or please share the "Velocity" plot.

@MaEtUgR
Copy link
Member

MaEtUgR commented Oct 21, 2019

@tonight123 It looks from the pictures (a link to the log would give more insights) that your vehicle is well powered and can hover with ~26% thrust. Could you try adjusting the parameter MPC_THR_HOVER to 0.26 ? It will likely solve the problem.

Explanation: The vehicle is by default assuming you need ~50% throttle to hover. If you give a lot less thrust but it's not falling it assumes you have contact with the ground and cuts the thrust to land but if you're in air it detects to be suddenly falling and catches again to not crash.

Future solutions for that reoccurring problem:

  1. Estimate the hover thrust on the fly such that the user does not have to adjust. Here's the first draft for that: Create hover thrust estimator Auterion/Flight_Control_Prototyping_Scripts#3
  2. Improve the land detector to directly track the tracking of measured acceleration to thrust such that it's more robust on highly different vehicles.

@tonight123
Copy link
Author

@MaEtUgR in firmware v1.9.0 like PX4 V1.9.0 and Later: Attitude Control and Takeoff Issues #12484
takeoff: mpc_tko_ramp_t =0,it's going to take off quickly.
Starting counterclockwise after take-off, probably because rate i is too big, i is currently 0.2

@bresch bresch changed the title In the hold mode, the firmware 1.9.2 and 1.10 will have a throttle equal to 0(MC) [MC land detector] In the hold mode, the firmware 1.9.2 and 1.10 will have a throttle equal to 0(MC) Oct 23, 2019
@tonight123
Copy link
Author

Each electric tone is calibrated individually. Use qgc-power moule-esc calibration, calibrate pwm-min and pwm-max, adjust thr hover to 43%, solve the problem. Please close this issue. @MaEtUgR @julianoes thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants