|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Data Structures | |
| struct | ActuatorsMD25 |
Macros | |
| #define | ActuatorMD25Set actuators_md25_set |
| #define | ActuatorsMD25Init() |
| #define | ActuatorsMD25Commit() |
Functions | |
| void | actuators_md25_init (void) |
| void | actuators_md25_periodic (void) |
| void | actuators_md25_event (void) |
| void | actuators_md25_commit (void) |
| void | actuators_md25_set (uint8_t idx, int16_t value) |
Variables | |
| struct ActuatorsMD25 | actuators_md25 |
Definition in file actuators_md25.h.
| struct ActuatorsMD25 |
Definition at line 34 of file actuators_md25.h.
| Data Fields | ||
|---|---|---|
| uint8_t | accel_rate | accel rate (from 1 to 10) |
| uint8_t | bat | batterie voltage (in decivolt) |
| uint8_t | cmds[2] | commands |
| uint8_t | current[2] | current in motors (in deciamp) |
| int32_t | encoders[2] | encoder values |
| bool | initialized | init flag |
| uint8_t | mode | control mode |
| struct i2c_transaction | trans_cmd | i2c struct for command |
| struct i2c_transaction | trans_sensors | i2c struct for sensors |
| #define ActuatorMD25Set actuators_md25_set |
Definition at line 55 of file actuators_md25.h.
| #define ActuatorsMD25Commit | ( | ) |
Definition at line 57 of file actuators_md25.h.
| #define ActuatorsMD25Init | ( | ) |
Definition at line 56 of file actuators_md25.h.
|
extern |
Definition at line 108 of file actuators_md25.c.
References actuators_md25, ACTUATORS_MD25_I2C_ADDR, i2c_transmit(), I2CTransDone, and MD25_REG_SPEED1.
|
extern |
Definition at line 125 of file actuators_md25.c.
References actuators_md25, I2CTransDone, I2CTransFailed, I2CTransSuccess, and Int32FromBuf.
|
extern |
Definition at line 75 of file actuators_md25.c.
References actuators_md25, ACTUATORS_MD25_ACCEL_RATE, actuators_md25_init(), ACTUATORS_MD25_MODE, and I2CTransDone.
Referenced by actuators_md25_init().
|
extern |
Definition at line 90 of file actuators_md25.c.
References actuators_md25, ACTUATORS_MD25_I2C_ADDR, i2c_transceive(), i2c_transmit(), I2CTransDone, MD25_REG_ACCEL_RATE, and MD25_REG_ENCODER1.
Definition at line 118 of file actuators_md25.c.
References actuators_md25, and idx.
|
extern |
Definition at line 73 of file actuators_md25.c.
Referenced by actuators_md25_commit(), actuators_md25_event(), actuators_md25_init(), actuators_md25_periodic(), and actuators_md25_set().