ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello @Irobo,

Can you please, check into RVIZ -> Global Options -> Fixed Frame: It should be always in World not to a specific link.

What I would suggest watch this Moveit 1 hr tutorial to have a basic idea of motion planning in Moveit.

How can I publish a specific position of a specific link which that link will be pointed to using /tf topic and display it in Rviz, it means the pose of that relative link will be updated

I don't know if I understand your question correctly, but I think you want to move the specific join of your robot and you want to view it into RVIZ or via terminal. If it is right then,

  1. If you want to move your robot-specific joints from RVIZ itself, then you have to have to add a motion planning tab into Rviz, and you have to go to the move joints tab you can easily move your particular joint. As in the given tutorial lhttp://moveit2_tutorials.picknik.ai/doc/quickstart_in_rviz/quickstart_in_rviz_tutorial.html. You just need to scroll your mouse in a specific join and you can execute the motion by going to the Planning tab and pressing the planning and execute button.

Note: this link is just for making you clear on how you can make your specific join move into your Rviz. Note you need to follow the previous move its tutorials if you are having any problem with Moveit.

  1. You can also move your robot-specific joint from code also and you will be able to view it into Rviz, for Python have a look over here or for cpp look here.

    joint_goal[0] = 1.91986 # Your radian coordinate in float.

Note: Over here if you want to move your robot's 0 joins to 110 degrees then you need to convert 110 to radian it's around 1.91986. If you execute your code then your joint 0 will move over here.

  1. I don't know why you required this coordinate for a specific join, I think it is of no use. But if you want this coordinate you can easily obtain it from /tf. You can get a specific link position with respect to your robot base position or world. For that you need to follow tf2 code.

    trans = tfBuffer.lookup_transform('robot-base or world', 'link-1', rospy.Time())

Over here you can get the transformation to respective things like Robot base or the world. but again this thing will specify the link position with respect base. And another thing if you need the robot current position you can get it from moveit

I hope this may be relevant to your solution. If you have any queries feel free to drop comment.

Hello @Irobo,

Can you please, check into RVIZ -> Global Options -> Fixed Frame: It should be always in World not to a specific link.

What I would suggest watch this Moveit 1 hr tutorial to have a basic idea of motion planning in Moveit.

How can I publish a specific position of a specific link which that link will be pointed to using /tf topic and display it in Rviz, it means the pose of that relative link will be updated

I don't know if I understand your question correctly, but I think you want to move the specific join of your robot and you want to view it into RVIZ or via terminal. If it is right then,

  1. A. If you want to move your robot-specific joints from RVIZ itself, then you have to have to add a motion planning tab into Rviz, and you have to go to the move joints tab you can easily move your particular joint. As in the given tutorial lhttp://moveit2_tutorials.picknik.ai/doc/quickstart_in_rviz/quickstart_in_rviz_tutorial.html. You just need to scroll your mouse in a specific join and you can execute the motion by going to the Planning tab and pressing the planning and execute button.

Note: this link is just for making you clear on how you can make your specific join move into your Rviz. Note you need to follow the previous move its tutorials if you are having any problem with Moveit.

  1. B. You can also move your robot-specific joint from code also and you will be able to view it into Rviz, for Python have a look over here or for cpp look here.

    joint_goal[0] = 1.91986 # Your radian coordinate in float.

float.

Note: Over here if you want to move your robot's 0 joins to 110 degrees then you need to convert 110 to radian it's around 1.91986. If you execute your code then your joint 0 will move over here.

  1. C. I don't know why you required this coordinate for a specific join, I think it is of no use. But if you want this coordinate you can easily obtain it from /tf. You can get a specific link position with respect to your robot base position or world. For that you need to follow tf2 code.

    trans = tfBuffer.lookup_transform('robot-base or world', 'link-1', rospy.Time())

rospy.Time())

Over here you can get the transformation to respective things like Robot base or the world. but again this thing will specify the link position with respect base. And another thing if you need the robot current position you can get it from moveit

I hope this may be relevant to your solution. If you have any queries feel free to drop comment.

Hello @Irobo,

