mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 06:53:34 +08:00
fw_controller testing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user