log velocity - and acceleration/thrust setpoint

This commit is contained in:
tumbili
2015-02-07 17:45:06 +01:00
parent b25808467c
commit da5d5a5712
4 changed files with 42 additions and 18 deletions
+6
View File
@@ -1536,6 +1536,12 @@ int sdlog2_thread_main(int argc, char *argv[])
log_msg.body.log_LPSP.y = buf.local_pos_sp.y;
log_msg.body.log_LPSP.z = buf.local_pos_sp.z;
log_msg.body.log_LPSP.yaw = buf.local_pos_sp.yaw;
log_msg.body.log_LPSP.vx = buf.local_pos_sp.vx;
log_msg.body.log_LPSP.vy = buf.local_pos_sp.vy;
log_msg.body.log_LPSP.vz = buf.local_pos_sp.vz;
log_msg.body.log_LPSP.acc_x = buf.local_pos_sp.acc_x;
log_msg.body.log_LPSP.acc_y = buf.local_pos_sp.acc_y;
log_msg.body.log_LPSP.acc_z = buf.local_pos_sp.acc_z;
LOGBUFFER_WRITE_AND_COUNT(LPSP);
}