camera trigger : mavlink stream

This commit is contained in:
Mohammed Kabir
2015-05-21 17:41:52 +05:30
parent 5ff38089e9
commit 95a8e29cfe
5 changed files with 80 additions and 19 deletions
+20 -18
View File
@@ -1,6 +1,6 @@
/****************************************************************************
*
* Copyright (c) 2015 PX4 Development Team. All rights reserved.
* Copyright (C) 2013-2015 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -31,30 +31,35 @@
*
****************************************************************************/
/**
* @file camera_trigger.h
* Camera-IMU synchronisation and triggering
*/
/* Auto-generated by genmsg_cpp from file /home/kabir/fork/Firmware/msg/camera_trigger.msg */
#ifndef TOPIC_CAMERA_TRIGGER_H_
#define TOPIC_CAMERA_TRIGGER_H_
#include <platforms/px4_defines.h>
#pragma once
#include <stdint.h>
#include <uORB/uORB.h>
#ifndef __cplusplus
#endif
/**
* @addtogroup topics
* @{
*/
/**
* Camera-IMU synchronisation message
*/
struct camera_trigger_s {
uint64_t timestamp; /**< Timestamp when camera was triggered */
uint32_t seq; /**< Image sequence - reset to zero on getting trigger reset command */
#ifdef __cplusplus
struct __EXPORT camera_trigger_s {
#else
struct camera_trigger_s {
#endif
uint64_t timestamp;
uint32_t seq;
#ifdef __cplusplus
#endif
};
/**
@@ -63,6 +68,3 @@ struct camera_trigger_s {
/* register this as object request broker structure */
ORB_DECLARE(camera_trigger);
#endif /* TOPIC_CAMERA_TRIGGER_H_ */