This repository provides the necessary workspaces and scripts to enable manual navigation, 2D mapping, and autonomous navigation for the Agilex Scout Mini. It utilizes the Livox HAP LiDAR and Intel NUC to achieve these functionalities. Additionally, this repository includes a comprehensive step-by-step guide to help you set up and get started with the project.
- Manual Navigation: Control the Agilex Scout Mini manually using provided scripts and configurations.
- 2D Mapping: Create 2D maps of the environment using the Livox HAP LiDAR.
- Autonomous Navigation: Implement autonomous navigation capabilities to explore and navigate environments while avoiding obstacles.
- Agilex Scout Mini: A versatile robotic platform for various navigation tasks.
- Livox HAP LiDAR: Provides accurate environmental perception for mapping and navigation.
- Intel NUC: A compact and powerful computing unit to run the necessary software.
Before you begin, ensure you have met the following requirements:
- Colcon: Make sure Colcon is installed for building the workspaces. You can install it using:
sudo apt install python3-colcon-common-extensions - ROS2: Ensure you have ROS2 Humble installed. Follow the official ROS 2 installation guide if needed.
-
Clone the Repository:
Clone the main repository to your local machine:
git clone <this.repo> -
Unzip Workspaces:
Unzip the two workspaces to your desired location. Ensure they are placed in separate directories.
-
Navigate to Each Workspace:
Open a terminal for each workspace and navigate to their respective directories. -
Build with Colcon:
Run the following command in each terminal to build the workspaces:
colcon build
If build fails.... good luck soldier :>) -
Source both work spaces: Run the following command to source both work spaces after they build with no errors:
source /path/to/lidar_ws/install/setup.sh
source /path/to/colcon_ws/install/setup.sh
- Move scripts:
Move each of the scriptsautonav.sh,robot_startup.sh, andnav2_manual.bashto your home directory. - Ensure pathing is correcrt:
Inrobot_startup.shensure that the pathing for the source commands is correct for your environmnet. - Running scripts:
Now that everything is setup, you should be able to open a terminal and run the scripts
robot_startup.shis the the first command to run. This script will source everything and launch thenav2_manual.bash. This will allow you to manually navigate and map an area.autonav.shis the script that can be used to launch autonomous navigation. REMEMBER to name the maplabotherwise the script won't work.