Skip to content

Commit

Permalink
addressed PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
oravla5 committed Oct 15, 2024
1 parent fa6f14b commit 43c7aa8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ bool FlightTaskTransition::isVtolBackTransition() const

float FlightTaskTransition::computeBackTranstionPitchSetpoint()
{
const vehicle_local_position_s local_pos = _sub_vehicle_local_position.get();
const position_setpoint_s current_pos_sp = _sub_position_sp_triplet.get().current;
const vehicle_local_position_s &local_pos = _sub_vehicle_local_position.get();
const position_setpoint_s &current_pos_sp = _sub_position_sp_triplet.get().current;

// Retrieve default decelaration setpoint
const float default_deceleration_sp = _param_vt_b_dec_mss;
Expand Down

0 comments on commit 43c7aa8

Please sign in to comment.