High level mecanum robot controller library
Dependents: WRS2021_mecanum_driver
Diff: mecanum_controller.hpp
- Revision:
- 1:26c16fb42252
- Parent:
- 0:25bde5ebdd82
- Child:
- 2:bc2e5034dda7
diff -r 25bde5ebdd82 -r 26c16fb42252 mecanum_controller.hpp --- a/mecanum_controller.hpp Mon Aug 23 17:01:26 2021 +0000 +++ b/mecanum_controller.hpp Wed Aug 25 08:52:40 2021 +0000 @@ -17,7 +17,7 @@ class Pose2D { public: - Pose2D(double x, double y, double theta) : x(x), y(y), theta(theta) + Pose2D(double x=0, double y=0, double theta=0) : x(x), y(y), theta(theta) { } Pose2D(double x, double y, double theta, double time) : x(x), y(y), theta(theta), time_stamp(time)