Commit Graph

14 Commits

Author SHA1 Message Date
Rihards Skuja
0d5d439ce1
Clean up temperature assignment when sending data 2018-01-22 21:34:02 +02:00
Rihards Skuja
e62c361970
Initial logic for avoiding obstacles 2018-01-22 21:24:41 +02:00
Rihards Skuja
6dac67f5a9
Add functions for different servo states 2018-01-22 21:24:15 +02:00
Rihards Skuja
dc5b0e9995
Report ECHO timeouts, add minimum sonar distance 2018-01-22 21:23:27 +02:00
Rihards Skuja
a843375c7e
Fix Fast PWM output for servos 2018-01-22 13:01:37 +02:00
Rihards Skuja
88751a91d5
Move MAC adress to common include header 2018-01-21 19:08:38 +02:00
Rihards Skuja
d0e9806d2b
Clean up Makefile includes 2018-01-21 13:54:20 +02:00
Rihards Skuja
0d28903b2c
Fix code duplication between both code bases
Both the robot and the base station had a lot of code that was
identical, like data structs, constants, radio library etc. The chosen
solution was to extract all shared code into a static library and link
the station and robot against it.
2018-01-20 22:51:44 +02:00
Rihards Skuja
cfbee51ff1
Additional Makefile cleanup 2018-01-20 22:42:13 +02:00
Rihards Skuja
2047a07c0a
Clean up Makefile 2018-01-20 22:19:28 +02:00
Rihards Skuja
ea087e182d
Send all sensor values from robot to base 2018-01-20 20:43:41 +02:00
Rihards Skuja
4ea41527f1
Use base staion LED to show found obstacles
Transmit 'true' from robot to base station if robot sonar distance is
below a set threshold and then turn on ('true' received) or off ('false' received)
base station's signal LED.
2018-01-20 18:47:50 +02:00
Rihards Skuja
92c3842ca9
Restore accidentally deleted code in 4e61155 2018-01-19 20:06:26 +02:00
Rihards Skuja
4e6115560c
Add initial code for the base station 2018-01-19 18:13:16 +02:00