gazebo crashing [closed]

asked 2021-06-21 12:23:03 -0500

Eng_abdullah gravatar image

updated 2021-06-22 02:57:41 -0500

gvdhoorn gravatar image

i tried to launch the gazebo by using this scripts:

roslaunch robot_arm_pkg check_motors_gazebo.launch

and the gazebo works but just for a few seconds , and then crashing. and this message appear :

 ... logging to /home/abdullah/.ros/log/454c6be8-d2aa-11eb-98e4-000c29b7d174/roslaunch-abdullah-3100.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://abdullah:45069/

SUMMARY
========

PARAMETERS
 * /arm_controller/gains/base_joint/d: 1
 * /arm_controller/gains/base_joint/i: 1
 * /arm_controller/gains/base_joint/i_clamp: 1
 * /arm_controller/gains/base_joint/p: 100
 * /arm_controller/gains/elbow/d: 1
 * /arm_controller/gains/elbow/i: 1
 * /arm_controller/gains/elbow/i_clamp: 1
 * /arm_controller/gains/elbow/p: 100
 * /arm_controller/gains/shoulder/d: 1
 * /arm_controller/gains/shoulder/i: 1
 * /arm_controller/gains/shoulder/i_clamp: 1
 * /arm_controller/gains/shoulder/p: 100
 * /arm_controller/gains/wrist/d: 1
 * /arm_controller/gains/wrist/i: 1
 * /arm_controller/gains/wrist/i_clamp: 1
 * /arm_controller/gains/wrist/p: 100
 * /arm_controller/joints: ['base_joint', 's...
 * /arm_controller/type: position_controll...
 * /gazebo/enable_ros_network: True
 * /joint_state_controller/publish_rate: 50
 * /joint_state_controller/type: joint_state_contr...
 * /robot_description: <?xml version="1....
 * /rosdistro: melodic
 * /rosversion: 1.14.11
 * /use_sim_time: True

NODES
  /
    controller_spawner (controller_manager/spawner)
    gazebo (gazebo_ros/gzserver)
    gazebo_gui (gazebo_ros/gzclient)
    spawn_gazebo_model (gazebo_ros/spawn_model)

auto-starting new master
process[master]: started with pid [3121]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 454c6be8-d2aa-11eb-98e4-000c29b7d174
process[rosout-1]: started with pid [3132]
started core service [/rosout]
process[gazebo-2]: started with pid [3135]
process[gazebo_gui-3]: started with pid [3137]
process[spawn_gazebo_model-4]: started with pid [3143]
process[controller_spawner-5]: started with pid [3146]
[INFO] [1624291479.800427, 0.000000]: Controller Spawner: Waiting for service controller_manager/load_controller
[ INFO] [1624291507.123055695]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1624291507.125318735]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1624291507.130904998]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[ INFO] [1624291507.133662790]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting...
[INFO] [1624291509.677748, 0.000000]: Loading model XML from ros parameter robot_description
[INFO] [1624291509.730407, 0.000000]: Waiting for service /gazebo/spawn_urdf_model
[WARN] [1624291509.936234, 0.000000]: Controller Spawner couldn't find the expected controller_manager ROS interface.
[controller_spawner-5] process has finished cleanly
log file: /home/abdullah/.ros/log/454c6be8-d2aa-11eb-98e4-000c29b7d174/controller_spawner-5*.log
[ INFO] [1624291529.872289630]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1624291529.940571525]: Physics dynamic reconfigure ready.
[INFO] [1624291530.049455, 0.000000]: Calling service /gazebo/spawn_urdf_model
[INFO] [1624291530.759573, 0.001000]: Spawn status: SpawnModel: Successfully spawned entity
[spawn_gazebo_model-4] process has finished cleanly
log file: /home/abdullah/.ros/log/454c6be8-d2aa-11eb-98e4-000c29b7d174/spawn_gazebo_model-4*.log
[ INFO] [1624291532.783767228, 0.001000000]: Loading gazebo_ros_control plugin
[ INFO] [1624291532.785322962, 0.001000000]: Starting gazebo_ros_control plugin in namespace: /
[ INFO] [1624291532.861890401, 0.001000000]: gazebo_ros_control plugin is waiting for model URDF in parameter [robot_description] on the ROS param server.
[ERROR] [1624291533.573922997, 0.001000000]: No p gain specified for pid.  Namespace: /gazebo_ros_control/pid_gains/base_joint
[ERROR] [1624291533.575293236, 0.001000000]: No p gain specified for pid.  Namespace: /gazebo_ros_control/pid_gains/shoulder
[ERROR] [1624291533.576512446, 0.001000000]: No p gain specified for pid.  Namespace: /gazebo_ros_control/pid_gains/elbow
[ERROR] [1624291533.577668324, 0.001000000]: No p gain specified for pid.  Namespace: /gazebo_ros_control/pid_gains/wrist
[ INFO ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason Gazebo Question: The Gazebo community prefers to answer questions at: http://answers.gazebosim.org by gvdhoorn
close date 2021-06-22 02:58:54.220493

Comments

From this:

VMware: vmw_ioctl_command error Invalid argument.

it would appear you're trying to run this in a virtual machine.

That's not necessarily a problem, but it's known that can lead to some tricky problems.

In addition, this seems to be a Gazebo problem, which we recommend you post on answers.gazebosim.org.

gvdhoorn gravatar image gvdhoorn  ( 2021-06-22 02:58:44 -0500 )edit