Skip to content

Commit b49e86e

Browse files
committed
make Pose member functions const
1 parent 1b172d1 commit b49e86e

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

include/units/Pose.hpp

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,7 @@ template <typename derivatives> class AbstractPose
7070
*
7171
* @return Angle orientation
7272
*/
73-
Divided<Angle, Exponentiated<Time, derivatives>> getOrientation() { return orientation; }
74-
75-
/**
76-
* @brief Set the orientation
77-
*
78-
* @param orientation orientation
79-
*/
80-
void setOrientation(Divided<Angle, Exponentiated<Time, derivatives>> orientation) {
81-
this->orientation = orientation;
82-
}
73+
Divided<Angle, Exponentiated<Time, derivatives>> getOrientation() const { return orientation; }
8374
};
8475

8576
// Position Pose (Length, Angle)

0 commit comments

Comments
 (0)