Home | Tutorials | Wiki | Issues
Ask Your Question
0

How to set a right revolute joint coordinate?

asked 2019-08-21 20:32:57 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

image description

image description

Okay guys, im trying to use gazebo to simulate my simple arm but i'm stuck at second joint. Idk why, but it rotates based on some other axis(or some other coordination).

the arm is at the right place when i don't move them, so changing <joint> coordinate would changes arm's position. i want to keep my arm that position and want to rotate based on the shaft( black horn with green part).

anyone had a same problem and solved it? what i am thinking about is that i change joint coordinate and changes link's visual coordinate. but i am not sure this is the right way to solve this problem. Help me guy thx!

https://github.com/benthebear93/clime... Here is my robot's urdf, and u could see the package

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-08-22 11:50:05 -0600

chapulina gravatar image

You can right-click your model and select View -> Transparent then View -> Joints to see where the joint axis currently is. Then I would suggest you change your link and joint <origin>s on URDF until the axis shows up in the correct place (on top of the green part).

Visualizing link frames with View -> Link Frames should also help you.

edit flag offensive delete link more

Comments

didn't know there is link visualization! i will try that thx !!

benthebear93 gravatar imagebenthebear93 ( 2019-08-22 21:33:15 -0600 )edit
1

thx! i solved it. it save a lot of my time really appropriate

benthebear93 gravatar imagebenthebear93 ( 2019-08-23 11:14:22 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-08-21 20:32:57 -0600

Seen: 137 times

Last updated: Aug 22