From 55c66f2c4a219d9ddeba36d0e2b32093198d814e Mon Sep 17 00:00:00 2001 From: Piotr Date: Fri, 24 Jan 2025 09:23:19 +0100 Subject: [PATCH] Add instalation guide --- README.md | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 72c23bf..b847f16 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # leo_robot_dlp -DLP - Drone Landing Platform + +**DLP - Drone Landing Platform** ROS Distribution: Noetic @@ -15,6 +16,44 @@ The custom leo_robot_dlp package is based on [leo_robot] package. Visit each package's ROS Wiki page for more information. \ For more information about the robot, visit [Robots/Leo Rover]. +## Instalation Guide + +## Installation Guide + +1. Flash the newest release of [LeoOS]. + Ensure your rover has the latest operating system installed by following the official LeoOS guide. + +2. Connect to the rover via [SSH]. + +3. Connect the rover to the [Internet]. + Ensure the rover is connected to the network for downloading updates and packages. + +4. Update packages. + Run the following command to update all system packages: + ```bash + apt update + ``` +5. Type the following commands to clone and build the `leo_robot_dlp` package: + ```bash + mkdir -p ~/ros_ws/src + cd ~/ros_ws/src + git clone https://github.com/fictionlab/leo_robot_dlp.git + cd .. + catkin build + ``` +6. Edit the `setup.bash` file to source from the extended workspace. + Open the `/etc/ros/setup.bash` file and ensure it includes the following: + ```bash + # source /opt/ros/noetic/setup.bash + source /home/pi/ros_ws/devel/setup.bash +7. Restart leo.service + ```bash + sudo systemctl restart leo.service + ``` + [leo_robot]: http://wiki.ros.org/leo_robot [leo_bringup]: http://wiki.ros.org/leo_bringup [leo_fw]: http://wiki.ros.org/leo_fw +[LeoOS]: https://docs.fictionlab.pl/leo-rover/guides/software-update +[ssh]: https://docs.fictionlab.pl/leo-rover/guides/ssh +[Internet]: https://docs.fictionlab.pl/leo-rover/guides/connect-to-network