uORB: Added vehicle_landed uORB topic

This commit is contained in:
Johan Jansen
2015-01-15 14:37:50 +01:00
parent e62bd37e73
commit d0af62783d
2 changed files with 26 additions and 0 deletions
@@ -0,0 +1,23 @@
#ifndef __TOPIC_VEHICLE_LANDED_H__
#define __TOPIC_VEHICLE_LANDED_H__
#include "../uORB.h"
/**
* @addtogroup topics
* @{
*/
struct vehicle_land_detected_s {
uint64_t timestamp; /**< timestamp of the setpoint */
bool landed; /**< true if vehicle is currently landed on the ground*/
};
/**
* @}
*/
/* register this as object request broker structure */
ORB_DECLARE(vehicle_land_detected);
#endif //__TOPIC_VEHICLE_LANDED_H__