-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URSIM and RVIZ coordinates does not match #570
Comments
Please note that there are two coordinate frames: I'll add some more elaborate description of how and why in the description (see UniversalRobots/Universal_Robots_ROS2_Description#49), but for now this should explain the discrepancy. When setting your reference frame in RViz to What you see on the TP is not euler angles, but a rotation vector representation. When you click on one of the fields in the "move" tab, you'll enter the a mask where you can specify a target point. Here, you can select the rotation representation. Set that to "RPY" Now, when we look at the transform in ROS, you'll see that both, position and orientation, do match if we select
|
Hi @fmauch, I finally understood this:
And the UR moves to that RPY orientation. But this: I could not solve it, because each time I try to change from world to base, my rviz crashes, it doesn't matter if I change it while RVIZ is open or before open it changing the view_robot.rviz file. So I,m not able to do it correctly yet. Meanwhile, I have another question. I dont really know to make the robot make "normal moves" because, each time I try to move it It does some crazy moves. I try to change joint limits, but it doesn't seem to work propperly. I dont know if you have any tip to do this. Because I need to do some precise moves like moving a glass of water to two different possitions and I cannot test this until I fix it in the URSIM. The planner that I am always using and it always connect is: geometric::RRTConnect Thanks in advance |
hi @marioesteban11, I am also working on URSim with Moveit2, I am using galactic and ubuntu20 for my environment. I couldn't initial the "pointer" in Rviz to move the manipulator, is it automatically show up when you start Rviz with Moveit? |
What do you mean when you say "pointer in RVIZ? Do you mean the "fixed frame" or anything else? |
sorry, the pointer I am referring to is about the interactive marker, when I follow the commands to launch the Moveit example, no interactive marker shows up, and a warning says that the scene cannot be initialised. I have created an issue but no help so far #575 |
set the reference frame by following code
|
@marioesteban11 I have a question about how did you get the robot position in Rviz like following?
thank you in advance. |
As the original question was answered in #570 (comment) I'll close this issue. |
Hi everyone,
I'm in ROS2 Humble, Ubuntu 22.04 and using UR3e robot
Im using Moveit and URSIM to move an ur3e robot, but I see that coordinates in both simulators does not match.
Both of them are suposed to be in the same position:
x = 0.12522;
y = 0.13587;
z = 0.51750;
IT seems that X and Y coordinates are denied and Z seems to be correctly.
But my problem comes with orientation. I Know that ROS works with quaternions, but UR works with euler angles, if I'm not wrong.
I was wondering, if there is a missmatch between position coordinate, how can I know if my orientation are well done or I have to do something else to fix orientations. Thanks in advance.
The text was updated successfully, but these errors were encountered: