aboutsummaryrefslogtreecommitdiff
path: root/msg
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-12-08 10:37:01 +0100
committerThomas Gubler <thomasgubler@gmail.com>2014-12-08 10:37:01 +0100
commit87df7c3243412d4fc7a0c40967b2abe078f7a0b2 (patch)
tree63e442c07a3e709ab76f456f366f437c0552d700 /msg
parent65629d09d5e2424c6fcaf261c95f6d6995c4afd7 (diff)
downloadpx4-firmware-87df7c3243412d4fc7a0c40967b2abe078f7a0b2.tar.gz
px4-firmware-87df7c3243412d4fc7a0c40967b2abe078f7a0b2.tar.bz2
px4-firmware-87df7c3243412d4fc7a0c40967b2abe078f7a0b2.zip
move vehicle_attitude_setpoint to msg format
Diffstat (limited to 'msg')
-rw-r--r--msg/px4_msgs/vehicle_attitude_setpoint.msg21
1 files changed, 21 insertions, 0 deletions
diff --git a/msg/px4_msgs/vehicle_attitude_setpoint.msg b/msg/px4_msgs/vehicle_attitude_setpoint.msg
new file mode 100644
index 000000000..1a8e6e3d5
--- /dev/null
+++ b/msg/px4_msgs/vehicle_attitude_setpoint.msg
@@ -0,0 +1,21 @@
+
+uint64 timestamp # in microseconds since system start, is set whenever the writing thread stores new data
+
+float32 roll_body # body angle in NED frame
+float32 pitch_body # body angle in NED frame
+float32 yaw_body # body angle in NED frame
+
+float32[9] R_body # Rotation matrix describing the setpoint as rotation from the current body frame
+bool R_valid # Set to true if rotation matrix is valid
+
+# For quaternion-based attitude control
+float32[4] q_d # Desired quaternion for quaternion control
+bool q_d_valid # Set to true if quaternion vector is valid
+float32[4] q_e # Attitude error in quaternion
+bool q_e_valid # Set to true if quaternion error vector is valid
+
+float32 thrust # Thrust in Newton the power system should generate
+
+bool roll_reset_integral # Reset roll integral part (navigation logic change)
+bool pitch_reset_integral # Reset pitch integral part (navigation logic change)
+bool yaw_reset_integral # Reset yaw integral part (navigation logic change)