Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/daniel-m-campos/where-am-i


https://github.com/daniel-m-campos/where-am-i

ros udacity

Last synced: about 23 hours ago
JSON representation

Awesome Lists containing this project

README

        

# Where-Am-I Project

![](img/RViz4.png)

### Install Requirements
This project requires `gcc>=9` due to the use of `C++17`.
```sh
$ git clone https://github.com/daniel-m-campos/where-am-i.git --recurse-submodules
$ where-am-i
$ source install-ubuntu.sh
```
#### Dependencies
* libignition-math2-dev
* protobuf-compiler
* ros-melodic-navigation
* ros-melodic-map-server
* ros-melodic-move-base
* ros-melodic-amcl

These are installed with `source install-ubuntu.sh` for ROS `kinetic` and `melodic` only.

### Build the workspace
```sh
$ cd /where-am-i/src
$ catkin_init_workspace
$ cd ..
$ catkin_make
```

### Launching
#### Gazebo World
```sh
$ cd /where-am-i
$ source devel/setup.sh
$ roslaunch my_robot world.launch
```
#### Localization
Open a new terminal:
```sh
$ cd /where-am-i
$ source devel/setup.sh
$ roslaunch my_robot amcl.launch
```

### Workspace Structure
```sh
where-am-i/
├── config.rviz
├── img
│ ├── Gazebo1.png
│ ├── Gazebo3.png
│ ├── Gazebo4.png
│ ├── Gazebo5.png
│ ├── RViz1.png
│ ├── RViz2.png
│ ├── RViz3.png
│ ├── RViz4.png
│ └── RViz5.png
├── install-ubuntu.sh
├── README.md
└── src
├── CMakeLists.txt -> /opt/ros/melodic/share/catkin/cmake/toplevel.cmake
└── my_robot
├── CMakeLists.txt
├── config
├── launch
├── maps
├── meshes
├── package.xml
├── urdf
└── worlds
```