Gazebo Irobot model "explodes"
I am new to ROS, having just installed the software yesterday. Today I started working with Gazebo to try and run some simulations. The specific platform I am trying to simulate is the iRobot create. I used rosinstall to add the required packages from aptima-ros-pkg and ua-ros-pkg as outlined here. I created the urdf file by performing
`rospack find xacro`/xacro.py `rospack find irobot_create_description`/urdf/create.urdf.xacro > ~/ros_workspace/robot.urdf
I then proceeded to try to insert the model an empty world using roslaunch and rosrun, but chaos ensued (apologies for the poor video quality).
The output from the terminal I was running Gazebo in is
Warning [Param.cc:314] Parameter [xyzOffsets] is not a vector3, try parsing
Warning [Param.cc:314] Parameter [rpyOffsets] is not a vector3, try parsing
Dbg plugin model name: robot1
gzclient: /tmp/buildd/ros-fuerte-visualization-common-1.8.4/debian/ros-fuerte-visualization-common/opt/ros/fuerte/stacks/visualization_common/ogre/build/ogre_src_v1-7-3/OgreMain/src/OgreNode.cpp:413: virtual void Ogre::Node::setPosition(const Ogre::Vector3&): Assertion
!pos.isNaN() && "Invalid vector supplied as parameter"' failed.
/opt/ros/fuerte/stacks/simulator_gazebo/gazebo/scripts/gui: line 2: 4751 Aborted
rospack find gazebo/gazebo/bin/gzclient -g
rospack find gazebo`/lib/libgazebo_ros_paths_plugin.so
[gazebo_gui-2] process has died [pid 4748, exit code 134, cmd /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/scripts/gui __name:=gazebo_gui __log:=/home/dkleszyk/.ros/log/8123d130-ab61-11e1-a507-00216a4e4e76/gazebo_gui-2.log].
log file: /home/dkleszyk/.ros/log/8123d130-ab61-11e1-a507-00216a4e4e76/gazebo_gui-2*.log
I saw an earlier Q&A that suggested commenting out cannonicalBody
in the urdf file, but this did not solve the issue.
I am running ROS fuerte on Ubuntu 11.10. Any suggestions as to why the model would act like this?
Thanks in advance!
A similar explosion occurs for me, when running the erratic teleop in wg_collada.world . The difference is that gazebo explodes only when I run the robot into the wall.