Thunderhawk is a drone developed by the Dronolab team at ÉTS. Utilizing ROS2 Humble, Thunderhawk is designed for advanced applications such as passenger transport and package delivery.
Working in a dev container will allow you to have the same environnement as the CI and make sure that your code will work on another computer. It will also allow you to easily switch package version and test things without breaking your computer.
- Install Docker Desktop
- Install Visual Studio Code
- Install Xserver (We recommend VcXsrv)
- Install the Remote - Containers extension in VSCode
- Clone and open the repository
- Click on the green button in the bottom left corner of VSCode and select "Remote-Containers: Reopen in Container" or use the command palette to do it.
- Wait for the container to build
- Start Xserver with the
-nowgl
option (double click on the shortcut to open it if you use VcXsrv)
Same as the windows installation, step 3 and 8 can be skiped.
Replace the DISPLAY environment variable in the .env file
echo DISPLAY=$DISPLAY
Suggestion: Configure docker to be able to run as non-root user https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user
git clone https://github.com/dronolab/thunderhawk.git
vcs import src < thunderhawk.repos
colcon build --symlink-install
source install/setup.bash
colcon build --packages-skip px4_msgs --symlink-install
source install/setup.bash
ros2 launch _______
To add a package for Thunderhawk, create it using the ROS2 command (Creating Your First ROS2 Package). Name it starting with thunderhawk_
to ensure Git tracking. For non-Rove specific packages, create a separate repository and add it to thunderhawk.repos
.
Update Thunderhawk-specific packages directly in this repository. For Dronolab-related or external packages, update their references in thunderhawk.repos
. Change the Git branch in thunderhawk.repos
as needed and apply updates with vcs import src < rove.repos
.
Bringup: This essential package is responsible for initializing the drone in real-world settings. It activates all necessary subsidiary packages tailored for specific operational scenarios.
Description: This package is specifically designed for detailing the drone's structure in URDF (Unified Robot Description Format).
Gazebo: This package facilitates the simulation of the drone within the Gazebo environment, providing a virtual testing ground.
Hardware: Dedicated to initializing all sensors and actuators on the drone, this package is pivotal for operational readiness. It is specifically designed for use with the actual hardware and is not suitable for development machines.
Navigation: This is a wrapper package that integrates navigation functionalities, primarily based on the nav2 framework.
SLAM (Simultaneous Localization and Mapping): This package serves as a comprehensive wrapper for SLAM operations, incorporating tools like slam_toolbox, rtab map, and sensor filters for effective environment mapping and drone localization.