diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-03 13:37:42 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-03 13:37:42 +0200 |
commit | da5b60adab798710f8f61940edfee73a1c46542a (patch) | |
tree | 9d1434f072c49323fc9e8aa7106f585a88f85dfd /src/modules/uORB | |
parent | 325d5026bb6d36ab3557ab999f8db772f77ac7a1 (diff) | |
parent | a3c238579d8b3325a924f01c7ae77ff494ac73f6 (diff) | |
download | px4-firmware-da5b60adab798710f8f61940edfee73a1c46542a.tar.gz px4-firmware-da5b60adab798710f8f61940edfee73a1c46542a.tar.bz2 px4-firmware-da5b60adab798710f8f61940edfee73a1c46542a.zip |
Merge branch 'master' of github.com:PX4/Firmware
Diffstat (limited to 'src/modules/uORB')
-rw-r--r-- | src/modules/uORB/topics/actuator_armed.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/modules/uORB/topics/actuator_armed.h b/src/modules/uORB/topics/actuator_armed.h index 6e944ffee..a98d3fc3a 100644 --- a/src/modules/uORB/topics/actuator_armed.h +++ b/src/modules/uORB/topics/actuator_armed.h @@ -1,6 +1,6 @@ /**************************************************************************** * - * Copyright (C) 2013 PX4 Development Team. All rights reserved. + * Copyright (c) 2013 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 @@ -44,15 +44,25 @@ #include <stdint.h> #include "../uORB.h" +/** + * @addtogroup topics + * @{ + */ + /** global 'actuator output is live' control. */ struct actuator_armed_s { - uint64_t timestamp; - bool armed; /**< Set to true if system is armed */ - bool ready_to_arm; /**< Set to true if system is ready to be armed */ - bool lockdown; /**< Set to true if actuators are forced to being disabled (due to emergency or HIL) */ + uint64_t timestamp; /**< Microseconds since system boot */ + bool armed; /**< Set to true if system is armed */ + bool ready_to_arm; /**< Set to true if system is ready to be armed */ + bool lockdown; /**< Set to true if actuators are forced to being disabled (due to emergency or HIL) */ }; +/** + * @} + */ + +/* register this as object request broker structure */ ORB_DECLARE(actuator_armed); #endif
\ No newline at end of file |