[ros-users] Pan Tilt Unit in Simulation

John Hsu johnhsu at willowgarage.com
Sun Sep 26 22:34:57 UTC 2010


you need to prefix link name by the model name, i.e. model_name::link_name

John

On Sep 26, 2010 3:30 PM, "MightTower" <marcjoeris at uni-koblenz.de> wrote:


Hello again,
so here is in basics the package with which i try to work, i have deleted
all things (camera, laser scanner) which are not needed here. Try the
Test2.launch.
http://ros-users.122217.n3.nabble.com/file/n1585854/test_pkg.tar.gz
test_pkg.tar.gz

I tried with this package (roslaunch test_pkg Test2.launch before) :
"rostopic pub -1 gazebo/set_link_state gazebo/LinkState '{link_name:
pan_link, pose: { position: { x: 0, y: 0, z: 2 }, orientation: {x: 10, y:
0.491983115673, z: 0, w: 0.870604813099 } }, twist: { linear: { x: 5, y: 5,
z: 10 }, angular: { x: 3, y: 3, z: 3}  }, reference_frame: world }'"
The system tells me that i pan_link does not exist, i think this is a
publish problem again?!?! Where i have to define the links to use them? Or
what is wrong?

I tried the damping and it works, tomorrow i will try if i can build a
system where i can give a relative angle to a self build controller.
Thanks again
Marc
--
View this message in context:
http://ros-users.122217.n3.nabble.com/Pan-Tilt-Unit-in-Simulation-tp1578788p1585854.html

Sent from the ROS-Users mailing list archive at Nabble.com.
________________________________________...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100926/52380d5b/attachment-0003.html>


More information about the ros-users mailing list