33 #ifndef VIDEO_USB_LOGGER_PATH
34 #define VIDEO_USB_LOGGER_PATH /data/video/usb
86 fprintf(
video_usb_logger,
"%d,%d,%d,%d,%d,%d,%d,%d,%d\n", counter,
88 ned->
y, ned->
z, sonar);
int32_t psi
in rad with INT32_ANGLE_FRAC
struct viewvideo_t viewvideo
int32_t theta
in rad with INT32_ANGLE_FRAC
void video_usb_logger_periodic(void)
Log the values to a csv file.
Camera image logger for Linux based autopilots.
#define VIDEO_USB_LOGGER_PATH
Set the default File logger path to the USB drive.
void video_usb_logger_stop(void)
Stop the logger an nicely close the file.
void viewvideo_take_shot(bool_t take)
Get live images from a RTP/UDP stream and save pictures on internal memory.
int32_t phi
in rad with INT32_ANGLE_FRAC
API to get/set the generic vehicle states.
vector in North East Down coordinates
void video_usb_logger_start(void)
Start the file logger and open a new file.
static FILE * video_usb_logger
The file pointer.
static struct NedCoor_i * stateGetPositionNed_i(void)
Get position in local NED coordinates (int).
static struct Int32Eulers * stateGetNedToBodyEulers_i(void)
Get vehicle body attitude euler angles (int).