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

Can't launch PMB2 ROS 2 Simulation in ROS Humble #4

Closed
roberottt opened this issue Mar 2, 2023 · 7 comments
Closed

Can't launch PMB2 ROS 2 Simulation in ROS Humble #4

roberottt opened this issue Mar 2, 2023 · 7 comments

Comments

@roberottt
Copy link

Hello,

I'm trying to use the PMB2 ROS simulation in ROS Humble. I have set up the workspace and installed all the dependencies , but when I try to launch the simulation in Gazebo with ros2 launch pmb2_gazebo pmb2_gazebo.launch.py I get this error:

pal2

I don't understand why this error is shown because the robot is spawned correctly in Gazebo. The joint_state_broadcaster and mobile_base_controller are succesfully loaded too.

Do I need anything else?

This is the full output:
output.txt

@saikishor
Copy link
Member

Hello @roberottt,

Thank you for showing interest in our PMB2 simulation. Are you using Cyclone DDS for the simulation as mentioned in the prerequisites.

Thank you,

Best Regards,
PAL Robotics Team.

@Noel215
Copy link
Contributor

Noel215 commented Mar 2, 2023

Hi @roberottt!!

That's an issue of ros2_control that has been already patched. You can see it in ros-controls/ros2_control#957, but probably it won't be available until the next humble sync.

@roberottt
Copy link
Author

roberottt commented Mar 3, 2023

Hi @Noel215 @saikishor !

Thanks for the answer! We will wait to the next humble sync then. Is there something that we could do to solve this problem in the meantime?

@saikishor
Copy link
Member

Hello @roberottt,

You can clone and build the ros2_controlros2_control humble branch in your local workspace and compile it. This should solve your issue for now.

Thank you,

Best Regards,
PAL Robotics Team.

@roberottt
Copy link
Author

Hello @saikishor @Noel215,
I have just compiled the humble branch in my local workspace but I'm getting this error now:

Screenshot from 2023-03-03 11-25-05

@Noel215
Copy link
Contributor

Noel215 commented Mar 3, 2023

@roberottt, to make it work you have to clone also gazebo_ros2_control humble branch because it needs to be compiled against the ros2_control version you are using

@roberottt
Copy link
Author

@Noel215, cloning and compiling the gazebo_ros2_control humble branch solved the problem. Thank you very much!

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