using rviz models in gazebo
i have created a robot model for rviz in urdf format.....how can i use this model on gazebo...i mean what changes do i have to make???
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
i have created a robot model for rviz in urdf format.....how can i use this model on gazebo...i mean what changes do i have to make???
hey i found a command that can convert .urdf files to .model files for gazebo
rosrun gazebo urdf2model -f basic.urdf -o basic.model
but in my gazebo i m not able to spawn urdf files my gazebo always crashes
The final solution is your choice, but maybe you could describe more the problem to understand why spawning urdf files make gazebo crash. Urdf files should spawn as well as models, so maybe there is a bug to be reported or a wrong practice to correct. But that's your choice.
URDF models can be spawned in Gazebo according this tutorial.
You have to ensure that all required fields in urdf are present (visual but also collision, inertia ...) to be sure that you model will be displayed.
Asked: 2012-07-17 02:21:07 -0500
Seen: 1,140 times
Last updated: Jul 18 '12
Possible to declare static object in urdf file?
Is it possible to have both fixed and dynamic objects in Urdf Model? [closed]
problem with gazebo_urdf_spawner [closed]
diff_drive_controller makes robot move faster in RViz compared to Gazebo
Is there a way to communicate ROS with a controller IRC-5?
Spawner gets blocked when trying to use libhector_gazebo_ros_sonar
Turtlebot simulator laser scan not working.
URDF Error: No valid hardware interface element found in joint [closed]
thnks @Erwan R. it worked :-)
but there is only one problem whenever i set static="false" my object runs into a corner of my world
Not sure about it but static prevents objects to move (another point of view required). If set to false and your object is colliding another one, force effects will throw your object away.