|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Go to the source code of this file.
Classes | |
| class | ETSAirspeed |
Namespaces | |
| ets_airspeed | |
| Local functions in support of the shell command. | |
Macros | |
| #define | I2C_ADDRESS 0x75 /* 7-bit address. 8-bit address is 0xEA */ |
| #define | ETS_PATH "/dev/ets_airspeed" |
| #define | READ_CMD 0x07 /* Read the data */ |
| #define | MIN_ACCURATE_DIFF_PRES_PA 0 |
| The Eagle Tree Airspeed V3 cannot provide accurate reading below speeds of 15km/h. More... | |
| #define | CONVERSION_INTERVAL (1000000 / 100) /* microseconds */ |
Functions | |
| __EXPORT int | ets_airspeed_main (int argc, char *argv[]) |
| int | ets_airspeed::start () |
| Attempt to start driver on all available I2C busses. More... | |
| int | ets_airspeed::start_bus (int i2c_bus) |
| Start the driver on a specific bus. More... | |
| int | ets_airspeed::stop () |
| Stop the driver. More... | |
| int | ets_airspeed::reset () |
| Reset the driver. More... | |
| int | ets_airspeed::info () |
| Print a little info about the driver. More... | |
| static void | ets_airspeed_usage () |
Variables | |
| ETSAirspeed * | ets_airspeed::g_dev = nullptr |
Driver for the Eagle Tree Airspeed V3 connected via I2C.
Definition in file ets_airspeed.cpp.
| #define CONVERSION_INTERVAL (1000000 / 100) /* microseconds */ |
Definition at line 60 of file ets_airspeed.cpp.
Referenced by MS5525::Run(), ETSAirspeed::Run(), and SDP3X::Run().
| #define ETS_PATH "/dev/ets_airspeed" |
Definition at line 48 of file ets_airspeed.cpp.
Referenced by pmw3901::reset().
| #define I2C_ADDRESS 0x75 /* 7-bit address. 8-bit address is 0xEA */ |
Definition at line 47 of file ets_airspeed.cpp.
| #define MIN_ACCURATE_DIFF_PRES_PA 0 |
The Eagle Tree Airspeed V3 cannot provide accurate reading below speeds of 15km/h.
You can set this value to 12 if you want a zero reading below 15km/h.
Definition at line 57 of file ets_airspeed.cpp.
| #define READ_CMD 0x07 /* Read the data */ |
Definition at line 51 of file ets_airspeed.cpp.
Referenced by ETSAirspeed::measure().
| int ets_airspeed_main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 356 of file ets_airspeed.cpp.
References ets_airspeed_usage(), PX4_I2C_BUS_DEFAULT, ets_airspeed::reset(), ets_airspeed::start(), ets_airspeed::start_bus(), and ets_airspeed::stop().
|
static |
Definition at line 345 of file ets_airspeed.cpp.
References PX4_I2C_BUS_DEFAULT.
Referenced by ets_airspeed_main().