Code repository for Robosoccer 2018
Teensy 3.5: Wire it as specified in the circuit drawing. Otherwise, you may need to change the pin mappings in the code.
Component | Connection Type |
---|---|
Compass | Serial4 |
Multiplexer | Address 0x70 on Wire1 |
Front IR Sensor | Address 0x29, Port 4 on multiplexer |
Left IR Sensor | Address 0x29, Port 7 on multiplexer |
Back IR Sensor | Address 0x29, Port 0 on multiplexer |
Right IR Sensor | Address 0x29, Port 2 on multiplexer |
Raspberry Pi: Connected to Teensy via USB cable.
Teensy 3.5
- Download the Arduino IDE and software for Teensy.
- Download and install robosoccer as a library in Arduino IDE (you must have Arduino IDE version 1.6.0 or newer).
- Edit or create new files for Arduino code (.ino) in the main folder.
Raspberry Pi
- Download OpenCV 3.3.0 for Python.
- Will write this eventually
- Write and test localization code.
- Write and test out-of-bounds code.
- Test ball tracking code.
- Integrate the strategies.