Gazebo | Ignition | Community
Ask Your Question
0

ABB_robot not spawning in Gazebo although it's working in rviz correctly

asked 2020-12-12 23:20:37 -0500

beraru gravatar image

I have a complicated robot it spawn correctly in rviz but when i try to have the gazebo bringUp, the robot doesn't appear:

my terminal output:

     logging to /home/beraru/.ros/log/deac11e6-3c94-11eb-aac7-9c305b2b6a57/roslaunch-beraru-22791.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.

Deprecated: xacro tag 'sensor_d435i' w/o 'xacro:' xml namespace prefix (will be forbidden in Noetic)
when processing file: /media/beraru/CE625F5C625F47FB/reza/rviz/src/abb_robot_model/urdf/abb_robot.urdf.xacro
Use the following command to fix incorrect tag usage:
find . -iname "*.xacro" | xargs sed -i 's#<\([/]\?\)\(if\|unless\|include\|arg\|property\|macro\|insert_block\)#<\1xacro:\2#g'

xacro.py is deprecated; please use xacro instead
started roslaunch server http://beraru:34417/

SUMMARY
========

PARAMETERS
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_1/d: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_1/i: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_1/i_clamp: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_1/p: 100
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_2/d: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_2/i: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_2/i_clamp: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_2/p: 100
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_3/d: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_3/i: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_3/i_clamp: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_3/p: 100
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_4/d: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_4/i: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_4/i_clamp: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_4/p: 100
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_5/d: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_5/i: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_5/i_clamp: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_5/p: 100
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_6/d: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_6/i: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_6/i_clamp: 1
 * /abb_robot/gazebo_ros_control/pid_gains/abb_robot_joint_6/p: 100
 * /gazebo/enable_ros_network: True
 * /robot_description: <?xml version="1....
 * /rosdistro: melodic
 * /rosversion: 1.14.10
 * /use_sim_time: True

NODES
  /
    abb_robot_spawn (gazebo_ros/spawn_model)
    gazebo (gazebo_ros/gzserver)
    gazebo_gui (gazebo_ros/gzclient)
    spawn_urdf (gazebo_ros/spawn_model)

ROS_MASTER_URI=http://localhost:11311

process[abb_robot_spawn-1]: started with pid [22809]
process[spawn_urdf-2]: started with pid [22810]
process[gazebo-3]: started with pid [22811]
process[gazebo_gui-4]: started with pid [22814]
[ INFO] [1607832383.525362033]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1607832383.526581006]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[ INFO] [1607832383.643677101]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1607832383.647286837]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting...
[ INFO] [1607832383.976974650]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1607832383.997000535, 0.006000000]: Physics dynamic reconfigure ready.
[INFO] [1607832384.072188, 0.000000]: Loading model XML from ros parameter robot_description
[INFO] [1607832384.087355, 0.000000]: Waiting for service /gazebo/spawn_urdf_model
[INFO] [1607832384.089901, 0.000000]: Calling service /gazebo/spawn_urdf_model
Warning [parser.cc:950] XML Element[always_on], child of element[camera] not defined in SDF. Ignoring[always_on]. You may have an incorrect SDF file, or an sdformat version that doesn't support this element.
Warning [parser.cc:950] XML Element[update_rate], child of element[camera] not defined in SDF. Ignoring[update_rate]. You may have an incorrect SDF file, or an sdformat version that doesn't support this element.
Warning [parser.cc:950] XML Element[always_on], child of ...
(more)
edit retag flag offensive close merge delete

Comments

It might help running it with extra_gazebo_args:="--verbose" to see if Gazebo shows some errors.

Carlos Agüero gravatar imageCarlos Agüero ( 2020-12-18 13:00:29 -0500 )edit

hi ,Carlos kindly check the answers it contains verbose enabled

beraru gravatar imageberaru ( 2020-12-20 09:57:17 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2020-12-20 09:58:06 -0500

beraru gravatar image

updated 2020-12-20 10:02:45 -0500

... logging to /home/beraru/.ros/log/dd741336-42da-11eb-8077-9c305b2b6a57/roslaunch-beraru-17138.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://beraru:35545/

SUMMARY

PARAMETERS * /gazebo/enable_ros_network: True * /rosdistro: melodic * /rosversion: 1.14.10 * /use_sim_time: True

NODES / gazebo (gazebo_ros/gzserver) gazebo_gui (gazebo_ros/gzclient)

ROS_MASTER_URI=http://localhost:11311

process[gazebo-1]: started with pid [17153] process[gazebo_gui-2]: started with pid [17156] Gazebo multi-robot simulator, version 9.0.0 Copyright (C) 2012 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org

[Wrn] [GuiIface.cc:199] g/gui-plugin is really loading a SystemPlugin. To load a GUI plugin please use --gui-client-plugin Gazebo multi-robot simulator, version 9.0.0 Copyright (C) 2012 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.0.123 [Msg] Waiting for master. [Msg] Connected to gazebo master @ http://127.0.0.1:11345 [Msg] Publicized address: 192.168.0.123 Warning [parser.cc:950] XML Element[always_on], child of element[camera] not defined in SDF. Ignoring[always_on]. You may have an incorrect SDF file, or an sdformat version that doesn't support this element. Warning [parser.cc:950] XML Element[update_rate], child of element[camera] not defined in SDF. Ignoring[update_rate]. You may have an incorrect SDF file, or an sdformat version that doesn't support this element. Warning [parser.cc:950] XML Element[always_on], child of element[camera] not defined in SDF. Ignoring[always_on]. You may have an incorrect SDF file, or an sdformat version that doesn't support this element. Warning [parser.cc:950] XML Element[update_rate], child of element[camera] not defined in SDF. Ignoring[update_rate]. You may have an incorrect SDF file, or an sdformat version that doesn't support this element. [Wrn] [Event.cc:61] Warning: Deleting a connection right after creation. Make sure to save the ConnectionPtr from a Connect call [Wrn] [msgs.cc:1852] Conversion of sensor type[wideanglecamera] not supported. [Wrn] [msgs.cc:1852] Conversion of sensor type[wideanglecamera] not supported. [Wrn] [msgs.cc:1852] Conversion of sensor type[wideanglecamera] not supported. [Wrn] [msgs.cc:1852] Conversion of sensor type[wideanglecamera] not supported. [Wrn] [msgs.cc:1852] Conversion of sensor type[wideanglecamera] not supported. [Wrn] [msgs.cc:1852] Conversion of sensor type[wideanglecamera] not supported. [Wrn] [msgs.cc:1852] Conversion of sensor type[wideanglecamera] not supported. [Wrn] [msgs.cc:1852] Conversion of sensor type[wideanglecamera] not supported. [Err] [ModelDatabase.cc:390] Unable to parse model.config for model[http://gazebosim.org/models/bin_4_dropping_task]

[Wrn] [Publisher.cc:141] Queue limit reached for topic /gazebo/default/pose/local/info, deleting message. This warning is printed only once.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-12-12 22:34:36 -0500

Seen: 251 times

Last updated: Dec 20 '20