27 #ifndef ACTUATORS_MD25_H
28 #define ACTUATORS_MD25_H
54 #define ActuatorMD25Set(_i, _v) { actuators_md25.cmds[_i] = _v; }
55 #define ActuatorsMD25Init() actuators_md25_init()
56 #define ActuatorsMD25Commit() actuators_md25_set()
int32_t encoders[2]
encoder values
void actuators_md25_periodic(void)
void actuators_md25_event(void)
void actuators_md25_set(void)
struct i2c_transaction trans_sensors
i2c struct for sensors
void actuators_md25_init(void)
uint8_t accel_rate
accel rate (from 1 to 10)
struct ActuatorsMD25 actuators_md25
I2C transaction structure.
uint8_t bat
batterie voltage (in decivolt)
struct i2c_transaction trans_cmd
i2c struct for command
bool initialized
init flag
uint8_t current[2]
current in motors (in deciamp)
Architecture independent I2C (Inter-Integrated Circuit Bus) API.