diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-01 15:37:14 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-01 15:37:14 +0200 |
commit | fecbebc5a6f1b6b1944c4a38278f3eb53358f836 (patch) | |
tree | 308bf6748a9cae75e5515f975d220bd395dbfe3f /src/modules/uORB | |
parent | d7d1edfb9b27c1860e9341263370a4b1a14632b0 (diff) | |
parent | ad811304c89d00d6432ec871916b7a82c8b3cbe7 (diff) | |
download | px4-firmware-fecbebc5a6f1b6b1944c4a38278f3eb53358f836.tar.gz px4-firmware-fecbebc5a6f1b6b1944c4a38278f3eb53358f836.tar.bz2 px4-firmware-fecbebc5a6f1b6b1944c4a38278f3eb53358f836.zip |
Merge branch 'master' of github.com:PX4/Firmware into mtecs
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 |