Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Robot Falled off in Simulation #10

Closed
kaicongw opened this issue Apr 1, 2024 · 3 comments
Closed

Robot Falled off in Simulation #10

kaicongw opened this issue Apr 1, 2024 · 3 comments

Comments

@kaicongw
Copy link

kaicongw commented Apr 1, 2024

Hello,

I was trying to run simulations after I installed ros2_SimRealRobotControl following all the steps in the ReadMe (including the new IFRA_LinkAttacher ROS2-Gazebo plugin). However, when I launched the Gazebo simulation environment or the Gazebo + MoveIt!2 environment, my robot always falled off without maintaining its home position. I could not run any other programs to contorl its movements as well. What could be the reasons?

I tried the following command:

ros2 launch ros2srrc_irb120_gazebo simulation.launch.py layout:=ros2srrc_irb120_1 endeffector:=RobAlone

ros2 launch ros2srrc_irb120_moveit2 moveit2.launch.py layout:=ros2srrc_irb120_1 endeffector:=RobAlone

These were some of the log messages:

[ERROR] [spawner-7]: process has died [pid 10964, exit code 1, cmd '/opt/ros/humble/lib/controller_manager/spawner egp64_finger_left_controller -c /controller_manager --ros-args'].
[INFO] [spawner-8]: process started with pid [11008]
[spawner-8] [INFO] [1711945806.801040381] [spawner_egp64_finger_right_controller]: Waiting for '/controller_manager' node to exist
[spawner-8] [INFO] [1711945808.817141369] [spawner_egp64_finger_right_controller]: Waiting for '/controller_manager' node to exist
[spawner-8] [INFO] [1711945810.833380512] [spawner_egp64_finger_right_controller]: Waiting for '/controller_manager' node to exist
[spawner-8] [INFO] [1711945812.848078482] [spawner_egp64_finger_right_controller]: Waiting for '/controller_manager' node to exist
[spawner-8] [ERROR] [1711945814.865378198] [spawner_egp64_finger_right_controller]: Controller manager not available
[ERROR] [spawner-8]: process has died [pid 11008, exit code 1, cmd '/opt/ros/humble/lib/controller_manager/spawner egp64_finger_right_controller -c /controller_manager --ros-args'].

@case-a2
Copy link

case-a2 commented Apr 15, 2024

I am having the same issue. I suspect a dependency was updated.

@chytra3
Copy link

chytra3 commented May 2, 2024

IFRA-Cranfield/ros2_RobotSimulation#26 (comment)

you can refer to this issue , it is exactly the same error . That got resolved .

@kaicongw
Copy link
Author

kaicongw commented May 7, 2024

IFRA-Cranfield/ros2_RobotSimulation#26 (comment)

you can refer to this issue , it is exactly the same error . That got resolved .

Thank you so much! It worked. I got it solved using the method you mentioned. Using the 0.4.6 version of ros-humble-gazebo-ros2-control is the key.

@kaicongw kaicongw closed this as completed May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants