49 Errors(
const std::array<bool, 37>& errors);
56 explicit operator bool()
const noexcept;
65 explicit operator std::string()
const;
const bool & cartesian_motion_generator_joint_velocity_discontinuity
True if the joint velocity in Cartesian motion generators is discontinuous after IK calculation...
const bool & cartesian_motion_generator_elbow_limit_violation
True if an external Cartesian motion generator would move into an elbow limit.
const bool & cartesian_motion_generator_joint_velocity_limits_violation
True if the joint velocity limits would be exceeded after IK calculation.
const bool & force_control_safety_violation
True if the robot exceeded safety threshold during force control.
const bool & controller_torque_discontinuity
True if the torque set by the external controller is discontinuous.
const bool & joint_motion_generator_velocity_discontinuity
True if commanded velocity in joint motion generators is discontinuous (target values are too far apa...
const bool & communication_constraints_violation
True if minimum network communication quality could not be held during a motion.
const bool & cartesian_position_motion_generator_start_pose_invalid
True if an external Cartesian position motion generator was started with a pose too far from the curr...
const bool & joint_reflex
True if a collision was detected, i.e. the robot exceeded a torque threshold in a joint motion...
const bool & self_collision_avoidance_violation
True if the robot would have collided with itself.
const bool & cartesian_motion_generator_start_elbow_invalid
True if the first elbow value in Cartesian motion generators is too far from initial one...
const bool & cartesian_velocity_violation
True if the robot exceeded Cartesian velocity limits.
Errors()
Creates an empty Errors instance.
const bool & cartesian_motion_generator_velocity_limits_violation
True if an external Cartesian motion generator would move with too high velocity. ...
Enumerates errors that can occur while controlling a franka::Robot.
const bool & joint_position_motion_generator_start_pose_invalid
True if an external joint position motion generator was started with a pose too far from the current ...
Errors & operator=(Errors other)
Assigns this Errors instance from another Errors value.
const bool & joint_motion_generator_position_limits_violation
True if an external joint motion generator would move into a joint limit.
const bool & cartesian_motion_generator_joint_position_limits_violation
True if the joint position limits would be exceeded after IK calculation.
const bool & cartesian_motion_generator_velocity_discontinuity
True if commanded velocity in Cartesian motion generators is discontinuous (target values are too far...
std::array< bool, 37 > errors_
const bool & cartesian_motion_generator_joint_acceleration_discontinuity
True if the joint acceleration in Cartesian motion generators is discontinuous after IK calculation...
const bool & joint_move_in_wrong_direction
True if the robot is in joint position limits violation error and the user guides the robot further t...
const bool & max_path_pose_deviation_violation
True if internal motion generator deviated from the path.
const bool & cartesian_position_limits_violation
True if the robot moved past any of the virtual walls.
const bool & cartesian_position_motion_generator_invalid_frame
True if the Cartesian pose is not a valid transformation matrix.
const bool & cartesian_motion_generator_acceleration_discontinuity
True if commanded acceleration in Cartesian motion generators is discontinuous (target values are too...
const bool & cartesian_velocity_profile_safety_violation
True if Cartesian velocity profile for internal motions was exceeded.
const bool & joint_p2p_insufficient_torque_for_planning
True if the robot is overloaded for the required motion.
const bool & max_goal_pose_deviation_violation
True if internal motion generator did not reach the goal pose.
const bool & joint_motion_generator_acceleration_discontinuity
True if commanded acceleration in joint motion generators is discontinuous (target values are too far...
const bool & joint_position_limits_violation
True if the robot moved past the joint limits.
const bool & force_controller_desired_force_tolerance_violation
True if desired force exceeds the safety thresholds.
const bool & power_limit_violation
True if commanded values would result in exceeding the power limit.
const bool & cartesian_reflex
True if a collision was detected, i.e. the robot exceeded a torque threshold in a Cartesian motion...
const bool & joint_motion_generator_velocity_limits_violation
True if an external joint motion generator exceeded velocity limits.
std::ostream & operator<<(std::ostream &ostream, const Errors &errors)
Streams the errors as JSON array.
const bool & instability_detected
True if an instability is detected.
const bool & joint_velocity_violation
True if the robot exceeded joint velocity limits.
const bool & cartesian_motion_generator_elbow_sign_inconsistent
True if commanded elbow values in Cartesian motion generators are inconsistent.
const bool & start_elbow_sign_inconsistent
True if the start elbow sign was inconsistent.
const bool & tau_j_range_violation
True if the measured torque signal is out of the safe range.