fw_controller testing

This commit is contained in:
Thomas Gubler
2012-11-25 18:20:54 +01:00
parent dd05426002
commit 4366d9e319
5 changed files with 46 additions and 19 deletions
+1 -1
View File
@@ -300,7 +300,7 @@ handle_message(mavlink_message_t *msg)
//TODO: better clarification which app does this, atm we have a ekf for quadrotors which does this, but there is no such thing if fly in fixed wing mode
if(mavlink_system.type == MAV_TYPE_FIXED_WING) {
//TODO: asuming low pitch and roll for now
//TODO: assuming low pitch and roll values for now
hil_attitude.R[0][0] = cosf(hil_state.yaw);
hil_attitude.R[0][1] = sinf(hil_state.yaw);
hil_attitude.R[0][2] = 0.0f;