Lorenz Meier
cdfbe9bcc4
px4io: Do not forward excessively low battery voltages
2014-07-12 23:30:34 +02:00
Lorenz Meier
5f8baed876
mb12xx: flash efficiency
2014-07-12 21:33:34 +02:00
Lorenz Meier
69937702b8
gps: Flash efficiency
2014-07-12 21:33:21 +02:00
Lorenz Meier
c059fb03ea
blinkm: Make driver flash efficient
2014-07-12 21:33:09 +02:00
Lorenz Meier
959bf6a2c8
ll40ls: Optimize for size
2014-07-12 19:35:49 +02:00
Lorenz Meier
70d0ff4922
SF0X: optimize for size
2014-07-12 19:35:11 +02:00
Lorenz Meier
aaf2652e26
MKBLCTRL: optimize for size
2014-07-12 19:34:58 +02:00
Lorenz Meier
144bb89e02
HoTT: optimize for size
2014-07-12 19:34:40 +02:00
Lorenz Meier
85301e1172
frsky: Optimize for size
2014-07-12 19:34:28 +02:00
Lorenz Meier
d6632ee2dd
ardrone: Optimize for size, since performance is good at any rate
2014-07-12 19:34:06 +02:00
Lorenz Meier
01da782a8d
Merge pull request #1152 from PX4/sensor_drivers
...
Sensor drivers
2014-07-12 19:23:07 +02:00
Lorenz Meier
67e3a904b6
fix ms5611 code style for usage call
2014-07-12 19:05:13 +02:00
Andrew Tridgell
005dd206d1
hmc5883: periodically check the config and range registers
...
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
2014-07-12 19:04:25 +02:00
Lorenz Meier
1bf293270d
Merge pull request #1163 from hxxnrx/px4io_i2c_speed_400khz
...
Set IO PX4_I2C_BUS_ONBOARD I2C speed to 400KHz
2014-07-12 18:44:58 +02:00
Andrew Tridgell
8a3a87331d
mpu6000: fixed internal/external mixup in pointers
...
Thanks to Emile for spotting this!
Conflicts:
mavlink/include/mavlink/v1.0
2014-07-12 16:27:39 +02:00
Andrew Tridgell
20cd5026d8
device: use bitfields to keep DeviceStructure small
...
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
2014-07-12 16:27:19 +02:00
Andrew Tridgell
6cffa948fe
device: pass CDev::ioctl() to superclass
...
this allows DEVIOCGDEVICEID to work.
2014-07-12 16:26:21 +02:00
Andrew Tridgell
c6b0dc1ee8
lsm303d: setup device type
2014-07-12 16:26:12 +02:00
Andrew Tridgell
30a6a3d0b6
hmc5883: setup device type
2014-07-12 16:25:57 +02:00
Andrew Tridgell
a2739707bb
drv_mag: added devtypes for magnetometers
2014-07-12 16:25:50 +02:00
Andrew Tridgell
93d444d1aa
device: added a _device_id to all drivers
...
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
2014-07-12 16:25:43 +02:00
Lorenz Meier
a2f528c5ba
Merged master
2014-07-12 16:11:43 +02:00
Lorenz Meier
f487536caf
Merge pull request #1168 from PX4/gps_printing
...
GPS driver: Print velocity as part of status command
2014-07-11 17:33:38 +02:00
Lorenz Meier
ee573fea9d
GPS driver: Print velocity as part of status command
2014-07-11 14:25:16 +02:00
Lorenz Meier
7ea76336ca
Better Doxygen for topics, no code changes
2014-07-11 14:24:07 +02:00
hxxnrx
c97e08bcf0
Set IO PX4_I2C_BUS_ONBOARD I2C speed to 400KHz
2014-07-10 21:50:23 +02:00
Jean Cyr
12da0efbb2
Read the full buffer
...
sizeof wont work here since file_buf is now a pointer
2014-07-10 00:55:33 -04:00
Jean Cyr
8c6745d53f
Prevent stack overflow when flashing px4io
...
Large local variable causing stack overflow when attempting to flash
IO!!!
2014-07-10 00:41:09 -04:00
Lorenz Meier
8f2340acaf
Merge pull request #1148 from PX4/fmu_stack
...
Reduce excessive FMU stack usage
2014-07-08 20:55:10 +02:00
Lorenz Meier
855679f610
Merge pull request #1131 from PX4/pr-1131
...
Fix SPI struct unitialized use warning
2014-07-08 18:02:13 +02:00
Lorenz Meier
83f343f196
LL40LS: Fix initialiser order in class
2014-07-08 13:53:25 +02:00
Lorenz Meier
f2cbc7fe27
MB12xx: Fix initialiser order in class
2014-07-08 13:53:10 +02:00
Lorenz Meier
812d326912
L3GD20: Fix usage function call to fit existing structure.
2014-07-08 13:52:42 +02:00
Lorenz Meier
875be65242
MPU6000: Fix usage function call to fit existing structure.
2014-07-08 13:52:28 +02:00
Lorenz Meier
7d15e999f1
LSM303: Fix usage function call to fit existing structure.
2014-07-08 13:52:10 +02:00
Lorenz Meier
92426c5cfc
LSM303D: deal with missing external bus
2014-07-08 13:51:33 +02:00
Lorenz Meier
a42ec7df1b
MS5611: Deal with missing external bus
2014-07-08 13:50:24 +02:00
Lorenz Meier
369c7d277f
Board config cleanup for external bus support
2014-07-08 13:50:00 +02:00
Lorenz Meier
a6b52f1c9f
HMC5883 post merge cleanup
2014-07-08 13:49:24 +02:00
akdslr
ba54983cdf
MB12XX Driver: Added a class instance and device specific path
2014-07-08 12:03:47 +02:00
akdslr
67b7a85888
LL40LS driver: Changes from the May 4th plane test flight
2014-07-08 12:03:40 +02:00
akdslr
7f91f0cc3e
LL40LS driver: Updated the value to write to the register to trigger a measurement
2014-07-08 12:03:31 +02:00
akdslr
36a9123822
LL40LS driver: adding new range finder driver
2014-07-08 12:03:24 +02:00
Andrew Tridgell
4271634585
l3gd20: fixed a build warning
2014-07-08 12:03:09 +02:00
Andrew Tridgell
1c6ea06790
hmc5883: fixed build warnings
2014-07-08 12:03:02 +02:00
Andrew Tridgell
dfee93f3b1
hmc5883: fixed driver startup when trying both buses
2014-07-08 12:02:53 +02:00
Andrew Tridgell
5e62ae7a9e
hmc5883: added -C option to calibrate on startup
...
Conflicts:
src/drivers/hmc5883/hmc5883.cpp
2014-07-08 12:01:50 +02:00
Andrew Tridgell
d952e81ab7
added support for two instances of hmc5883 driver
2014-07-08 12:00:20 +02:00
Andrew Tridgell
d2487e7718
hmc5883: added support for -R rotation option
2014-07-08 11:57:02 +02:00
Andrew Tridgell
a049f0841d
Merged L3GD20 orientation flag while keeping original bus speed
2014-07-08 11:56:45 +02:00