-
Notifications
You must be signed in to change notification settings - Fork 162
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
How to get the cartesian position and rotation matrix corresponding to the robot base frame? #207
Comments
Hi @HeegerGao, I am not sure what you are looking for. In what context do you plan to use such information? In the User Guide, you will find many information the arm's reference frame and rotation matrix in the Guidance for advanced users->Reference frames and transformations section. Is that what you are looking for? Best, |
Thanks for your reply! I am sorry that I didn't make the question clear. I want to know the Cartesian position and Euler angles of the camera (the one on the arm) at any time. For now, I can only get positions of each joint of the arm. Since the camera is not at the same position as joint 6 (end effector), I don't know how to get the cartesian position of the camera. For example, if I want to get the position and Euler angles of the end effector, I will use |
Ok, I understand. I could refer the issue #46 which led to PR #82. In your code, you should be able to get these values using tf2 (using those links). You cannot get the cameras origin directly from the API. You would need to compute the position of the cameras based on the I will mention that this fix was only added for 7dof arms. I will update the xacro file for the 6dof. Regards, |
Thank you very much. It solved my question. |
Hi, I'd like to know how to read the cartesian position and rotation matrix corresponding to the robot base frame. Is there any ros topic responsible for this, or can we calculate them from some other information? Thank you very much!
The text was updated successfully, but these errors were encountered: