System Setup
Fleet Manager
First, complete the ROS2 Installation and Configuration Guide. Then, install the Python dependencies listed in FleetManager/requirements.txt by executing:
pip3 install -r requirements.txt
MariaDB
Install the MariaDB development library:
sudo apt install libmariadb-dev
To set a password for the root user, run:
sudo mysql_secure_installation
To create the database and user, access MariaDB as root:
sudo mariadb -u root -p
Inside the MariaDB shell, execute the following SQL commands:
CREATE DATABASE IF NOT EXISTS fleet_database;
CREATE USER 'fleet'@'localhost' IDENTIFIED BY 'fleet';
GRANT ALL PRIVILEGES ON fleet_database.* TO 'fleet'@'localhost';
FLUSH PRIVILEGES;
EXIT;
Drone
First, complete the ROS2 Installation and Configuration Guide. Then, install the Python dependencies listed in Drone/requirements.txt by executing:
pip3 install -r requirements.txt
Cloud
Install the Python dependencies listed in Cloud/requirements.txt by executing:
pip3 install -r requirements.txt