pos_hold_deadband influence the behavior of cruise mode
I´ve set pos_hold_deadband to 100cm. I needed almost 25% of stick deflection to produce a reaction of the FC. Maybe it´s because of the way cruise mode influence the PID controller? At the moment i have no time, but i will try to upload a blackbox log till the end of the week.
pos_hold_deadband is not in cm, it's in R/C command units and it's applied to your sticks after the expo. You can set it as low as zero to have instant response.
On Tue, Jul 26, 2016 at 2:06 AM, kronosol [email protected] wrote:
I´ve set pos_hold_deadband to 100cm. I needed almost 25% of stick deflection to produce a reaction of the FC. Maybe it´s because of the way cruise mode influence the PID controller? At the moment i have no time, but i will try to upload a blackbox log till the end of the week.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/394, or mute the thread https://github.com/notifications/unsubscribe-auth/AKi_m0DRmR7phFHawIOw6kj7ywlvjb4eks5qZUFlgaJpZM4JUoqW .
shouldn't deadbands be applied before the expo? I thought they existed to avoid radio jitter?
According to the code, it is applied before expo
stickDeflection = constrain(rawData - masterConfig.rxConfig.midrc, -500, 500);
stickDeflection = applyDeadband(stickDeflection, deadband);
return rcLookup(stickDeflection, rate);
@DzikuVx @kronosol @andre92 R/C deadbands (deadband, yaw_deadband) are applied before expo. NAV deadbands (alt_hold_deadband, pos_hold_deadband) are applied after expo in navigation code.
@digitalentity okay, but the wiki say´s it´s the deadband in cm. https://github.com/iNavFlight/inav/wiki/6.-iNav-CLI-variables
pos_hold_deadband Input in [cm] 10 250 alt_hold_deadband Defines the deadband of throttle during alt_hold [cm] 10 250
Edit: Link didn´t work
@kronosol fixed, thanks.