Problem with Error [Param.cc:451] Unable to set value [-nan -nan -nan 0 -0 0] for key[pose]. Gazebo doesn't open
Hello,
when i try to roslaunch my model with the command: roslaunch robot_control robot_diffdrive.launch
, i get the following error:
... logging to /home/elzombie/.ros/log/68fa861a-7467-11e7-b7d7-d4bed980b116/roslaunch-moshi-moshi-27013.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://moshi-moshi:34495/
SUMMARY
========
PARAMETERS
* /robot_description: <?xml version="1....
* /robot_diff_drive_controller/angular/z/has_acceleration_limits: True
* /robot_diff_drive_controller/angular/z/has_velocity_limits: True
* /robot_diff_drive_controller/angular/z/max_velocity: 2.0
* /robot_diff_drive_controller/base_frame_id: chassis
* /robot_diff_drive_controller/left_wheel: ['front_axle to f...
* /robot_diff_drive_controller/linear/x/has_acceleration_limits: True
* /robot_diff_drive_controller/linear/x/has_velocity_limits: True
* /robot_diff_drive_controller/linear/x/max_acceleration: 0.6
* /robot_diff_drive_controller/linear/x/max_velocity: 0.2
* /robot_diff_drive_controller/max_acceleration: 6.0
* /robot_diff_drive_controller/pose_covariance_diagonal: [0.001, 0.001, 0....
* /robot_diff_drive_controller/publish_rate: 50
* /robot_diff_drive_controller/right_wheel: ['front_axle to f...
* /robot_diff_drive_controller/twist_covariance_diagonal: [0.001, 0.001, 0....
* /robot_diff_drive_controller/type: diff_drive_contro...
* /robot_diff_drive_controller/wheel_separation: 0.333
* /robot_joint_state_controller/publish_rate: 50
* /robot_joint_state_controller/type: joint_state_contr...
* /rosdistro: kinetic
* /rosversion: 1.12.7
* /rqt_robot_steering/default_topic: /robot_diff_drive...
* /use_sim_time: True
NODES
/
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)
robot_controller_spawner (controller_manager/spawner)
rqt_robot_steering (rqt_robot_steering/rqt_robot_steering)
rviz (rviz/rviz)
urdf_spawner (gazebo_ros/spawn_model)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[gazebo-1]: started with pid [27035]
process[gazebo_gui-2]: started with pid [27040]
process[urdf_spawner-3]: started with pid [27045]
process[rviz-4]: started with pid [27046]
process[robot_controller_spawner-5]: started with pid [27047]
process[rqt_robot_steering-6]: started with pid [27048]
SpawnModel script started
[ INFO] [1501350809.257317690]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1501350809.259887899]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[INFO] [1501350809.276150, 0.000000]: Loading model XML from ros parameter
[INFO] [1501350809.281451, 0.000000]: Waiting for service /gazebo/spawn_urdf_model
[INFO] [1501350811.096386, 0.000000]: Calling service /gazebo/spawn_urdf_model
[ INFO] [1501350811.130896442, 0.022000000]: waitForService: Service [/gazebo/set_physics_properties] is now available.
Error [Param.cc:451] Unable to set value [-nan -nan -nan 0 -0 0] for key[pose]
Warning [parser.cc:778] XML Element[plugin], child of element[link] not defined in SDF. Ignoring[plugin]. You may have an incorrect SDF file, or an sdformat version that doesn't support this element.
Warning [parser.cc:778] XML Element[plugin], child of element[link] not defined in SDF. Ignoring[plugin]. You may have an incorrect SDF file, or an sdformat version that doesn't support this element.
[INFO] [1501350811.354676, 0.146000]: Spawn status: SpawnModel: Successfully spawned entity
[ INFO] [1501350811.383864095, 0.146000000]: Physics dynamic reconfigure ready.
[ INFO] [1501350811.389576299, 0.146000000]: Loading gazebo_ros_control plugin
[ INFO] [1501350811.389719945, 0.146000000]: Starting gazebo_ros_control plugin in namespace: /robot
[ INFO] [1501350811.393265260, 0.146000000]: gazebo_ros_control plugin is waiting for model URDF in parameter [/robot_description] on the ROS param server.
[urdf_spawner-3] process has finished cleanly
log file: /home/elzombie/.ros/log/68fa861a-7467-11e7-b7d7-d4bed980b116/urdf_spawner-3*.log
[ INFO] [1501350811.575174528, 0.146000000]: Loaded gazebo_ros_control.
gzclient: /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreNode.cpp:630: virtual void Ogre::Node::setScale(const Ogre::Vector3&): Assertion `!inScale.isNaN() && "Invalid vector supplied as parameter"' failed.
Aborted (core dumped)
[gazebo_gui-2] process has died [pid 27040, exit code 134, cmd /opt/ros ...