Lp 385_cameracontrol
Alessio Morale (approved)
Branch: alessiomorale/librepilot:LP-385_cameracontrol
Branch: librepilot/librepilot:next
Merged
Merged pull request
Merged in alessiomorale/librepilot/LP-385_cameracontrol (pull request #309)
Merged in alessiomorale/librepilot/LP-385_cameracontrol (pull request #309)
This PR introduce a new cameracontrol module based mainly on Foxeer Legend 1 camera. This camera offers a pwm input with 3 programmable positions: shot, idle and video. CameraControl module aims at controlling a camera both in manual mode and automatic mode. Automatic mode works using TimeInterval and SpaceInterval (distance between two shots). MinimumTimeInterval is needed to cope with slow camera so that camera does not lose shots.
Automatic mode can be engaged in the following ways: - WhenArmed, when the copter is armed; - Always, it starts as soon as the board boot and is ready; - Input, using a configured(AutoTriggerInput) accessory channel, - Mission, as soon as pathplanner flight mode is engaged;
Manual mode overrides Auto mode. InputValues (used for manual control) and OutputValues binds every Accessory/PWM output position between minimum(-1), neutral (0) and maximum(1) to each mode (video, idle or shot).
LP-385 - Implement camera trigger output handling
LP-385 - Initial CameraControl module commit
LP_385 - Implement activation/manual override logic, Camera activity "publishing"
LP-385 - add supports for fractional part of second in gps time
LP-385 - use fractional part of second in camera activity
LP-385 - Manage time/distance trigger, picture trigger pulse duration
LP-368 - Add coordinate conversion functions, perform some cleanup/optimization
LP-385 - Convert local coordinates to LL
LP-385 - Fix Actuator support for CameraControl
LP-385 - Fix manual trigger
LP-385 - Add MinimumTimeInterval which define a hard minimum limit between two consecutive shots in auto mode. This is needed to ensure camera can keep up with trigger without loosing shots
LP-385 - Get system timestamp coherently with system module