class CartesianWaypoint

June 4, 2021 ยท View on GitHub

Member values

Member nameData typeDescription
posePoseTarget Cartesian Pose
reference_frameuint32The reference frame used for the goal Pose
maximum_linear_velocityfloat32Maximum linear velocity (in m/s) during movement (optional)
maximum_angular_velocityfloat32Maximum angular velocity (in deg/s) during movement (optional)
blending_radiusfloat32Blending radius (in m) to use for the movement (if this waypoint is not an endpoint).

Member functions

Function nameReturn typeInput typeDescription
has_pose() constboolvoidReturns true if pose is set.
pose()const Pose&voidReturns the current value of pose. If pose is not set, returns a Pose with none of its fields set (possibly pose::default_instance()).
mutable_pose()Pose *voidReturns a pointer to the mutable Pose object that stores the field's value. If the field was not set prior to the call, then the returned Pose will have none of its fields set (i.e. it will be identical to a newly-allocated Pose). After calling this, has_pose() will return true and pose() will return a reference to the same instance of Pose.
clear_pose()voidvoidClears the value of the field. After calling this, has_pose() will return false and pose() will return the default value.
set_allocated_pose()voidPose *Sets the Pose object to the field and frees the previous field value if it exists. If the Pose pointer is not NULL, the message takes ownership of the allocated Pose object and has_ Pose() will return true. Otherwise, if the pose is NULL, the behavior is the same as calling clear_pose().
release_pose()Pose *voidReleases the ownership of the field and returns the pointer of the Pose object. After calling this, caller takes the ownership of the allocated Pose object, has_pose() will return false, and pose() will return the default value.
reference_frame() constuint32voidReturns the current value of reference_frame. If the reference_frame is not set, returns 0.
set_reference_frame()voiduint32Sets the value of reference_frame. After calling this, reference_frame() will return value.
clear_reference_frame()voidvoidClears the value of reference_frame. After calling this, reference_frame() will return the empty string/empty bytes.
maximum_linear_velocity()float32voidReturns the current value of maximum_linear_velocity. If the maximum_linear_velocity is not set, returns 0.
set_maximum_linear_velocity()voidfloat32Sets the value of maximum_linear_velocity. After calling this, maximum_linear_velocity() will return value.
clear_maximum_linear_velocity()voidvoidClears the value of maximum_linear_velocity. After calling this, maximum_linear_velocity() will return 0.
maximum_angular_velocity()float32voidReturns the current value of maximum_angular_velocity. If the maximum_angular_velocity is not set, returns 0.
set_maximum_angular_velocity()voidfloat32Sets the value of maximum_angular_velocity. After calling this, maximum_angular_velocity() will return value.
clear_maximum_angular_velocity()voidvoidClears the value of maximum_angular_velocity. After calling this, maximum_angular_velocity() will return 0.
blending_radius()float32voidReturns the current value of blending_radius. If the blending_radius is not set, returns 0.
set_blending_radius()voidfloat32Sets the value of blending_radius. After calling this, blending_radius() will return value.
clear_blending_radius()voidvoidClears the value of blending_radius. After calling this, blending_radius() will return 0.

Parent topic: Base (C++)