Hi Marc, you can try and model after the single link tutorial in here: http://www.ros.org/wiki/pr2_simulator/Tutorials/Pendulums The gazebo_ros_controller_manager plugin included in the urdf filedoes the job of publishing the joint states as you mentioned. This controller yaml filespecifies the controller gains. This transmissions filespecifies the transmission at the joint. The launch scriptloads the controller. Let me know if this helps. John On Sat, Sep 25, 2010 at 7:30 PM, MightTower wrote: > > Hi John, > i tried to write my own controllers for 2 joints, like you recommended in > your first approach. > It works when i play around with the tutorials > (http://www.ros.org/wiki/pr2_mechanism/Tutorials) and the PR2 model. > I tried then to control the joints in my model, but the problem is that the > joints are not published so the controller cant find them. I try to find a > tutorial which tells me how to publish the joints but no luck till now. I > think its not a big thing but i cant find the right way at the moment. > Any suggestion or hint? > Thanks a lot > Marc > -- > View this message in context: > http://ros-users.122217.n3.nabble.com/Pan-Tilt-Unit-in-Simulation-tp1578788p1582094.html > Sent from the ROS-Users mailing list archive at Nabble.com. > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users >