Can you please, check into RVIZ -> Global Options -> Fixed Frame: It should be always in World not to a specific link.

What I would suggest watch this Moveit 1 hr tutorial to have a basic idea of motion planning in Moveit.

How can I publish a specific position of a specific link which that link will be pointed to using /tf topic and display it in Rviz, it means the pose of that relative link will be updated

I don't know if I understand your question correctly, but I think you want to move the specific join of your robot and you want to view it into RVIZ or via terminal. If it is right then,

A. If you want to move your robot-specific joints from RVIZ itself, then you have to have to add a motion planning tab into Rviz, and you have to go to the move joints tab you can easily move your particular joint. As in the given tutorial lhttp://moveit2_tutorials.picknik.ai/doc/quickstart_in_rviz/quickstart_in_rviz_tutorial.html. You just need to scroll your mouse in a specific join and you can execute the motion by going to the Planning tab and pressing the planning and execute button.

Note: this link is just for making you clear on how you can make your specific join move into your Rviz. Note you need to follow the previous move its tutorials if you are having any problem with Moveit.

B. You can also move your robot-specific joint from code also and you will be able to view it into Rviz, for Python have a look over here or for cpp look here.

joint_goal[0] = 1.91986 # Your radian coordinate in float.

Note: Over here if you want to move your robot's 0 joins to 110 degrees then you need to convert 110 to radian it's around 1.91986. If you execute your code then your joint 0 will move over here.

C. I don't know why you required this coordinate for a specific join, I think it is of no use. But if you want this coordinate you can easily obtain it from /tf. You can get a specific link position with respect to your robot base position or world. For that you need to follow tf2 code.

trans = tfBuffer.lookup_transform('robot-base or world', 'link-1', rospy.Time())

Over here you can get the transformation to respective things like Robot base or the world. but again this thing will specify the link position with respect base. And another thing if you need the robot current position you can get it from moveit

I hope this may be relevant to your solution. If you have any queries feel free to drop comment.

Hello @Irobo,

Can you please, check into RVIZ -> Global Options -> Fixed Frame: It should be always in World not to a specific link.

What I would suggest watch this Moveit 1 hr tutorial to have a basic idea of motion planning in Moveit.

How can I publish a specific position of a specific link which that link will be pointed to using /tf topic and display it in Rviz, it means the pose of that relative link will be updated

I don't know if I understand your question correctly, but I think you want to move the specific join of your robot and you want to view it into RVIZ or via terminal. If it is right then,

A. If you want to move your robot-specific joints from RVIZ itself, then you have to have to add a motion planning tab into Rviz, and you have to go to the move joints tab you can easily move your particular joint. As in the given tutorial lhttp://moveit2_tutorials.picknik.ai/doc/quickstart_in_rviz/quickstart_in_rviz_tutorial.html. You just need to scroll your mouse in a specific join and you can execute the motion by going to the Planning tab and pressing the planning and execute button.

Note: this link is just for making you clear on how you can make your specific join move into your Rviz. Note you need to follow the previous move its tutorials if you are having any problem with Moveit.

B. You can also move your robot-specific joint from code also and you will be able to view it into Rviz, for Python have a look over here or for cpp look here.

joint_goal[0] = 1.91986 # Your radian coordinate in float.

Note: Over here if you want to move your robot's 0 joins to 110 degrees then you need to convert 110 to radian it's around 1.91986. If you execute your code then your joint 0 will move over here.

C. I don't know why you required this coordinate for a specific join, I think it is of no use. But if you want this coordinate you can easily obtain it from /tf. You can get a specific link position with respect to your robot base position or world. For that you need to follow tf2 code.

trans = tfBuffer.lookup_transform('robot-base or world', 'link-1', rospy.Time())

Over here you can get the transformation to respective things like Robot base or the world. but again this thing will specify the link position with respect base. base I don't think that may be important but if you want that then you can get it by using TF2. And another thing if you need the robot current position you can get it from moveit

I hope this may be relevant to your solution. If you have any queries feel free to drop comment.

Hello @Irobo,

Can you please, check into RVIZ -> Global Options -> Fixed Frame: It should be always in World not to a specific link.

