Skip to main content

BRACKET

Constant BRACKET 

Source
pub const BRACKET: usize = 8;
Expand description

Per motor the gain is searched over a bracket of BRACKET doublings or halvings from the config’s own (together: a start that fails is doubled once to see which way the slack grows), then by BISECTIONS bisections (in the logarithm): at most 1 + 8 + 6 = 15 evaluations (velocity_loop_margins, which measures every motor at every pose), the last resolving the gain to 1.1 %.