mirror of
https://github.com/bplaat/rescuebot
synced 2026-08-27 20:02:58 +00:00
No description
- C++ 89.2%
- HTML 10.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| documents | ||
| include | ||
| src | ||
| .gitignore | ||
| build.sh | ||
| LICENSE | ||
| platformio.ini | ||
| README.md | ||
RescueBot
Technische Informatica - Project 2 (RescueBot) - Group 5
Slave to Master protocol
Values to receive from nano:
distance_to_objectrepresents the distance the the object in front of the car in cmdistance_to_leftrepresents the distance to first left object / wall in cmdistance_to_rightrepresents the distance to first right object / wall in cmdistance_to_groundrepresents the distance to the ground in cmir_leftthe value of the ir sensor on the left site as boolean (1 means border found)ir_rightthe value of the ir sensor on the right site as boolean (1 means border found)
struct slave_to_master {
uint8_t distance_to_object;
uint8_t distance_to_left;
uint8_t distance_to_right;
uint8_t distance_to_ground;
uint8_t ir_left;
uint8_t ir_right;
};