Commit Graph

12 Commits

Author SHA1 Message Date
Rihards Skuja
35b8bd0ab2
Allow precise servo speed adjustments based on desired load 2018-01-31 13:14:27 +02:00
Rihards Skuja
9f6e90f27f
Use TIMER2 for sonar interrupts 2018-01-23 23:23:33 +02:00
Rihards Skuja
e7059c790e
Clean up unused DS18B20 constants 2018-01-23 23:09:21 +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
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
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
4e6115560c
Add initial code for the base station 2018-01-19 18:13:16 +02:00