utecrobotics / ur5

UR5 Robot with a Robotiq gripper
125 stars 35 forks source link

Does it work with indigo?? I got the following error !! #2

Open Abduoit opened 6 years ago

Abduoit commented 6 years ago
roslaunch ur5_gazebo ur5_cubes.launch 
... logging to /home/abdulrahman/.ros/log/9cadfaee-b6c1-11e8-8d8a-e09d31097f54/roslaunch-abdu-19652.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://abdu:37800/

SUMMARY
========

PARAMETERS
 * /gripper_controller/action_monitor_rate: 20
 * /gripper_controller/goal_tolerance: 0.002
 * /gripper_controller/joint: robotiq_85_left_k...
 * /gripper_controller/max_effort: 100
 * /gripper_controller/stall_timeout: 1.0
 * /gripper_controller/stall_velocity_threshold: 0.001
 * /gripper_controller/type: position_controll...
 * /joint_state_controller/publish_rate: 125
 * /joint_state_controller/type: joint_state_contr...
 * /robot_description: <?xml version="1....
 * /rosdistro: indigo
 * /rosversion: 1.11.21
 * /state_publisher/publish_frequency: 50.0
 * /trajectory_controller/action_monitor_rate: 10
 * /trajectory_controller/constraints/elbow_joint/goal: 0.1
 * /trajectory_controller/constraints/elbow_joint/trajectory: 0.1
 * /trajectory_controller/constraints/goal_time: 0.6
 * /trajectory_controller/constraints/shoulder_lift_joint/goal: 0.1
 * /trajectory_controller/constraints/shoulder_lift_joint/trajectory: 0.1
 * /trajectory_controller/constraints/shoulder_pan_joint/goal: 0.1
 * /trajectory_controller/constraints/shoulder_pan_joint/trajectory: 0.1
 * /trajectory_controller/constraints/stopped_velocity_tolerance: 0.05
 * /trajectory_controller/constraints/wrist_1_joint/goal: 0.1
 * /trajectory_controller/constraints/wrist_1_joint/trajectory: 0.1
 * /trajectory_controller/constraints/wrist_2_joint/goal: 0.1
 * /trajectory_controller/constraints/wrist_2_joint/trajectory: 0.1
 * /trajectory_controller/constraints/wrist_3_joint/goal: 0.1
 * /trajectory_controller/constraints/wrist_3_joint/trajectory: 0.1
 * /trajectory_controller/joints: ['shoulder_pan_jo...
 * /trajectory_controller/state_publish_rate: 25
 * /trajectory_controller/stop_trajectory_duration: 0.5
 * /trajectory_controller/type: position_controll...
 * /use_sim_time: True

NODES
  /
    gazebo (gazebo_ros/gzserver)
    gazebo_gui (gazebo_ros/gzclient)
    robot_controllers (controller_manager/spawner)
    spawn_gazebo_model (gazebo_ros/spawn_model)
    state_publisher (robot_state_publisher/state_publisher)

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

setting /run_id to 9cadfaee-b6c1-11e8-8d8a-e09d31097f54
process[rosout-1]: started with pid [19701]
started core service [/rosout]
process[gazebo-2]: started with pid [19724]
process[gazebo_gui-3]: started with pid [19729]
process[spawn_gazebo_model-4]: started with pid [19732]
process[robot_controllers-5]: started with pid [19734]
process[state_publisher-6]: started with pid [19735]
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.spawn_model script started
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

[ INFO] [1536780333.334794442]: Finished loading Gazebo ROS API Plugin.
Msg Waiting for master
[ INFO] [1536780333.336123595]: 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: 10.150.15.35
[INFO] [WallTime: 1536780333.351720] [0.000000] Loading model xml from ros parameter
[INFO] [WallTime: 1536780333.356025] [0.000000] Waiting for service /gazebo/spawn_urdf_model
Warning [parser.cc:340] Converting a deprecated source[/home/abdulrahman/catkin_ws/src/ur5/ur5_gazebo/worlds/ur5_cubes.world].
Warning [Converter.cc:59]   Version[1.6] to Version[1.4]
  Please use the gzsdf tool to update your SDF files.
    $ gzsdf convert [sdf_file]
Error [Converter.cc:127] Unable to convert from SDF version 1.6 to 1.4
Error [parser.cc:697] XML Element[gravity], child of element[world] not defined in SDF. Ignoring.[world]
Error [parser.cc:688] Error reading element <world>
Error [parser.cc:348] Unable to read element <sdf>
Error:   Could not find the 'robot' element in the xml file
         at line 81 in /build/buildd/urdfdom-0.2.10+dfsg/urdf_parser/src/model.cpp
Error [parser_urdf.cc:2608] Unable to call parseURDF on robot model
Error [parser.cc:273] parse as old deprecated model file failed.
Error [Server.cc:300] Unable to read sdf file[/home/abdulrahman/catkin_ws/src/ur5/ur5_gazebo/worlds/ur5_cubes.world]
gzserver: /usr/include/boost/thread/pthread/recursive_mutex.hpp:101: boost::recursive_mutex::~recursive_mutex(): Assertion `!pthread_mutex_destroy(&m)' failed.
Aborted (core dumped)
[gazebo-2] process has died [pid 19724, exit code 134, cmd /opt/ros/indigo/lib/gazebo_ros/gzserver -u -e ode /home/abdulrahman/catkin_ws/src/ur5/ur5_gazebo/worlds/ur5_cubes.world __name:=gazebo __log:=/home/abdulrahman/.ros/log/9cadfaee-b6c1-11e8-8d8a-e09d31097f54/gazebo-2.log].
log file: /home/abdulrahman/.ros/log/9cadfaee-b6c1-11e8-8d8a-e09d31097f54/gazebo-2*.log
..................
ruanjian0821 commented 6 years ago

I also try to test it and I found there some files didn't upload, for example robot_controllers and cafe_table and so on.

Brant714 commented 5 years ago

someone can tell me how to solve them?

Hamid-Manouchehri commented 2 years ago

Hi, for cafe_table__ refer to this and download the model, then put the cafe_table__ folder into this directory of your local repository: '.../ur5/ur5_gazebo/models' @Brant714