|
HRI board firmware
v2.1
Microcontroller firmware of the board used during the HRI labs.
|
This is the documentation of the HRI board firmware. You will find a description of the provided library and drivers. As all the hardware and software is very new, please do not hesitate to suggest improvements to the course assistants (Romain Baud, Philipp Hörler and Laurent Jenni).
The code is divided into 3 parts:
One module (controller, communication, library or driver) is always splitted in two files, .h and .c, like in C++.
For most of the driver/library modules, call x_Init() only once, when the program starts (typically in the main()). Then, you can call x_Step()/x_Set()/x_Get() everytime as needed, typically in the control functions called periodically (ctrl_RegulatePosition()...).
See the "Modules" section of this documentation to see how they work.
1.8.13