Arduino code for the Pequeña Banda Robótica.
The repository includes several Arduino Projects:
These files should be placed inside your Arduino/libraries folder, as they contain the base classes.
Base template class for storing the songs. The template takes the following parameters:
- NB_LIMBS: number of lims of the corresponding robot.
- BITS_FOR_POS: number of bits dedicated in each byte to store the position.
Base template class for managing the different robots. The template takes two parameters, defining the geometry of the robot:
- NB_HIT_JOINTS
- NB_POS_JOINTS
Manages the logic and the relationship between the song and the robot.
Class for storing the scores for the drum. Includes a method for the creation of the following predefined patterns:
- SIMPLEST_RYTHM
- BASIC_RYTHM 1
- BASIC_RYTHM_WO_ACC 2
- CRESCENDO 3
Class for managing the behaviour of the drum robot.
Class for storing the scores for the drum. Includes a method for the creation of some predefined patterns.
Class for managing the behaviour of the drum robot.
Class for storing the scores for the singers. Includes a method for the creation of some predefined patterns.
Class for managing the behaviour of the singer robot.