From 078fe06b0200cc5fa1bc4f49ee1a379da3e33248 Mon Sep 17 00:00:00 2001
From: C-Glick <colton.glick@gmail.com>
Date: Tue, 5 Apr 2022 20:09:22 -0500
Subject: [PATCH] Added new logging values to default logging blocks

---
 crazyflie_groundstation/loggingBlocks.txt | 33 ++++++++++++++++-------
 1 file changed, 24 insertions(+), 9 deletions(-)

diff --git a/crazyflie_groundstation/loggingBlocks.txt b/crazyflie_groundstation/loggingBlocks.txt
index ce1bfd9ea..a21c95396 100644
--- a/crazyflie_groundstation/loggingBlocks.txt
+++ b/crazyflie_groundstation/loggingBlocks.txt
@@ -1,3 +1,4 @@
+# angle measurement, degrees
 START BLOCK
 0
 stateEstimate
@@ -7,30 +8,44 @@ stateEstimate.pitch
 stateEstimate.yaw
 END BLOCK
 
+# rate of change of attitude, degrees/second
 START BLOCK
 1
 attitudeRate
 150
-gyro.x
-gyro.y
-gyro.z
+ctrlStdnt.r_roll
+ctrlStdnt.r_pitch
+ctrlStdnt.r_yaw
 END BLOCK
 
+# rate setpoints that are given to the crazyflie
 START BLOCK
 2
 Rate Setpoints
-200
+50
 ctrlStdnt.rollRate
 ctrlStdnt.pitchRate
 ctrlStdnt.yawRate
 END BLOCK
 
+# angle setpoints that are given to the crazyflie
 #START BLOCK
 #3
-#stabilizer
-#30
-#stabilizer.roll
-#stabilizer.pitch
-#stabilizer.yaw
+#Rate Setpoints
+#50
+#ctrlStdnt.roll
+#ctrlStdnt.pitch
+#ctrlStdnt.yaw
+#END BLOCK
+
+# output of the rate pid controller sent to the power distribution module
+#START BLOCK
+#4
+#pid output
+#100
+#ctrlStdnt.cmd_thrust
+#ctrlStdnt.cmd_roll
+#ctrlStdnt.cmd_pitch
+#ctrlStdnt.cmd_yaw
 #END BLOCK
 
-- 
GitLab