Go to the documentation of this file.
17 #include "PB_PathPose.hpp"
34 bool bypass_antiblocking=
false,
54 ) { allow_reverse_ = enable; };
60 virtual uint32_t
timeout_ms()
const {
return timeout_ms_; }
67 const PB_PathPose &path_pose
72 PB_PathPose &path_pose
78 areDoublesEqual(
x(), other.
x()) &&
79 areDoublesEqual(
y(), other.
y()) &&
80 areDoublesEqual(
O(), other.
O()) &&
91 double max_speed_ratio_linear_;
92 double max_speed_ratio_angular_;
94 bool bypass_anti_blocking_;
96 bool bypass_final_orientation_;
virtual ~Pose()
Destructor.
double y(void) const
Return Y coordinate.
virtual double max_speed_ratio_angular() const
Return max speed angular.
virtual uint32_t timeout_ms() const
Return timeout to reach the pose, 0 if timeout should be disabled.
virtual void set_allow_reverse(bool enable)
Enable or disable reverse mode.
Position class as used in Path.
bool operator==(const Pose &other)
Override operator ==.
Differential drive controller.
virtual bool allow_reverse() const
Is reverse mode allowed or not.
void pb_read(const PB_PathPose &path_pose)
Initialize the object from a Protobuf message.
virtual bool bypass_anti_blocking() const
Return true if anti blocking should be bypassed.
void pb_copy(PB_PathPose &path_pose) const
Copy object to a Probobuf message.
virtual bool bypass_final_orientation() const
Return true if final orientation should be bypassed.
double O(void) const
Return 0-orientation.
virtual double max_speed_ratio_linear() const
Return max speed linear.
Pose(double x=0.0, double y=0.0, double O=0.0, double max_speed_ratio_linear=0.0, double max_speed_ratio_angular=0.0, bool allow_reverse=true, bool bypass_antiblocking=false, uint32_t timeout_ms=0, bool bypass_final_orientation=false)
Constuctor.
double x(void) const
Return X coordinate.