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
{{ message }}
Repository navigation
One of joints turns too quickly in servo mode #2165
When I move end effector of my arm horizontally, one of joints (last in chain, joint which connects arm and gripper) turns too quickly, moves to end position and blocks arm. This joint have different from other joints maximum speed. In MoveGroup mode it works this problem not reproduces. What can I do to fix it? Thank you.
My environment
ROS Distro: Humble
OS Version: Ubuntu 22.04
Binary build?
Moveit 2.5.4
Cyclone DDS
Steps to reproduce
It can be reproduced only on my real hardware, not virtually.
Expected behaviour
End effector must keep orientation, but it turns left when I move hand right
Problem not in moves to end position and blocks arm. Problem is that end effector must keep orientation, in this case it should be centered on image, but one of joints turned left and end effector turned left. I'll make video of in tomorrow and show you
(i cannot reproduce it now, I need real robot to do it, and it stands in office)
Does moveit support sub-6-dof arms? We tried to use only 5 joints, but we have been forced to install one more joint by troubles with movegroup and servo both
it's supported in that the software will run but you probably won't be able to track a full 6-dof pose. Very unlikely, at least. That's nothing to do with MoveIt, it's just physics.
I don't have any ideas on your problem at the moment. Are you getting any warnings in terminal? What's your condition threshold set to in the yaml?
When I move end effector of my arm horizontally, one of joints (last in chain, joint which connects arm and gripper) turns too quickly, moves to end position and blocks arm.
What type of commands are you sending to Servo ? (JointJog / Twist )?
Problem is that end effector must keep orientation, in this case it should be centered on image, but one of joints turned left and end effector turned left.
If you are sending JointJog or Twist, the robot simply takes single steps at each iteration, trying to reach the expected joint position.
As far as I understand , this computation does not try to maintain an end effector pose.
If moving while maintaining end-effector pose is what you need, perhaps servoing using the PoseTracker is the way to go for you
What do you think @AndyZe ?
Thank you. I realised that this is hardware problem, but not a problem of moveit. Sorry for disturb. This problem exists when some of motors have too low velocity limit, and forward controller of servo does not check feedback and does not corrects other joints. I fixed my hardware, unlocked bigger velocities for all joints and now it works
Activity
andrey-pr commentedon May 11, 2023
@AndyZe do you have any ideas?
AndyZe commentedon May 11, 2023
TBH it sounds like expected behavior. Servo is kind of dumb in that it only looks one step ahead; it is not able to predict something like this:
moves to end position and blocks armandrey-pr commentedon May 11, 2023
Problem not in
moves to end position and blocks arm. Problem is that end effector must keep orientation, in this case it should be centered on image, but one of joints turned left and end effector turned left. I'll make video of in tomorrow and show you(i cannot reproduce it now, I need real robot to do it, and it stands in office)
AndyZe commentedon May 11, 2023
is it a 6-dof arm?
andrey-pr commentedon May 11, 2023
yes
AndyZe commentedon May 11, 2023
OK, that's good
andrey-pr commentedon May 11, 2023
Does moveit support sub-6-dof arms? We tried to use only 5 joints, but we have been forced to install one more joint by troubles with movegroup and servo both
AndyZe commentedon May 11, 2023
it's supported in that the software will run but you probably won't be able to track a full 6-dof pose. Very unlikely, at least. That's nothing to do with MoveIt, it's just physics.
I don't have any ideas on your problem at the moment. Are you getting any warnings in terminal? What's your condition threshold set to in the yaml?
andrey-pr commentedon May 11, 2023
I don't see any warnings. I'll make video of issue in rviz tomorrow
andrey-pr commentedon May 11, 2023
It can be issue by my custom robot driver, but its unlikely
andrey-pr commentedon May 12, 2023
Hallo. I made video of it. https://file.io/fWXQss3YKWCu here is videos with rviz and with real robot. I sent on arm command to move linearly, so on video with rviz hand must move horizontally on screen without spinning, but it spins backward
andrey-pr commentedon May 16, 2023
@AndyZe have you any advice what to do with it?
ibrahiminfinite commentedon May 18, 2023
@andrey-pr
What type of commands are you sending to Servo ? (JointJog / Twist )?
If you are sending JointJog or Twist, the robot simply takes single steps at each iteration, trying to reach the expected joint position.
As far as I understand , this computation does not try to maintain an end effector pose.
If moving while maintaining end-effector pose is what you need, perhaps servoing using the
PoseTrackeris the way to go for youWhat do you think @AndyZe ?
AndyZe commentedon May 18, 2023
If you send a Twist command with zero rotational velocities, the orientation shouldn't change. That would be a pretty bad bug
Can I watch the video again @andrey-pr ? Looks like the file got deleted
andrey-pr commentedon May 19, 2023
Thank you. I realised that this is hardware problem, but not a problem of moveit. Sorry for disturb. This problem exists when some of motors have too low velocity limit, and forward controller of servo does not check feedback and does not corrects other joints. I fixed my hardware, unlocked bigger velocities for all joints and now it works