mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-10 18:24:11 +01:00
5784ea8b36
Actuator did not provide an option to completely shutdown selected channels (set PWM pulse = 0). It is useful for camera stabilization boot delay (we want few seconds of gimbal servo inactivity to calibrate gyros). It also might be useful for failsafe on some channels. This option is now available. It is used to disable camera outputs during fixed 7s delay after boot instead of setting them to minimum position. As a side effect, few bugs are fixed (ticks should be multiplied by portTICK_RATE_MS, not divided, to get time in ms). And few floating point operations were optimized out as well. ActuatorCommand.UpdateTime was promoted to uint16 because it is not unusual to have it 20000ms during flash updates (was seen on the CC after UAV settings import). So it should be 16bit as well. |
||
---|---|---|
.. | ||
inc | ||
camerastab.c |