Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1152 from PX4/sensor_drivers | Lorenz Meier | 2014-07-12 | 37 | -197/+1790 |
|\ | | | | | Sensor drivers | ||||
| * | Add note about need to scan external buses first | Lorenz Meier | 2014-07-12 | 1 | -0/+1 |
| | | |||||
| * | fix ms5611 code style for usage call | Lorenz Meier | 2014-07-12 | 1 | -4/+5 |
| | | |||||
| * | hmc5883: periodically check the config and range registers | Andrew Tridgell | 2014-07-12 | 1 | -27/+114 |
| | | | | | | | | | | | | | | | | | | | | | | this copes with I2C comms errors causing the range or config registers to become corrupted, leading to bad reading. This is easily reproducible with a 1.3m I2C cable in the same run of cable as a GPS UART cable. The error happens every half hour or so. Conflicts: mavlink/include/mavlink/v1.0 src/drivers/hmc5883/hmc5883.cpp | ||||
| * | mpu6000: fixed internal/external mixup in pointers | Andrew Tridgell | 2014-07-12 | 1 | -2/+2 |
| | | | | | | | | | | | | | | Thanks to Emile for spotting this! Conflicts: mavlink/include/mavlink/v1.0 | ||||
| * | device: use bitfields to keep DeviceStructure small | Andrew Tridgell | 2014-07-12 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | this keeps it small enough to fit in a float, which makes it possible to see the full value in a MAVLink tlog Conflicts: mavlink/include/mavlink/v1.0 | ||||
| * | device: pass CDev::ioctl() to superclass | Andrew Tridgell | 2014-07-12 | 1 | -0/+7 |
| | | | | | | | | this allows DEVIOCGDEVICEID to work. | ||||
| * | lsm303d: setup device type | Andrew Tridgell | 2014-07-12 | 1 | -0/+2 |
| | | |||||
| * | hmc5883: setup device type | Andrew Tridgell | 2014-07-12 | 1 | -0/+2 |
| | | |||||
| * | drv_mag: added devtypes for magnetometers | Andrew Tridgell | 2014-07-12 | 1 | -0/+7 |
| | | |||||
| * | device: added a _device_id to all drivers | Andrew Tridgell | 2014-07-12 | 5 | -1/+57 |
| | | | | | | | | | | | | | | | | | | this device ID identifies a specific device via the tuple of (bus, bus type, address, devtype). This allows device specific configuration data to be stored along with a device ID, so the code can know when the user has changed device configuration (such as removing an external compass), and either invalidate the device configuration or force the user to re-calibrate | ||||
| * | Merged master | Lorenz Meier | 2014-07-12 | 18 | -106/+244 |
| |\ | |||||
| * | | build: fixed running build from external directory | Andrew Tridgell | 2014-07-08 | 1 | -2/+2 |
| | | | |||||
| * | | Updated submodule update instructions | Lorenz Meier | 2014-07-08 | 1 | -2/+2 |
| | | | |||||
| * | | Tools: skip check_submodules.sh when GIT_SUBMODULES_ARE_EVIL is set | Andrew Tridgell | 2014-07-08 | 1 | -0/+6 |
| | | | | | | | | | | | | this avoids using submodules when a specific NuttX tree is specified | ||||
| * | | Revert "Tools: skip check_submodules.sh when NUTTX_SRC is set" | Lorenz Meier | 2014-07-08 | 1 | -7/+0 |
| | | | | | | | | | | | | This reverts commit ac8f179f2dad99d664a6f9de4df954bea7fe5858. | ||||
| * | | Tools: skip check_submodules.sh when NUTTX_SRC is set | Andrew Tridgell | 2014-07-08 | 1 | -0/+7 |
| | | | | | | | | | | | | this avoids using submodules when a specific NuttX tree is specified | ||||
| * | | Merge branch 'warning_fixes_v5' into sensor_drivers | Lorenz Meier | 2014-07-08 | 3 | -2/+3 |
| |\ \ | |||||
| | * \ | Merge branch 'master' of github.com:PX4/Firmware into warning_fixes_v5 | Lorenz Meier | 2014-07-08 | 6 | -23/+93 |
| | |\ \ | |||||
| | * | | | AT24C: Fix warning due to missing function prototype. | Lorenz Meier | 2014-07-08 | 1 | -0/+1 |
| | | | | | |||||
| | * | | | param command: fix warnings | Lorenz Meier | 2014-07-08 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | LL40LS: Fix initialiser order in class | Lorenz Meier | 2014-07-08 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | MB12xx: Fix initialiser order in class | Lorenz Meier | 2014-07-08 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | L3GD20: Fix usage function call to fit existing structure. | Lorenz Meier | 2014-07-08 | 1 | -6/+6 |
| | | | | | |||||
| * | | | | MPU6000: Fix usage function call to fit existing structure. | Lorenz Meier | 2014-07-08 | 1 | -5/+6 |
| | | | | | |||||
| * | | | | LSM303: Fix usage function call to fit existing structure. | Lorenz Meier | 2014-07-08 | 1 | -5/+6 |
| | | | | | |||||
| * | | | | LSM303D: deal with missing external bus | Lorenz Meier | 2014-07-08 | 1 | -0/+5 |
| | | | | | |||||
| * | | | | MS5611: Deal with missing external bus | Lorenz Meier | 2014-07-08 | 1 | -0/+4 |
| | | | | | |||||
| * | | | | Board config cleanup for external bus support | Lorenz Meier | 2014-07-08 | 2 | -1/+1 |
| | | | | | |||||
| * | | | | HMC5883 post merge cleanup | Lorenz Meier | 2014-07-08 | 2 | -3/+4 |
| | | | | | |||||
| * | | | | Merge branch 'master' of github.com:PX4/Firmware into sensor_drivers | Lorenz Meier | 2014-07-08 | 6 | -23/+93 |
| |\ \ \ \ | |||||
| * | | | | | MB12XX Driver: Added a class instance and device specific path | akdslr | 2014-07-08 | 1 | -13/+32 |
| | | | | | | |||||
| * | | | | | LL40LS driver: Changes from the May 4th plane test flight | akdslr | 2014-07-08 | 1 | -5/+7 |
| | | | | | | |||||
| * | | | | | LL40LS driver: Updated the value to write to the register to trigger a ↵ | akdslr | 2014-07-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | measurement | ||||
| * | | | | | LL40LS driver: adding new range finder driver | akdslr | 2014-07-08 | 2 | -0/+920 |
| | | | | | | |||||
| * | | | | | LL40LS driver: Added new driver to the config make files | akdslr | 2014-07-08 | 2 | -0/+2 |
| | | | | | | |||||
| * | | | | | l3gd20: fixed a build warning | Andrew Tridgell | 2014-07-08 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | hmc5883: fixed build warnings | Andrew Tridgell | 2014-07-08 | 1 | -1/+2 |
| | | | | | | |||||
| * | | | | | hmc5883: fixed driver startup when trying both buses | Andrew Tridgell | 2014-07-08 | 1 | -2/+2 |
| | | | | | | |||||
| * | | | | | hmc5883: added -C option to calibrate on startup | Andrew Tridgell | 2014-07-08 | 1 | -7/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/drivers/hmc5883/hmc5883.cpp | ||||
| * | | | | | added support for two instances of hmc5883 driver | Andrew Tridgell | 2014-07-08 | 1 | -43/+72 |
| | | | | | | |||||
| * | | | | | hmc5883: added support for -R rotation option | Andrew Tridgell | 2014-07-08 | 1 | -8/+37 |
| | | | | | | |||||
| * | | | | | Merged L3GD20 orientation flag while keeping original bus speed | Andrew Tridgell | 2014-07-08 | 1 | -9/+20 |
| | | | | | | |||||
| * | | | | | Merged lsm303d update, keeping default frequency | Andrew Tridgell | 2014-07-08 | 1 | -10/+23 |
| | | | | | | |||||
| * | | | | | mpu6000: added -R rotation option | Andrew Tridgell | 2014-07-08 | 1 | -9/+23 |
| | | | | | | |||||
| * | | | | | lib/conversion: added rotate_3f() | Andrew Tridgell | 2014-07-08 | 2 | -0/+150 |
| | | | | | | | | | | | | | | | | | | | | | | | | will be used for user specified rotations in sensor drivers | ||||
| * | | | | | FMUv2: added define for PX4_I2C_BUS_ONBOARD | Andrew Tridgell | 2014-07-08 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | needed for hmc5883 on main bus (for FMUv3) | ||||
| * | | | | | mpu6000: allow for two mpu6000 instances, one internal, one external | Andrew Tridgell | 2014-07-08 | 1 | -36/+46 |
| | | | | | | | | | | | | | | | | | | | | | | | | split g_dev into g_dev_int and g_dev_ext | ||||
| * | | | | | ms5611: added -X option for external SPI bus | Andrew Tridgell | 2014-07-08 | 3 | -14/+44 |
| | | | | | | |||||
| * | | | | | mpu6000: added -X option for external bus | Andrew Tridgell | 2014-07-08 | 1 | -7/+41 |
| | | | | | |