diff --git a/crazyflie/scripts/crazyflie_server.py b/crazyflie/scripts/crazyflie_server.py index 90c476313..b47c636af 100755 --- a/crazyflie/scripts/crazyflie_server.py +++ b/crazyflie/scripts/crazyflie_server.py @@ -543,7 +543,7 @@ def _log_odom_data_callback(self, timestamp, data, logconf, uri): pitch = radians(data.get('stabilizer.pitch')) vx = data.get('kalman.statePX') vy = data.get('kalman.statePY') - vz = data.get('kalman.statePY') + vz = data.get('kalman.statePZ') yawrate = data.get('gyro.z') rollrate = data.get('gyro.x') pitchrate = data.get('gyro.y')