3 * @brief Declare code/typedefs common to both Sensors and Actuators
8 /** Function pointer for sensor reading **/
9 typedef bool (*ReadFn)(int, double *);
10 /** Function pointer for actuator setting **/
11 typedef bool (*SetFn)(int, double);
12 /** Function pointer for sensor initialisation **/
13 typedef bool (*InitFn)(const char *, int);
14 /** Function pointer for sensor cleanup **/
15 typedef bool (*CleanFn)(int);
16 /** Function to check the sanity of a value **/
17 typedef bool (*SanityFn)(int, double);