Added some equipment messages

This commit is contained in:
Pavel Kirienko 2014-04-06 00:26:21 +04:00
parent 56c74487ec
commit bbd8088b66
13 changed files with 151 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#
# Fast automatic self test request.
# E.g. Before flight, the flight computer should call this service on every node that provides it.
# Such nodes should be detected with the service std.protocol.GetDataTypeInfo.
# If at least one node fails, the start should be aborted.
#
---
# Amount of extra time the node needs to finish the procedure.
uint16 delay_msec
bool ok

View File

@ -0,0 +1,13 @@
#
# Fast automatic calibration request.
# E.g. Before flight, the flight computer should call this service on every node that provides it.
# Such nodes should be detected with the service std.protocol.GetDataTypeInfo.
# If at least one node fails, the start should be aborted.
#
---
# Amount of extra time the node needs to finish the procedure.
uint16 delay_msec
bool ok

View File

@ -0,0 +1,20 @@
#
# Nested type.
# Coarse, low-resolution 3D orientation represented as fixed axes in 16 bit.
#
# Roll, pitch, yaw angles in radians should be multiplied by
# ANGLE_MULTIPLIER in order to convert them to the coarse representation.
#
# ANGLE_MULTIPLIER = NORM / PI
#
# Where NORM is 12, because it:
# - Fits the maximum range of the signed 5 bit integer
# - Allows to represent the following angles without precision loss:
# 0, 15, 30, 45, 60, 75, 90, 105, 120, 135, 150, 165, 180, and negatives
#
float32 ANGLE_MULTIPLIER = 4.7746482927568605
int5[3] fixed_axis_roll_pitch_yaw
bool defined # False if the orientation is actually not defined

View File

@ -0,0 +1,17 @@
#
# Inertial data and orientation in body frame.
#
uavcan.Timestamp timestamp
# Normalized quaternion
float16[4] orientation_xyzw
float16[<=9] orientation_covariance
# rad/sec
float16[3] angular_velocity
float16[<=9] angular_velocity_covariance
# m/s^2
float16[3] linear_acceleration
float16[<=9] linear_acceleration_covariance

View File

@ -0,0 +1,6 @@
#
# Magnetic field readings in body frame.
#
float16[3] magnetic_field
float16[<=9] magnetic_field_covariance

View File

@ -0,0 +1,6 @@
#
# True airspeed.
#
float16 true_airspeed
float16 true_airspeed_variance

View File

@ -0,0 +1,12 @@
#
# Pressure altitude and barometric climb rate.
# Barometer nodes should publish this message.
#
uavcan.Timestamp timestamp
float32 pressure_altitude
float16 pressure_altitude_variance
float16 climb_rate
float16 climb_rate_variance

View File

@ -0,0 +1,10 @@
#
# Angle of attack.
#
uint8 ID_LEFT = 254
uint8 ID_RIGHT = 255
uint8 id
float16 aoa
float16 aoa_variance

View File

@ -0,0 +1,7 @@
#
# Body sideslip in radians.
# Yaw right: +, yaw left: -
#
float16 sideslip_angle
float16 sideslip_angle_variance

View File

@ -0,0 +1,11 @@
#
# Static air data for barometric altitude and altitude rate measurements.
#
uavcan.Timestamp timestamp
float16 static_pressure
float16 static_pressure_variance
float16 static_temperature
float16 static_temperature_variance

View File

@ -0,0 +1,19 @@
#
# GNSS nav solution with uncertainty.
# Lat and lon are represented in integer degrees * 1e7, so 1 LSB = 1e-7 deg (approx. 11 mm per LSB on equator).
# Alt is above ellipsoid, represented as meters * 1e2, so 1 LSB = 1e-2 meters (10 mm).
# Velocity is in NED frame (north-east-down) in meters per second.
#
uavcan.Timestamp timestamp
int32 lon_1e7
int32 lat_1e7
int24 alt_1e2
float16[3] ned_velocity
uint4 sats_used
float16[<=9] position_covariance # m^2
float16[<=9] velocity_covariance # (m/s)^2

View File

@ -0,0 +1,5 @@
#
# GNSS RTCM SC-104 protocol raw stream container.
#
uint8[<=250] data

View File

@ -0,0 +1,12 @@
#
# GNSS low priority auxiliary info; should be published at low frequency or not published at all.
#
uint4 sats_visible
uint4 sats_used
float16 gdop
float16 pdop
float16 hdop
float16 vdop
float16 tdop