What I would suggest watch watching this Moveit 1 hr tutorial to have a basic idea of motion planning in Moveit.

How can I publish a specific position of a specific link which that link will be pointed to using /tf topic and display it in Rviz, it means the pose of that relative link will be updated

I don't know if I understand your question correctly, but I think you want to move the your robot's specific join of your robot and you want to and view it into RVIZ or via terminal. If it is right then,

A. If you want to move your robot-specific joints from RVIZ itself, then you have to you have to add a motion planning tab into Rviz, and you have to go to the move joints tab you can easily move your particular joint. As in the given tutorial lhttp://moveit2_tutorials.picknik.ai/doc/quickstart_in_rviz/quickstart_in_rviz_tutorial.html. You just need to scroll your mouse in a specific join join, and you can execute the motion by going to the Planning tab and pressing the planning and execute button.

Note: this link is just for making you clear on to clarify how you can make your specific join move into your Rviz. Note you need to follow the previous move its tutorials if you are having any problem with Moveit.

B. You can also move your robot-specific joint from code also code, and you will be able to view it into Rviz, for Python have a look over here or for cpp look here.

joint_goal[0] = 1.91986 # Your radian coordinate in float.

Note: Over here here, if you want to move your robot's 0 joins to 110 degrees degrees, then you need to convert 110 to radian radian; it's around 1.91986. If you execute your code code, then your joint 0 will move over here.

C. I don't know why you required this coordinate for a specific join, join. I think it is of no use. But if you want this coordinate coordinate, you can easily obtain it from /tf. You can get a specific link position with respect to your robot base position or world. For that that, you need to follow tf2 code.

trans = tfBuffer.lookup_transform('robot-base or world', 'link-1', rospy.Time())

Over here you can get the transformation to respective things like Robot base or the world. but again But again, this thing will specify the link position with respect base base. I don't think that may be important important, but if you want that that, then you can get it by using TF2. And another thing if you need the robot current position you can get it from moveit

I hope this may be relevant to your solution. If you have any queries feel free to drop a comment.

Hello @Irobo,

Can you please, check into RVIZ -> Global Options -> Fixed Frame: It should be always in World or to robot base not to a specific link.

I would suggest watching this Moveit 1 hr tutorial to have a basic idea of motion planning in Moveit.

How can I publish a specific position of a specific link which that link will be pointed to using /tf topic and display it in Rviz, it means the pose of that relative link will be updated

I don't know if I understand your question correctly, but I think you want to move your robot's specific join and view it into RVIZ or via terminal. If it is right then,

A. If you want to move your robot-specific joints from RVIZ itself, you have to add a motion planning tab into Rviz, and you have to go to the move joints tab you can easily move your particular joint. As in the given tutorial lhttp://moveit2_tutorials.picknik.ai/doc/quickstart_in_rviz/quickstart_in_rviz_tutorial.html. You need to scroll your mouse in a specific join, and you can execute the motion by going to the Planning tab and pressing the planning and execute button.

Note: this link is to clarify how you can make your specific join move into your Rviz. Note you need to follow the previous move its tutorials if you are having any problem with Moveit.

B. You can also move your robot-specific joint from code, and you will be able to view it into Rviz, for Python have a look over here or for cpp look here.

joint_goal[0] = 1.91986 # Your radian coordinate in float.

Note: Over here, if you want to move your robot's 0 joins to 110 degrees, then you need to convert 110 to radian; it's around 1.91986. If you execute your code, then your joint 0 will move over here.

C. I don't know why you required this coordinate for a specific join. I think it is of no use. But if you want this coordinate, you can easily obtain it from /tf. You can get a specific link position with respect to your robot base position or world. For that, you need to follow tf2 code.

trans = tfBuffer.lookup_transform('robot-base or world', 'link-1', rospy.Time())

Over here you can get the transformation to respective things like Robot base or the world. But again, this thing will specify the link position with respect base. I don't think that may be important, but if you want that, then you can get it by using TF2. And another thing if you need the robot current position you can get it from moveit

I hope this may be relevant to your solution. If you have any queries feel free to drop a comment.