diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-10 01:30:25 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-10 01:30:25 +0200 |
commit | 9ecec7fada7da3778c6214defcef68ea05352027 (patch) | |
tree | 9c5cadb51d04a984f3bbddfe820772ab8ce1114d /src/modules/uORB | |
parent | 5225d87854bdea1b5e4367e3db6b41ece9e46e13 (diff) | |
download | px4-firmware-9ecec7fada7da3778c6214defcef68ea05352027.tar.gz px4-firmware-9ecec7fada7da3778c6214defcef68ea05352027.tar.bz2 px4-firmware-9ecec7fada7da3778c6214defcef68ea05352027.zip |
Add default initializers and timestamp in local position
Diffstat (limited to 'src/modules/uORB')
-rw-r--r-- | src/modules/uORB/topics/vehicle_local_position_setpoint.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/uORB/topics/vehicle_local_position_setpoint.h b/src/modules/uORB/topics/vehicle_local_position_setpoint.h index 8988a0330..6766bb58a 100644 --- a/src/modules/uORB/topics/vehicle_local_position_setpoint.h +++ b/src/modules/uORB/topics/vehicle_local_position_setpoint.h @@ -50,11 +50,12 @@ */ struct vehicle_local_position_setpoint_s { + uint64_t timestamp; /**< timestamp of the setpoint */ float x; /**< in meters NED */ float y; /**< in meters NED */ float z; /**< in meters NED */ float yaw; /**< in radians NED -PI..+PI */ -}; /**< Local position in NED frame to go to */ +}; /**< Local position in NED frame */ /** * @} |