Skip to content
Snippets Groups Projects
Commit 9b3e4c86 authored by Simon Gabl's avatar Simon Gabl
Browse files

Added three new errors to franka_msgs::Errors.

parent 29ed2e39
Branches
Tags
No related merge requests found
......@@ -120,6 +120,13 @@ franka_msgs::Errors errorsToMessage(const franka::Errors& error) {
error.communication_constraints_violation);
message.power_limit_violation =
static_cast<decltype(message.power_limit_violation)>(error.power_limit_violation);
message.joint_p2p_insufficient_torque_for_planning =
static_cast<decltype(message.joint_p2p_insufficient_torque_for_planning)>(
error.joint_p2p_insufficient_torque_for_planning);
message.tau_j_range_violation =
static_cast<decltype(message.tau_j_range_violation)>(error.tau_j_range_violation);
message.instability_detected =
static_cast<decltype(message.instability_detected)>(error.instability_detected);
return message;
}
......
......@@ -31,3 +31,6 @@ bool controller_torque_discontinuity
bool start_elbow_sign_inconsistent
bool communication_constraints_violation
bool power_limit_violation
bool joint_p2p_insufficient_torque_for_planning
bool tau_j_range_violation
bool instability_detected
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment