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

I have a problem with my robot arm when open with Rviz

asked 2019-01-03 20:28:41 -0500

minhsonpkmta@gmail.com gravatar image

image description image description image description

hello. I have a problem with my robot arm. In picture 1, i open my robot by Rviz when i convert my 3D arm in SolidWork to ROS by SW2URDF tool. But it is messy arranged unlike 3D files. In picture 2, when i choose FIX FRAME is BASE_LINK. its ok.but it isn enter the focus which have yellow color. in picture 3, i convert urdf file to dae file and open by MeshLap. The shape of robot arm is like picture 1. What is my problem? How to make my arm robot become unified block. The problem is in 3D file in SolidWork or in ROS...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-01-04 06:00:36 -0500

Everything that I can see happening is what we would expect.

In your first picture the fixed TF frame chosen in RVIZ "map" does not exist. Because of this RVIZ cannot work out where the links of the robot are so it shows them at the origin by default. This is why they appear jumbled up on top of each other.

As you've found out if you select the base_link (or any other link of the robot) this this will be fixed and you'll see your robot correctly in RVIZ. I'm not sure what you mean by

but it isn enter the focus which have yellow color

The yellow dot is simply the focal point of the camera, which can be dragged around with the mouse to change the view in RVIZ.

Finally regarding Meshlab as far as I know this will only open simple mesh dae files. A dae file with a kinematic structure will just be shown with each individual mesh at the origin similar to the original view in RVIZ. In fact how could it view the arm you haven't told it what joint positions it has?

Overall image two shows everything working correctly as we would expect. Hope this helps.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-01-03 20:28:41 -0500

Seen: 323 times

Last updated: Jan 04 '19