Gazebo | Ignition | Community
Ask Your Question
0

How change the SDF defined model runtime? (to lock a revolute joint)

asked 2014-03-08 13:47:16 -0600

this post is marked as community wiki

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

Hi, I want to add a Lock property to a revolute joint, I mean I want to Lock the joint so that there is no DOF for that joint anymore and then release the lock again. How can I handle it? I think maybe I should 1 - add a fixed joint exactly in the revolute joint position so it will prevent the revolute joint revolution. 2 - or change the <xyz> to 0 0 0 To do that I should change the model (SDF) runtime. how can I do that in gazebo? Thanks,

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-03-09 05:43:17 -0600

this post is marked as community wiki

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

You have to set the high and low stop of the revolute joint to 0. Joint::SetHighStop(0,0)

edit flag offensive delete link more
0

answered 2014-03-10 12:57:46 -0600

this post is marked as community wiki

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

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-03-08 13:47:16 -0600

Seen: 822 times

Last updated: Mar 10 '14