Skip to content

Commit

Permalink
Merge pull request #3922 from rajat2004/rotorstates-const-ref
Browse files Browse the repository at this point in the history
Change getRotorStates to return const ref
  • Loading branch information
Jonathan authored Aug 9, 2021
2 parents e1d95f2 + fd774a3 commit e6070de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ namespace airlib
float obs_avoidance_vel, const Vector3r& origin, float xy_length, float max_z, float min_z);

/************************* high level status APIs *********************************/
RotorStates getRotorStates() const
const RotorStates& getRotorStates() const
{
return rotor_states_;
}
Expand Down

0 comments on commit e6070de

Please sign in to comment.