8 #include <px4_platform_common/log.h> 10 #define arraySize(a) (sizeof((a))/sizeof(((a)[0]))) 30 virtual void trigger(
bool trigger_on_true) {}
CameraInterface()
Constructor.
virtual void send_toggle_power(bool enable)
send command to turn the camera on/off
virtual ~CameraInterface()=default
Destructor.
virtual bool is_powered_on()
Checks if the camera connected to the interface is turned on.
void get_pins()
get the hardware configuration
Global flash based parameter store.
virtual void send_keep_alive(bool enable)
send command to prevent the camera from sleeping
virtual void info()
Display info.
virtual void trigger(bool trigger_on_true)
trigger the camera
virtual bool has_power_control()
Checks if the interface has support for camera power control.
virtual void setup()
setup the interface
uint32_t param_t
Parameter handle.