autonav_pkg offers an easy way to explore autonomous navigation for differential-drive robots. It uses simulated LiDAR technology, occupancy grid mapping, and an Artificial Potential Field (APF) controller. This package includes example launch files and visualization tools to help you get started quickly.
To use this software, follow these steps:
autonav_pkg.autonav_pkg_<version>.zip.Once the download is complete, locate the downloaded file on your computer:
autonav_pkg_<version>.zip file.Before running the application, you need to create a ROS workspace if you don’t have one already:
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/src
catkin_init_workspace
autonav_pkg folder into the workspace:
mv /path/to/autonav_pkg ~/catkin_ws/src/
cd ~/catkin_ws
catkin_make
To run the autonomous navigation demo, simply follow these steps:
source /opt/ros/noetic/setup.bash
(Replace “noetic” with your ROS version if needed).
source ~/catkin_ws/devel/setup.bash
roslaunch autonav_pkg demo.launch
Once the demo is running, use RViz (a 3D visualization tool for ROS) to see the robot’s environment. Open a new terminal and type:
rosrun rviz rviz
In RViz, you can load the appropriate configuration to visualize the robot’s movements and sensor data.
demo.launch: The main launch file to start the simulation.map.yaml: A sample map to demonstrate occupancy grid mapping.robot_model.urdf: The robot model used for simulations.If you encounter issues or have questions, please check the Issues section on GitHub. You can also reach out to the community on relevant forums to share experiences or seek help.
We welcome contributions to make this project better. If you’re interested, please read the contributing guidelines in the repository and submit your pull requests.
This project is licensed under the MIT License. See the LICENSE file for more details.
Don’t forget to download autonav_pkg to start your journey into autonomous navigation!