Dribbler board

The Dribbler board has 2 functions, grab/catch the ball with the dribbler and detect if it has the ball via a blinking Infrared LED.

General Process

Following the main function, the first function that gets executed is the init() function in the dribbler_board.c. This function will initialize the peripherals, dribbler and ballsensor, followed by initializing the CAN bus. Once these are initialized, the board then loops over checking if a command over CAN bus has arrived and if the dribbler has the ball.

Source Code

Here we give a short overview of all the files and task they are part of.

MCP

Dribbler

Ballsensor