Merge pull request #2732 from PX4/uorb_topics3

uORB topics: Moved all to auto-generated
This commit is contained in:
Lorenz Meier
2015-08-23 16:34:36 +02:00
37 changed files with 174 additions and 353 deletions
+21
View File
@@ -0,0 +1,21 @@
uint8 RC_INPUT_SOURCE_UNKNOWN = 0
uint8 RC_INPUT_SOURCE_PX4FMU_PPM = 1
uint8 RC_INPUT_SOURCE_PX4IO_PPM = 2
uint8 RC_INPUT_SOURCE_PX4IO_SPEKTRUM = 3
uint8 RC_INPUT_SOURCE_PX4IO_SBUS = 4
uint8 RC_INPUT_SOURCE_PX4IO_ST24 = 5
uint8 RC_INPUT_SOURCE_MAVLINK = 6
uint8 RC_INPUT_MAX_CHANNELS = 18 # Maximum number of R/C input channels in the system. S.Bus has up to 18 channels.
uint64 timestamp_publication # publication time
uint64 timestamp_last_signal # last valid reception time
uint32 channel_count # number of channels actually being seen
int32 rssi # receive signal strength indicator (RSSI): < 0: Undefined, 0: no signal, 100: full reception
bool rc_failsafe # explicit failsafe flag: true on TX failure or TX out of range , false otherwise. Only the true state is reliable, as there are some (PPM) receivers on the market going into failsafe without telling us explicitly.
bool rc_lost # RC receiver connection status: True,if no frame has arrived in the expected time, false otherwise. True usally means that the receiver has been disconnected, but can also indicate a radio link loss on "stupid" systems. Will remain false, if a RX with failsafe option continues to transmit frames after a link loss.
uint16 rc_lost_frame_count # Number of lost RC frames. Note: intended purpose: observe the radio link quality if RSSI is not available. This value must not be used to trigger any failsafe-alike funtionality.
uint16 rc_total_frame_count # Number of total RC frames. Note: intended purpose: observe the radio link quality if RSSI is not available. This value must not be used to trigger any failsafe-alike funtionality.
uint16 rc_ppm_frame_length # Length of a single PPM frame. Zero for non-PPM systems
uint8 input_source # Input source
uint16[18] values # measured pulse widths for each of the supported channels
+3
View File
@@ -0,0 +1,3 @@
int32 dataman_id # default 0, there are two offboard storage places in the dataman: 0 or 1
uint32 count # count of the missions stored in the dataman
int32 current_seq # default -1, start at the one changed latest
+3
View File
@@ -0,0 +1,3 @@
uint8 PWM_OUTPUT_MAX_CHANNELS = 16
uint16[16] values
uint32 channel_count
+11
View File
@@ -0,0 +1,11 @@
uint8 RC_PARAM_MAP_NCHAN = 3 # This limit is also hardcoded in the enum RC_CHANNELS_FUNCTION in rc_channels.h
uint8 PARAM_ID_LEN = 16 # corresponds to MAVLINK_MSG_PARAM_VALUE_FIELD_PARAM_ID_LEN
uint64 timestamp # time at which the map was updated
bool[3] valid #true for RC-Param channels which are mapped to a param
int32[3] param_index # corresponding param index, this field is ignored if set to -1, in this case param_id will be used
char[51] param_id # MAP_NCHAN * (ID_LEN + 1) chars, corresponding param id, null terminated
float32[3] scale # scale to map the RC input [-1, 1] to a parameter value
float32[3] value0 # inital value around which the parameter value is changed
float32[3] value_min # minimal parameter value
float32[3] value_max # minimal parameter value
+13
View File
@@ -0,0 +1,13 @@
uint64 timestamp
uint64 error_count
float32 x # acceleration in the NED X board axis in m/s^2
float32 y # acceleration in the NED Y board axis in m/s^2
float32 z # acceleration in the NED Z board axis in m/s^2
float32 temperature # temperature in degrees celsius
float32 range_m_s2 # range in m/s^2 (+- this value)
float32 scaling
int16 x_raw
int16 y_raw
int16 z_raw
int16 temperature_raw
+5
View File
@@ -0,0 +1,5 @@
float32 pressure
float32 altitude
float32 temperature
uint64 timestamp
uint64 error_count
+13
View File
@@ -0,0 +1,13 @@
uint64 timestamp
uint64 error_count
float32 x # angular velocity in the NED X board axis in rad/s
float32 y # angular velocity in the NED Y board axis in rad/s
float32 z # angular velocity in the NED Z board axis in rad/s
float32 temperature # temperature in degrees celcius
float32 range_rad_s
float32 scaling
int16 x_raw
int16 y_raw
int16 z_raw
int16 temperature_raw
+12
View File
@@ -0,0 +1,12 @@
uint64 timestamp
uint64 error_count
float32 x
float32 y
float32 z
float32 range_ga
float32 scaling
float32 temperature
int16 x_raw
int16 y_raw
int16 z_raw