https://github.com/awadell1/rpimapper
A mobile robotics platform for mapping an environment using an occupancy grid
https://github.com/awadell1/rpimapper
arduino c mapping matlab raspberry-pi robotics sonar
Last synced: 3 months ago
JSON representation
A mobile robotics platform for mapping an environment using an occupancy grid
- Host: GitHub
- URL: https://github.com/awadell1/rpimapper
- Owner: awadell1
- License: mit
- Created: 2017-04-12T20:37:08.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-20T03:11:36.000Z (about 9 years ago)
- Last Synced: 2025-08-21T01:25:29.797Z (10 months ago)
- Topics: arduino, c, mapping, matlab, raspberry-pi, robotics, sonar
- Language: Matlab
- Homepage: https://awadell1.github.io/RPiMapper/
- Size: 71.3 MB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RPiMapper
Welcome to the GitHub Repo for the RPiMapper Project. Here's a quick run down of where everything is and how to get started.
| Folder | Contents |
|---------------|---------------------------------------------------------------|
| Matlab | Contains the code that runs on the host computer |
| docs | Project website files |
| socketDemo | Quick demo showing socket communications between two computer |
| socket_stream | Contains the code that runs on the Raspberry Pi |
| sonarMain | Contains the code that runs on the Arduino |
## Getting Started #
On the Raspberry Pi
1. Clone the repo `https://github.com/awadell1/RPiMapper.git`
2. cd into `/socke_stream`
3. Run `bash compile.sh` to compile the source code with `gcc`
4. Start the control program with `./socketStream`
On the host computer:
1. Install MATLAB (Developed on 2016a) and Arduino IDE
2. Clone the repo `https://github.com/awadell1/RPiMapper.git`
3. Using the Arduino IDE write sonarMain.ino (It's in `/sonarMain`) to the Arduino nano.
4. Open the `/Matlab` directory in MATLAB
5. Connect to the robot using `robot = Robot(ROBOT IP ADDRESS HERE)`
6. Enter `freedriveProgram` into the console to start the mapping program
7. Use your arrow keys to move around and watch as RPiMapper maps the envirorment
You should now be able to drive RPiMapper and while mapping your envirorment.