Browse Source

Merge branch 'mtecs' into mtecs_wind_estimate

sbg
Lorenz Meier 11 years ago
parent
commit
bc24691de2
  1. 20
      src/modules/uORB/topics/actuator_armed.h

20
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 * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
@ -44,15 +44,25 @@
#include <stdint.h> #include <stdint.h>
#include "../uORB.h" #include "../uORB.h"
/**
* @addtogroup topics
* @{
*/
/** global 'actuator output is live' control. */ /** global 'actuator output is live' control. */
struct actuator_armed_s { struct actuator_armed_s {
uint64_t timestamp; uint64_t timestamp; /**< Microseconds since system boot */
bool armed; /**< Set to true if system is armed */ bool armed; /**< Set to true if system is armed */
bool ready_to_arm; /**< Set to true if system is ready to be 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) */ 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); ORB_DECLARE(actuator_armed);
#endif #endif
Loading…
Cancel
Save