You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
For a JTC defined in a continuous joint, if I send a /follow_joint_trajetory goal, joints stop moving before reaching the setpoint and action is given as SUCCEED.
To Reproduce
Steps to reproduce the behavior:
Define a JTC for a continuous joint
Send a FollowJointTrajectory goal (more than a turn) to the JTC
Wait for action completion
See the error
Expected behavior
I expect the joint to move until the setpoint is reach
Screenshots
N/A
Environment (please complete the following information):
OS: [Ubuntu 22.04]
Version [Humble]
Gazebo Fortress with ign_ros2_control
Additional context
N/A
The text was updated successfully, but these errors were encountered:
what do you mean by "more than a turn"? May it be that you need a revolute joint instead of a continuous one?
Like sending ~160 rad to a joint.
Investigating it further, in the urdf the joint has the velocity limited to 5 rad/s and I was using 2 sec as time_from_start. I believe some timeout is happening, making the goal succeed after 2 sec. Is it the expected behavior if I set no goal constraints?
If the rotation of a joint has a meaning above 360degrees, then you should use revolute instead of continuous, because the latter one automatically wraps the setpoints around.
It depends on your parameters or tolerances in the trajectory message. With the default values (constraints.goal_time=0.0, constraints..goal=0.0, and constraints.stopped_velocity_tolerance=0.01), it will wait an infinite amount of time to reach a velocity below 0.01rad/s. But only if you have velocity state interfaces, otherwise it succeeds immediately after 2s.
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
For a JTC defined in a continuous joint, if I send a /follow_joint_trajetory goal, joints stop moving before reaching the setpoint and action is given as SUCCEED.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the joint to move until the setpoint is reach
Screenshots
N/A
Environment (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: