pietrolechthaler / UR5-Pick-and-Place-Simulation

Simulate the iteration of a UR5 robot with Lego bricks
https://youtu.be/v45mPw_XEXA
MIT License
97 stars 22 forks source link

[ERROR]: DeleteModel: model [X1-Y1-Z2_1] does not exist #13

Open zzy257248 opened 3 months ago

zzy257248 commented 3 months ago

Hello, I got several errors like "DeleteModel: model [......] does not exist". The feedback was like this:

PARAMETERS

NODES / gazebo (gazebo_ros/gzserver) gazebo_gui (gazebo_ros/gzclient) levelManager (levelManager/levelManager.py) robot_controllers (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 [40240] ROS_MASTER_URI=http://localhost:11311

setting /run_id to 0df3ab5a-2989-11ef-8661-21bf0179b47c WARNING: Package name "levelManager" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes. WARNING: Package name "robotName_description" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes. process[rosout-1]: started with pid [40261] started core service [/rosout] process[gazebo-2]: started with pid [40268] process[gazebo_gui-3]: started with pid [40273] process[spawn_gazebo_model-4]: started with pid [40278] process[robot_controllers-5]: started with pid [40279] process[robot_state_publisher-6]: started with pid [40280] process[levelManager-7]: started with pid [40281] [ WARN] [1718285409.940103438]: link 'robotiq_coupler' material 'flat_black' undefined. [ WARN] [1718285409.940638207]: link 'robotiq_coupler' material 'flat_black' undefined. WARNING: Package name "levelManager" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes. WARNING: Package name "robotName_description" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes. WARNING: Package name "levelManager" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes. WARNING: Package name "robotName_description" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes. WARNING: Package name "levelManager" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes. WARNING: Package name "robotName_description" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes. WARNING: Package name "levelManager" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes. WARNING: Package name "robotName_description" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes. Waining gazebo service.. [INFO] [1718285410.255749, 0.000000]: Loading model XML from ros parameter robot_description [INFO] [1718285410.259179, 0.000000]: Waiting for service /gazebo/spawn_urdf_model [ INFO] [1718285410.268978430]: Finished loading Gazebo ROS API Plugin. [ INFO] [1718285410.269540019]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting... [ INFO] [1718285410.310159469]: Finished loading Gazebo ROS API Plugin. [ INFO] [1718285410.310816769]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting... Warning [parser.cc:833] XML Attribute[version] in element[sdf] not defined in SDF, ignoring. Warning [parser.cc:833] XML Attribute[version] in element[sdf] not defined in SDF, ignoring. Warning [parser.cc:833] XML Attribute[version] in element[sdf] not defined in SDF, ignoring. [ERROR] [1718285410.857407413]: DeleteModel: model [X1-Y1-Z2_1] does not exist [ERROR] [1718285410.858331118]: DeleteModel: model [X1-Y2-Z1_1] does not exist [ERROR] [1718285410.859073138]: DeleteModel: model [X1-Y2-Z2_1] does not exist [ INFO] [1718285410.859237467]: waitForService: Service [/gazebo/set_physics_properties] is now available. [ERROR] [1718285410.859865716]: DeleteModel: model [X1-Y2-Z2-CHAMFER_1] does not exist [ERROR] [1718285410.860703275]: DeleteModel: model [X1-Y2-Z2-TWINFILLET_1] does not exist [ERROR] [1718285410.861586199]: DeleteModel: model [X1-Y3-Z2_1] does not exist [INFO] [1718285410.862440, 0.000000]: Calling service /gazebo/spawn_urdf_model [ERROR] [1718285410.862830132]: DeleteModel: model [X1-Y3-Z2-FILLET_1] does not exist [ERROR] [1718285410.864892391]: DeleteModel: model [X1-Y4-Z1_1] does not exist [ INFO] [1718285412.802787410]: SetStatic service at: /link_attacher_node/setstatic [ INFO] [1718285412.803449601]: Attach service at: /link_attacher_node/attach [ INFO] [1718285412.803729601]: Detach service at: /link_attacher_node/detach [ INFO] [1718285412.803757448]: Link attacher node initialized. [ERROR] [1718285412.881853076]: DeleteModel: model [X1-Y4-Z2_1] does not exist [INFO] [1718285412.881995, 0.000000]: Spawn status: SpawnModel: Successfully spawned entity [INFO] [1718285412.882983, 0.000000]: Waiting for service /gazebo/set_model_configuration [ERROR] [1718285412.884010473]: DeleteModel: model [X2-Y2-Z2_1] does not exist [INFO] [1718285412.884801, 0.000000]: temporary hack to fix the -J joint position option (issue #93), sleeping for 1 second to avoid race condition. [ERROR] [1718285412.885527559]: DeleteModel: model [X2-Y2-Z2-FILLET_1] does not exist [ INFO] [1718285412.886724504]: Physics dynamic reconfigure ready. [ INFO] [1718285412.957291885]: Loading gazebo_ros_control plugin [ INFO] [1718285412.957358293]: Starting gazebo_ros_control plugin in namespace: / [ INFO] [1718285412.957967351]: gazebo_ros_control plugin is waiting for model URDF in parameter [robot_description] on the ROS param server. [ WARN] [1718285413.069146014]: Deprecated syntax, please prepend 'hardware_interface/' to 'PositionJointInterface' within the tag in joint 'shoulder_pan_joint'. [ WARN] [1718285413.075609275]: Deprecated syntax, please prepend 'hardware_interface/' to 'PositionJointInterface' within the tag in joint 'shoulder_lift_joint'. [ WARN] [1718285413.081328306]: Deprecated syntax, please prepend 'hardware_interface/' to 'PositionJointInterface' within the tag in joint 'elbow_joint'. [ WARN] [1718285413.086929827]: Deprecated syntax, please prepend 'hardware_interface/' to 'PositionJointInterface' within the tag in joint 'wrist_1_joint'. [ WARN] [1718285413.092324222]: Deprecated syntax, please prepend 'hardware_interface/' to 'PositionJointInterface' within the tag in joint 'wrist_2_joint'. [ WARN] [1718285413.098104175]: Deprecated syntax, please prepend 'hardware_interface/' to 'PositionJointInterface' within the tag in joint 'wrist_3_joint'. [ INFO] [1718285413.105645071]: Loaded gazebo_ros_control. [ INFO] [1718285413.120592435]: ft_sensor plugin reporting wrench values to the frame [wrist_3_link] [Error]: select level from 1 to 4 All done. Ready to start. [levelManager-7] process has finished cleanly log file: /home/xxx/.ros/log/0df3ab5a-2989-11ef-8661-21bf0179b47c/levelManager-7.log [INFO] [1718285413.886536, 0.000000]: Calling service /gazebo/set_model_configuration [INFO] [1718285413.888390, 0.000000]: Set model configuration status: SetModelConfiguration: success [spawn_gazebo_model-4] process has finished cleanly log file: /home/xxx/.ros/log/0df3ab5a-2989-11ef-8661-21bf0179b47c/spawn_gazebo_model-4.log

Does this matter? Because I can't receive any image now, the robot is unable to pick and place bricks, I don't know whether they are related.

liefengguo commented 2 weeks ago

hi, i also meet it , how to solve this problem . thank~