mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-07 03:50:34 +08:00
camera trigger : mavlink stream
This commit is contained in:
@@ -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_ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user