Documentation et code nécessaire à l'opération du drone arboricole autonome.
ROS2: https://github.com/ros2
ArduPilot: https://github.com/ArduPilot/ardupilot
Mavros: https://github.com/mavlink/mavros/tree/ros2
Intel RealSense: https://github.com/IntelRealSense/realsense-ros
RTABMap: https://github.com/introlab/rtabmap_ros
DeepForest: https://github.com/weecology/DeepForest
The following guide goes through the setup required to deploy the OceanSight Docker container.
-
Install Git
sudo apt install -y git
-
Setup your ssh key
Setup your github ssh key by following the instructions under Generating a new SSH key and Adding your SSH key to the ssh-agent -
Verify setup
After completing the setup, make sure that your ssh key exists at this location with the following command.cat ~/.ssh/id_ed25519
-
Clone the repository
Clone the repository with this command to install all the submodules properly.git clone --recurse-submodules https://github.com/chcaya/tree_landing_ws.git
-
Install Docker Engine
Install Docker Engine by following the instructions in this link. -
Complete Docker Post-Installation Steps
Complete the post-installation steps to remove the need forsudo
with Docker commands by following this link.
sudo docker system prune -a
-
Build the base docker image
cd ~/tree_landing_ws/ docker build --target base -f ~/tree_landing_ws/.devcontainer/Dockerfile -t ros:base ~/tree_landing_ws/
-
Run post build script from inside the container
docker run --rm -u ubuntu -v ~/tree_landing_ws:/home/ubuntu/tree_landing_ws ros:base bash /home/ubuntu/tree_landing_ws/.devcontainer/postCreateBase.sh
-
Test the new docker image
bash ~/tree_landing_ws/src/tree_landing/scripts/drone_launch.sh
-
Run the script to create the start up service
bash ~/tree_landing_ws/src/tree_landing/scripts/create_startup_script.bash
-
Reboot the computer to test the whole pipeline
sudo reboot