[ros-users] gazebo urdf rviz

Adam Leeper aleeper at stanford.edu
Thu Oct 21 17:04:44 UTC 2010


Hi Andreas-

You can put the urdf on the parameter server by putting the path to your
urdf file in the launch script below. (the launch files in pr2_description
and/or pr2_bringup are helpful here).
<launch>

    <!-- send pr2 urdf to param server -->
    <param name="robot_description" command="$(find xacro)/xacro.py
'$(find pr2_description)/robots/pr2.urdf.xacro'" />
</launch>

Then you need a joint state publisher to broadcast joint values so
that rviz will be able to display the model correctly.
http://www.ros.org/wiki/joint_state_publisher

That should be all you need to just see the model.


--Adam



Adam Leeper
Stanford University
aleeper at stanford.edu
719.358.3804


2010/10/21 Andreas Vogt <andreas.vogt at dfki.de>

> Hi,
>
> is it possible to spawn my robot urdf model without starting gazebo? I
> just want see the model in rviz.
>
> Thanks
>
> --
> Andreas Vogt
> Logistics and Production Robotics
>
> Standort Bremen:
> DFKI GmbH
> Robotics Innovation Center
> Robert-Hooke-Straße 5
> 28359 Bremen, Germany
>
> Phone: +49 (0)421 178 45-6617
> Fax:   +49 (0)421 178 45-4150
> E-Mail: andreas.vogt at dfki.de
>
> Weitere Informationen: http://www.dfki.de/robotik
> -----------------------------------------------------------------------
> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
> Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
> Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
> (Vorsitzender) Dr. Walter Olthoff
> Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
> Amtsgericht Kaiserslautern, HRB 2313
> Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
> USt-Id.Nr.:    DE 148646973
> Steuernummer:  19/673/0060/3
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20101021/7b55f998/attachment-0003.html>


More information about the ros-users mailing list