Functions which handle the Robot ID. More...
Modules | |
Advanced informations | |
Enumerations | |
enum | eRobotId |
clusters the robot IDs More... | |
Functions | |
eRobotId | robotId_get (void) |
Returns the robot on which the current program is running. More... | |
Functions which handle the Robot ID.
All robots within the lab are constructed and built the same way. Therefore, it is a good assumption that they also have euqal properties. However, for finetuning the sensors measurements and the behaviour, it might be a helpful to distinguish the different robots.
This module provides a function, which returns on what robot it is running.
Internally a unique string is stored within the EEPROM of the microcontroller.
example
enum eRobotId |
clusters the robot IDs
eRobotId robotId_get | ( | void | ) |
Returns the robot on which the current program is running.
This function checks the EEPROM for a unique identifier. If set, it will return the corresponding robot ID.