|
1 |
| -# Navigation docs |
| 1 | +# Navigation Docs |
| 2 | + |
| 3 | +## How to Run |
| 4 | + |
| 5 | +1. Connect to `roborregos_home` on Wi-Fi. |
2 | 6 |
|
3 |
| -## How to run |
4 |
| -1- connect to roborregos_home on wifi |
5 | 7 | On your computer:
|
6 |
| -'bash' |
7 |
| - |
8 |
| - |
9 |
| -Inside jetson nano the schema of repos |
10 |
| - repo with main branch = /home/jetson/home2 |
11 |
| - repo for development = /home/jetson/home_development |
12 |
| - |
13 |
| -!!WARNING!! |
14 |
| -only use development to change any value and commit and push after using the repo |
15 |
| -we dont want to lose progress |
16 |
| -Dont change main repo to another branch which is not main, we need a stable repo for the jetson |
17 |
| - |
18 |
| -- Compiling our basics |
19 |
| -We dont have to build all the repository because we only want to use |
20 |
| --Navigation packages |
21 |
| --Description packages |
22 |
| - |
23 |
| -Recommendation only build nav_main sllidar_ros2 frida_description |
24 |
| -How to build |
25 |
| -- Development |
26 |
| -'bash' |
27 |
| -cd /home/jetson/home_development |
28 |
| -colcon build --packages-select nav_main sllidar_ros2 frida_description |
29 |
| -source install/setup.bash |
30 |
| - |
31 |
| -- Main repo |
32 |
| -'bash' |
33 |
| -cd /home/jetson/home2 |
34 |
| -colcon build --packages-select nav_main sllidar_ros2 frida_description |
35 |
| -source install/setup.bash |
36 |
| - |
37 |
| -## Running lidar_vi |
38 |
| -1- Compile the repository on jetson nano |
39 |
| -run following command on jetson |
40 |
| -'bash' |
41 |
| -ros2 launch nav_main pr |
42 |
| - |
43 |
| - |
44 |
| ---to be completed |
| 8 | +```bash |
| 9 | + |
| 10 | +cd home2 |
| 11 | +./run.sh navigation # Now you should be on the navigation Docker |
| 12 | +``` |
| 13 | + |
| 14 | +2. Run |
| 15 | + |
| 16 | +--- |
| 17 | + |
| 18 | +## Running Nav Basics |
| 19 | + |
| 20 | +The Nav Basics include the following components: |
| 21 | +- Dashgo driver |
| 22 | +- RP Lidar fixed |
| 23 | +- EKF filter for odom transform |
| 24 | +- (Optional) URDF state publisher to link `base_link` and lidar |
| 25 | + |
| 26 | +### Arguments |
| 27 | +- `publish_tf` (default: `true`): Active URDF publish state. |
| 28 | + - **WARNING:** Set to `false` if MoveIt config is active. |
| 29 | + |
| 30 | +### Run Command |
| 31 | +```bash |
| 32 | +ros2 launch nav_main nav_basics.launch.py |
| 33 | +``` |
| 34 | + |
| 35 | +--- |
| 36 | + |
| 37 | +## Running AMCL Localization |
| 38 | + |
| 39 | +The AMCL launch includes the following components: |
| 40 | +- Nav Basics launch (**Do not** launch `nav_basics` in another terminal if AMCL launch is running) |
| 41 | +- Nav2 Map Server |
| 42 | +- Nav2 AMCL |
| 43 | +- Nav2 Lifecycle Manager |
| 44 | + |
| 45 | +### Arguments |
| 46 | +- `publish_tf` (default: `true`): Active URDF publish state. |
| 47 | + - **WARNING:** Set to `false` if MoveIt config is active. |
| 48 | +- `map` (default: Path for lab map): Provide an **absolute path** to import the map. |
| 49 | + |
| 50 | +### Run Command |
| 51 | +```bash |
| 52 | +ros2 launch nav_main nav_amcl.launch.py |
| 53 | +``` |
| 54 | + |
| 55 | +--- |
| 56 | + |
| 57 | +## Running Navigation Node |
| 58 | + |
| 59 | +> **IMPORTANT:** You must run a SLAM before. Examples include `nav_amcl` or `rtabmap` (in development). |
| 60 | +
|
| 61 | +The Navigation Node includes the following components: |
| 62 | +- Nav2 Server |
| 63 | + |
| 64 | +### Arguments |
| 65 | +- `Custom yaml config` |
| 66 | + |
| 67 | +### Run Command |
| 68 | +```bash |
| 69 | +ros2 launch nav_main navigation_launch.py |
| 70 | +``` |
0 commit comments