|
1 | | -# global_navigation |
| 1 | +[](https://github.com/midemig/global_navigation/actions/workflows/rolling.yaml) |
2 | 2 |
|
3 | | -[](https://github.com/IntelligentRoboticsLabs/global_navigation/actions/workflows/rolling.yaml) |
| 3 | +# Global Navigation |
4 | 4 |
|
5 | | -This package contains a new approach to navigate at outdoors |
| 5 | +This repository introduces an innovative approach for outdoor navigation using ROS2. |
| 6 | + |
| 7 | +## Packages |
| 8 | + |
| 9 | +This repository comprises two packages: |
| 10 | + |
| 11 | +- **local_navigation**: Reconstructs the navigated area into a grid map incorporating elevation and RGB data. |
| 12 | +- **traversability_updater**: Computes a navigability score based on previously traversed areas. |
| 13 | + |
| 14 | +The animation below highlights highly navigable areas in yellow and green. As the robot traverses the grass, all mapped zones with similar characteristics are marked as highly navigable. |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | +## Usage |
| 19 | + |
| 20 | +To reproduce our results, follow these instructions: |
| 21 | + |
| 22 | +### Installation |
| 23 | + |
| 24 | +- Requirements |
| 25 | + - Ubuntu 24.04 |
| 26 | + - Ros2 Rolling |
| 27 | + - Python 3.12.3 |
| 28 | + |
| 29 | + |
| 30 | +- Create a workspace and clone the repository |
| 31 | + |
| 32 | + ```sh |
| 33 | + mkdir -p global_navigation_ws/src |
| 34 | + cd global_navigation_ws/src |
| 35 | + git clone https://github.com/midemig/global_navigation -b rolling |
| 36 | + ``` |
| 37 | + |
| 38 | +- Install dependences and build workspace |
| 39 | + |
| 40 | + ```sh |
| 41 | + sudo apt install libg2o-dev |
| 42 | + rosdep update |
| 43 | + vcs import --recursive . < global_navigation/dependencies.repos |
| 44 | + cd .. |
| 45 | + rosdep install --from-paths src --ignore-src -r -y |
| 46 | + colcon build --symlink-install |
| 47 | + ``` |
| 48 | + |
| 49 | +- Install python dependences |
| 50 | + |
| 51 | + ```sh |
| 52 | + sudo apt install python3.12-venv |
| 53 | + python3 -m venv global_nav_env |
| 54 | + source global_nav_env/bin/activate |
| 55 | + pip3 install -r src/global_navigation/requirements.txt |
| 56 | + ``` |
| 57 | + |
| 58 | +### Launch Demo |
| 59 | + |
| 60 | +1. Download and unzip the [demo bagfile](https://urjc-my.sharepoint.com/:u:/g/personal/juancarlos_serrano_urjc_es/EQI9T9RNYuFJg6reV-pq-7IBjMEeEo7RxaJCudMs9IyRTg?e=hSNyQB). |
| 61 | +2. In a terminal, play the downloaded bag: |
| 62 | + |
| 63 | + ```sh |
| 64 | + ros2 bag play cesped_00/ --clock -p |
| 65 | + ``` |
| 66 | + |
| 67 | +3. In another terminal, execute: |
| 68 | + |
| 69 | + ```sh |
| 70 | + source global_nav_env/bin/activate |
| 71 | + export PYTHONPATH=$VIRTUAL_ENV/lib/python3.12/site-packages:$PYTHONPATH |
| 72 | + ros2 launch local_navigation demo.launch.py |
| 73 | + ``` |
| 74 | + |
| 75 | +## Authors |
| 76 | + |
| 77 | +- [Francisco Martín Rico](github.com/fmrico) |
| 78 | +- [Miguel Ángel de Miguel](github.com/midemig) |
| 79 | +- [Juan Sebastián Cely](github.com/juanscelyg) |
| 80 | +- [Juan Carlos Manzanares](github.com/Juancams) |
| 81 | +- [Alberto García](github.com/aaggj) |
0 commit comments