Hi,
we bought a Leo Rover and installed the ROS 2 image on it; thanks for porting so far
For development, being able to use it in a simulation environment would be great. Unfortunately, I cannot get it to work.
I found there is a “humble”-Branch in these repositories:
- LeoRover/leo_common-ros2.git and
- LeoRover/leo_desktop-ros2.git.
However, in LeoRover/leo_simulator.git, I only found a branch named “ros2”. Is it compatible with Humble?
What else is required?
I cloned the repositories in the src
folder of my workspace, used rosdep install --from-paths src --ignore-src -r -y
and colcon build --symlink-install
and sourced the workspace afterwards.
Trying to run Gazebo with ros2 launch leo_gazebo leo_gazebo.launch.py
yields an error: spawner.py not found
.
I replaced spawner.py
with spawner
in the file leo_gazebo/launch/spawn_robot.launch.py
, and it loads a little longer, but a different errors appear:
[spawner-6] [ERROR] [1690367129.466511236] [diff_drive_controller_spawner]: Controller manager not available
[gazebo_ros2_control]: parser error Couldn't parse params file: '--params-file package://leo_description/config/controllers.yaml'. Error: Error opening YAML file, at ./src/parser.c:270, at ./src/rcl/arguments.c:406
I am using Humble in a docker container with the osrf/ros:humble-desktop-full
image.
What do I need to do to setup the Leo simulator with ROS 2?
Thanks in advance for help