Skip to content

Commit

Permalink
Update src/modules/fw_att_control/FixedwingAttitudeControl.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Silvan Fuhrer <[email protected]>
  • Loading branch information
Jaeyoung-Lim and sfuhrer authored Aug 8, 2024
1 parent 9592a1f commit af85ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/fw_att_control/FixedwingAttitudeControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ void FixedwingAttitudeControl::Run()
/* Run attitude controllers */

if (_vcontrol_mode.flag_control_attitude_enabled && _in_fw_or_transition_wo_tailsitter_transition) {
Eulerf setpoint(Quatf(_att_sp.q_d));
const Eulerf setpoint(Quatf(_att_sp.q_d));
float roll_body = setpoint.phi();
float pitch_body = setpoint.theta();

Expand Down

0 comments on commit af85ec6

Please sign in to comment.