Skip to content

Commit

Permalink
make Pose member functions const
Browse files Browse the repository at this point in the history
  • Loading branch information
SizzinSeal committed Dec 27, 2024
1 parent 1b172d1 commit b49e86e
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions include/units/Pose.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,7 @@ template <typename derivatives> class AbstractPose
*
* @return Angle orientation
*/
Divided<Angle, Exponentiated<Time, derivatives>> getOrientation() { return orientation; }

/**
* @brief Set the orientation
*
* @param orientation orientation
*/
void setOrientation(Divided<Angle, Exponentiated<Time, derivatives>> orientation) {
this->orientation = orientation;
}
Divided<Angle, Exponentiated<Time, derivatives>> getOrientation() const { return orientation; }
};

// Position Pose (Length, Angle)
Expand Down

0 comments on commit b49e86e

Please sign in to comment.