how to control and update position of robot without using gazebo_ros control? Can we use setWorldPose to set the position?
Hi,
I want to control the position of my tricycle model in gazebo without using gazebo_ros packages. Basically everytime I am calculating the new position of model and then I want to update my model position with the new calculated position in OnUpdate function, for that I am using setWorldPose, but it is not giving me the right position. What is the right way to do it . Here I am attaching my code. Any suggestions would be of great help. Thanks!
Asked by anonymous on 2015-03-12 08:04:40 UTC
Comments
Calling
SetWorldPose
on a model will move the model to the specified location. Can you clarify what is wrong?Asked by nkoenig on 2015-03-16 09:24:20 UTC
I am sorry ..It was my mistake , I was not updating the time that is why model was not moving to that particular location. Now It has been resolved . Thank You!
Asked by anonymous on 2015-03-17 04:02:39 UTC