JointTolerance class final

The tolerances specify the amount the position, velocity, and accelerations can vary from the setpoints. For example, in the case of trajectory control, when the actual position varies beyond (desired position + position tolerance), the trajectory goal may abort.

There are two special values for tolerances:

  • 0 - The tolerance is unspecified and will remain at whatever the default is
  • -1 - The tolerance is "erased". If there was a default, the joint will be allowed to move without restriction.

control_msgs/msg/JointTolerance

Constructors

JointTolerance({String name = '', double position = 0, double velocity = 0, double acceleration = 0})
const
JointTolerance.fromJson(Map<String, Object?> json)
factory

Properties

acceleration → double
in rad/sec^2 or m/sec^2
final
hashCode → int
The hash code for this object.
no setteroverride
name → String
final
position → double
in radians or meters (for a revolute or prismatic joint, respectively)
final
rosType → String
The fully qualified ROS type name, e.g. geometry_msgs/msg/Twist.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
velocity → double
in rad/sec or m/sec
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
The rosbridge JSON representation of this message.
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override