Demo example of hybrid planning works fine on simulation with panda. However when testing on FR3 robot i get libfranka: Move command aborted: motion aborted by reflex! ["joint_velocity_violation"]
I believe it's due to high velocity of joint trajectory waypoints send to the robot from the local planner, specifically in local_constraints_solver (forward_trajectory) plugin from:
if (is_path_valid)
{
if (path_invalidation_event_send_)
{
path_invalidation_event_send_ = false; // Reset flag
}
// Forward next waypoint to the robot controller
robot_command.addSuffixWayPoint(local_trajectory.getWayPoint(0), 0.0); // line 124
}
According to my understanding, this is the final step between local planner finding the local solution and control commands sent to the robot.
is it possible to set the velocity of trajectory waypoints with this controller ? or i should use a velocity type of controller ?
and is I believe setting the duration of robot_command.addSuffixWayPoint(); can also impact the final trajectory of the robot, is there a way to set the appropriate duration between waypoints in a way that respect robot limits ?
This issue is being labeled as stale because it has been open 45 days with no activity. It will be automatically closed after another 45 days without follow-ups.
ROS Humble Ubuntu 22.04 FR3
Demo example of hybrid planning works fine on simulation with panda. However when testing on FR3 robot i get libfranka: Move command aborted: motion aborted by reflex! ["joint_velocity_violation"]
I believe it's due to high velocity of joint trajectory waypoints send to the robot from the local planner, specifically in local_constraints_solver (forward_trajectory) plugin from:
According to my understanding, this is the final step between local planner finding the local solution and control commands sent to the robot.
The simulation controller is of type :
According to joint_trajectory_controller doc I can not set the velocity of trajectory waypoint in case command_interface is position.
The controller I am using on the real robot is of type joint_trajectory_controller/JointTrajectoryController with the following config :
My questions are :
robot_command.addSuffixWayPoint();
can also impact the final trajectory of the robot, is there a way to set the appropriate duration between waypoints in a way that respect robot limits ?