Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
adirb:developers [2024/08/12 13:38] – Sandro | adirb:developers [2025/03/11 16:29] (current) – Sandro | ||
---|---|---|---|
Line 2: | Line 2: | ||
Welcome to the official developer documentation for ADIR BASIC, the differential drive robot designed for versatile indoor/ outdoor navigation. This chapter provides instructions on how to get ADIR up and running on your system. | Welcome to the official developer documentation for ADIR BASIC, the differential drive robot designed for versatile indoor/ outdoor navigation. This chapter provides instructions on how to get ADIR up and running on your system. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | === REPOSITORY === | ||
The official repository can be found here: [[https:// | The official repository can be found here: [[https:// | ||
+ | |||
+ | ---- | ||
+ | |||
+ | === SIMULATION === | ||
+ | |||
+ | This repository uses NVIDIA' | ||
---- | ---- | ||
Line 72: | Line 82: | ||
To use Adir, you must first install the necessary Debian packages. These packages contain all the dependencies and drivers required for Adir to operate seamlessly. The packages can latter be downloaded using rosdep. In order for rosdep to find the packages, we need to add the Antrobotics repository and the rosdep definitions for the packages. | To use Adir, you must first install the necessary Debian packages. These packages contain all the dependencies and drivers required for Adir to operate seamlessly. The packages can latter be downloaded using rosdep. In order for rosdep to find the packages, we need to add the Antrobotics repository and the rosdep definitions for the packages. | ||
+ | |||
**Adding apt repository** | **Adding apt repository** | ||
curl -s --compressed " | curl -s --compressed " | ||
- | sudo curl -s --compressed -o / | + | |
- | sudo apt update | + | sudo apt update |
+ | **Adding rosdep definition** | ||
- | == Cloning the Repository == | + | echo "yaml https:// |
+ | rosdep update | ||
+ | |||
+ | **Cloning the repository** | ||
mkdir -p adir_ws/src | mkdir -p adir_ws/src | ||
Line 85: | Line 100: | ||
git clone -b ros2-humble https:// | git clone -b ros2-humble https:// | ||
cd .. | cd .. | ||
+ | rosdep install --from-paths src --ignore-src -r -y | ||
colcon build --symlink-install | colcon build --symlink-install | ||
---- | ---- | ||
- | |||
- | |||
== Launching ADIR == | == Launching ADIR == | ||
Line 95: | Line 109: | ||
To start using ADIR, you can use the following command: | To start using ADIR, you can use the following command: | ||
- | ros2 launch odometry | + | ros2 launch odometry |
- | To start moving it, we can publish forward and angular velocities from the terminal or scripts on ros2 topic ' /cmd_cel | + | To start moving it, we can publish forward and angular velocities from the terminal or scripts on ros2 topic ' /cmd_vel |
---- | ---- | ||
Line 103: | Line 117: | ||
=== ADDITIONAL INFORMATION === | === ADDITIONAL INFORMATION === | ||
- | == Topics | + | == Topics == |
- | + | ||
- | For debugging purposes the folowing topics can be called. | + | |
- | + | ||
- | / | + | |
- | + | ||
- | can verify if stall is detected or if ADIR is running on RC/ autonomy commands | + | |
- | + | ||
- | / | + | |
- | can verify if a situation like overheat, overvoltage, | + | Below is a list of the topics used in this project along with their respective message types and descriptions. |
- | | + | ^ Topic Name (Publishers) |
+ | | /odom | nav_msgs/ | ||
+ | | / | ||
+ | | / | ||
+ | | / | ||
+ | | / | ||
- | can verify if a situation like motor_stalled, | + | ^ Topic Name (Subscribers) |
+ | | / | ||
- | / | + | == Services == |
- | can verify | + | ^ Service Name ^ Service Type ^ Description ^ |
+ | | / | ||
---- | ---- | ||