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()
uint8_t bat
batterie voltage (in decivolt)
struct i2c_transaction trans_sensors
i2c struct for sensors
void actuators_md25_init(void)
uint8_t current[2]
current in motors (in deciamp)
bool initialized
init flag
uint8_t accel_rate
accel rate (from 1 to 10)
void actuators_md25_periodic(void)
struct i2c_transaction trans_cmd
i2c struct for command
void actuators_md25_set(void)
int32_t encoders[2]
encoder values
struct ActuatorsMD25 actuators_md25
void actuators_md25_event(void)
I2C transaction structure.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.
int int32_t
Typedef defining 32 bit int type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.