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,160 times
Last updated: Jul 18 '12
How can I create robot model and simulate with ROS?
Visualizing continuous and revolute joint types in rviz
How to add Kinect sensor input to a URDF model?
Has there been progress for URDF transform jitter in RVIZ?
Material-dependent transparency in Gazebo
Simulating multi-wheel vehicles in Gazebo
pioneer 3dx simulation using rviz and stage
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.