Open
Description
Hi, I’m working on an autonomous robot in ROS 2 Humble and I want to use opennav_coverage v1.2.1 for coverage path planning. I was able to successfully install fields2cover and opennav_coverage in my ROS 2 Humble environment, but I am struggling to integrate opennav_coverage into my robot package.
I want to:
- Use opennav_coverage to generate a coverage plan for my own saved map.
- Make my robot follow the generated coverage plan using Nav2 or another approach.
Robot Setup
My robot includes the following components:
- Localization & Navigation: Nav2 stack with map_server, amcl, and robot_localization (EKF).
- LiDAR Sensor: Slamtec RPLIDAR S1 for obstacle detection and mapping.
- IMU: Complementary filter for sensor fusion.
- Micro-ROS Nodes: Used for motor control via an ESP32-based microcontroller running Micro-ROS Agent.
- TF Setup: Static transform publisher for map → odom.
- Laser Filter: Processing LiDAR data before navigation.
- URDF-based Model: Robot is defined in URDF and published via robot_state_publisher.
What I Have Tried
- Successfully installed fields2cover and opennav_coverage.
- Subscribed to the /map topic and tried to pass it to the coverage planner.
- Attempted to publish the generated coverage plan as waypoints for navigation.
Issue
Even though I can run opennav_coverage, I am unable to properly integrate it with my own map and move my robot along the planned coverage path. I would appreciate any guidance on:
- How to correctly use opennav_coverage in my robot package to generate coverage plan inside my generated map.
- How to generate waypoints from the coverage plan and use them for navigation.
- Any example implementations or best practices for integrating opennav_coverage with a custom robot.
References
- OpenNav Coverage GitHub: https://github.com/OpenNav-Autonomous-Mobility/opennav_coverage
- Fields2Cover Documentation: https://github.com/FieldRobotics-Lab/Fields2Cover
- ROS 2 Navigation: https://navigation.ros.org/
Code Snippets:
Would appreciate any insights on how to connect OpenNav Coverage with Nav2 and use it for full coverage path planning. Thanks in advance! 🙌