Gazebo GUI Error [Param.cc 181]:: Unable to set value [1,0471975511965976] and [0,100000001]
This question has been asked before in this forum at least once (http://answers.ros.org/question/199401/problem-with-indigo-and-gazebo-22/). Nevertheless, i haven't found the cause behind the occurrence of the following Gazebo GUI errors,
- Error [Param.cc:181] Unable to set value [1,0471975511965976] for key[horizontal_fov]
- Error [Param.cc:181] Unable to set value [0,100000001] for key[near]
Things performed :: I successfully installed ROS Indigo on Ubuntu (Description: 14.04.02 LTS, Codename: Trusty) 64-bit virtual machine by following the instructions from the website http://wiki.ros.org/indigo/Installation/Ubuntu.
Later, i tried to launch the gazebo simulator to visualize universal robot by going through the tutorial mentioned in the website http://wiki.ros.org/universal_robot/Tutorials/Getting%20Started%20with%20a%20Universal%20Robot%20and%20ROS-Industrial.
The following is the result of launching the gazebo simulator ::
... logging to /home/prof/.ros/log/6c565688-0b67-11e5-8411-0800272b2ea9/roslaunch-PROFPC-28231.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://PROFPC:58741/
SUMMARY
========
PARAMETERS
* /arm_controller/action_monitor_rate: 10
* /arm_controller/constraints/elbow_joint/goal: 0.1
* /arm_controller/constraints/elbow_joint/trajectory: 0.1
* /arm_controller/constraints/goal_time: 0.6
* /arm_controller/constraints/shoulder_lift_joint/goal: 0.1
* /arm_controller/constraints/shoulder_lift_joint/trajectory: 0.1
* /arm_controller/constraints/shoulder_pan_joint/goal: 0.1
* /arm_controller/constraints/shoulder_pan_joint/trajectory: 0.1
* /arm_controller/constraints/stopped_velocity_tolerance: 0.5
* /arm_controller/constraints/wrist_1_joint/goal: 0.1
* /arm_controller/constraints/wrist_1_joint/trajectory: 0.1
* /arm_controller/constraints/wrist_2_joint/goal: 0.1
* /arm_controller/constraints/wrist_2_joint/trajectory: 0.1
* /arm_controller/constraints/wrist_3_joint/goal: 0.1
* /arm_controller/constraints/wrist_3_joint/trajectory: 0.1
* /arm_controller/gains/elbow_joint/d: 100.0
* /arm_controller/gains/elbow_joint/i: 500.0
* /arm_controller/gains/elbow_joint/i_clamp: 100.0
* /arm_controller/gains/elbow_joint/p: 1500.0
* /arm_controller/gains/shoulder_lift_joint/d: 100.0
* /arm_controller/gains/shoulder_lift_joint/i: 500.0
* /arm_controller/gains/shoulder_lift_joint/i_clamp: 100.0
* /arm_controller/gains/shoulder_lift_joint/p: 1500.0
* /arm_controller/gains/shoulder_pan_joint/d: 100.0
* /arm_controller/gains/shoulder_pan_joint/i: 500.0
* /arm_controller/gains/shoulder_pan_joint/i_clamp: 100.0
* /arm_controller/gains/shoulder_pan_joint/p: 600.0
* /arm_controller/gains/wrist_1_joint/d: 0.0
* /arm_controller/gains/wrist_1_joint/i: 0.0
* /arm_controller/gains/wrist_1_joint/i_clamp: 0.0
* /arm_controller/gains/wrist_1_joint/p: 100.0
* /arm_controller/gains/wrist_2_joint/d: 0.0
* /arm_controller/gains/wrist_2_joint/i: 0.0
* /arm_controller/gains/wrist_2_joint/i_clamp: 0.0
* /arm_controller/gains/wrist_2_joint/p: 100.0
* /arm_controller/gains/wrist_3_joint/d: 0.0
* /arm_controller/gains/wrist_3_joint/i: 0.0
* /arm_controller/gains/wrist_3_joint/i_clamp: 0.0
* /arm_controller/gains/wrist_3_joint/p: 100.0
* /arm_controller/joints: ['shoulder_pan_jo...
* /arm_controller/state_publish_rate: 25
* /arm_controller/stop_trajectory_duration: 0.5
* /arm_controller/topic: test
* /arm_controller/type: effort_controller...
* /joint_state_controller/publish_rate: 50
* /joint_state_controller/type: joint_state_contr...
* /robot_description: <?xml version="1....
* /robot_state_publisher/publish_frequency: 50.0
* /robot_state_publisher/tf_prefix:
* /rosdistro: indigo
* /rosversion: 1.11.13
* /use_sim_time: True
NODES
/
- arm_controller_spawner (controller_manager/spawner)
- fake_joint_calibration (rostopic/rostopic)
- gazebo (gazebo_ros/gzserver)
- gazebo_gui (gazebo_ros/gzclient)
- joint_state_controller_spawner (controller_manager/spawner)
- robot_state_publisher (robot_state_publisher/robot_state_publisher)
- spawn_gazebo_model (gazebo_ros/spawn_model)
auto-starting new master
process[master]: started with pid [28246]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 6c565688-0b67-11e5-8411-0800272b2ea9
process[rosout-1]: started with pid [28259]
started core service [/rosout]
process[gazebo-2]: started with pid [28262]
process[gazebo_gui-3]: started with pid [28266]
process[spawn_gazebo_model-4]: started with pid [28271]
process[robot_state_publisher-5]: started with pid [28275]
process[fake_joint_calibration-6]: started with pid [28278]
process[joint_state_controller_spawner-7]: started with pid [28300]
process[arm_controller_spawner-8]: started with pid [28303]
Gazebo multi-robot simulator, version 2.2.3
Copyright (C) 2012-2014 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org
Gazebo multi-robot simulator, version 2.2.3
Copyright (C) 2012-2014 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org
Msg Waiting for master
Msg Connected to gazebo master @ http://127.0.0.1:11345
Msg Publicized address: 192.168.20.178
[ INFO] [1433497456.211451359]: Finished loading Gazebo ROS API Plugin.
Msg Waiting for master
[ INFO] [1433497456.213188579]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
Msg Connected to gazebo master @ http://127.0.0.1:11345
Msg Publicized address: 192.168.20.178
Warning [gazebo.cc:215] Waited 1seconds for namespaces.
spawn_model script started
[INFO] [WallTime: 1433497457.365539] [0.000000] Loading model xml from ros parameter
[INFO] [WallTime: 1433497457.370390] [0.000000] Waiting for service /gazebo/spawn_urdf_model
[INFO] [WallTime: 1433497457.372734] [0.000000] Calling service /gazebo/spawn_urdf_model
[ INFO] [1433497457.408629287, 0.022000000]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[INFO] [WallTime: 1433497457.754925] [0.293000] Spawn status: SpawnModel: Successfully spawned model
[ INFO] [1433497457.778860577, 0.293000000]: Physics dynamic reconfigure ready.
[spawn_gazebo_model-4] process has finished cleanly
log file: /home/prof/.ros/log/6c565688-0b67-11e5-8411-0800272b2ea9/spawn_gazebo_model-4*.log
[ INFO] [1433497458.115862600, 0.293000000]: Loading gazebo_ros_control plugin
[ INFO] [1433497458.116142444, 0.293000000]: Starting gazebo_ros_control plugin in namespace: /
[ INFO] [1433497458.124873826, 0.293000000]: gazebo_ros_control plugin is waiting for model URDF in parameter [robot_description] on the ROS param server.
[ INFO] [1433497458.388264299, 0.293000000]: Loaded gazebo_ros_control.
Error [Param.cc:181] Unable to set value [1,0471975511965976] for key[horizontal_fov]
Error [Param.cc:181] Unable to set value [0,100000001] for key[near]
Due to the above resulted Gazebo GUI errors, the universal robot was not able to move in the gazebo simulator when i run the pre-defined python script file "test_move.py" (which comes with the ros-industrial package of universal robot) from another terminal window. This was the situation which i faced two weeks ago.
Despite the same above mentioned Gazebo GUI errors, now I can clearly see the universal robot moving in the gazebo simulator when i run the same python script file "test_move.py" from another terminal window. This was the situation which i am facing right now.
I started to do workaround by following the possibility mentioned in the website http://answers.ros.org/question/199401/problem-with-indigo-and-gazebo-22/
Possibility::
update Gazebo 2.2, but you must add packages.osrfoundation.org at Ubuntu repositories.
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu trusty main" > /etc/apt/sources.list.d/gazebo-latest.list'
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
Before even trying the above mentioned possibility, i checked whether i have the "setup.sh" file of Gazebo simulator in the following directory, i.e.,
- /usr/local/share/gazebo-2.2/setup.sh
Unfortunately, i don't have the required gazebo-2.2 folder in the directory /usr/local/share.
Query ::
Is the absence of gazebo-2.2 folder and its setup.sh file in the directory "/usr/local/share" has something to do with the Gazebo GUI errors?
Can anyone suggest me where to look for so that the Gazebo GUI errors can be solved successfully?
Thanking You,
BR,
Sriniwas
Asked by Sriniwas on 2015-06-05 05:24:28 UTC
Comments
seems like some config is using your locale format for floating point values or just you entered them wrongly. Can you run this command
grep -rn 0471975511
in yoursrc
folder and see if it is in a text file and replace,
with.
?Asked by Orhan on 2021-05-21 16:07:17 UTC