Andrew Tridgell
39b40e41c2
mpu6000: close fds before exit
11 years ago
Andrew Tridgell
038ec194ae
lsm303d: close fds before exit
11 years ago
Andrew Tridgell
1bac7e7f8b
l3gd20: close fds before exit
11 years ago
Andrew Tridgell
b55403c551
mpu6000: use register_class_devname()
11 years ago
Andrew Tridgell
e334377e6c
lsm303d: use register_class_devname()
11 years ago
Andrew Tridgell
5a88dc02a7
l3gd20: use register_class_devname()
11 years ago
Andrew Tridgell
5ee41bc083
hmc5883: use register_class_devname()
11 years ago
Andrew Tridgell
b2b9665e44
device: added register_class_devname() API
...
this allows drivers to register generic device names for a device
class, with automatic class instance handling
11 years ago
Andrew Tridgell
895dc3a2bb
lsm303d: dump I2C control registers in regdump
11 years ago
Andrew Tridgell
0349937a82
lsm303d: added detailed logging of accels on extremes
...
this will log accel values and registers to /fs/microsd/lsm303d.log if
any extreme values are seen
11 years ago
Lorenz Meier
bc8cfc8d9d
Fix indendation in airspeed driver (no functional change)
11 years ago
Andrew Tridgell
70e56a3d54
px4fmu2: enable SPI sensor DRDY pins
11 years ago
Andrew Tridgell
53f2dc8296
drv_hrt: added hrt_call_init() and hrt_call_delay() APIs
...
hrt_call_init() can be used to initialise (zero) a hrt_call structure
to ensure safe usage. The hrt_call_every() interface calls this
automatically.
hrt_call_delay() can be used to delay a current callout by the given
number of microseconds
11 years ago
Andrew Tridgell
86ec1c37fa
l3gd20: added retries to disable_i2c()
11 years ago
Andrew Tridgell
476070510e
lsm303d/l3gd20: change filters to 50Hz analog on-chip filters
...
after discussion with Leonard these analog on-chip filters should be
at 50Hz
11 years ago
Andrew Tridgell
b0bb5a3450
ms5611: change bus speed to 5MHz
...
this gives 5MHz SPI bus speed (by asking for 6MHz due to timer
granularity).
Tests with a logic analyser show that the ms5611 is actually more
reliable at 5MHz than lower speeds
11 years ago
Andrew Tridgell
a52e70ca93
ms5611: removed unused variable
11 years ago
Andrew Tridgell
3f0f34a4c7
ms5611: give cleaner SPI traces
...
this makes logic traces cleaner by zeroing extra bytes written
11 years ago
Thomas Gubler
cbde8d27f8
fix small copy paste error in px4io driver
11 years ago
Thomas Gubler
8acea79918
fix small copy paste error in px4io driver
11 years ago
Lorenz Meier
0ba507b640
Added support for a total of four control groups to the IO driver and IO firmware. This allows to run auxiliary payload. Cleaned up defines for RC input channel counts, this needs another sweep to then finally allow up to 16 mapped channels and up to 20-24 RAW RC channels
11 years ago
Lorenz Meier
c72162cc5a
Add also default descriptor for alternate sensors
11 years ago
Lorenz Meier
7becbcdbd5
Made all usual suspects default to their custom names and only register the default name if its not already taken by someone else
11 years ago
Lorenz Meier
012adc9e33
Minor fixes to bus reset
11 years ago
Lorenz Meier
acc3cc087f
Added sensor rail reset IOCTL and command (fmu sensor_reset 10 resets for 10 ms)
11 years ago
Lorenz Meier
881cf61553
Added IOCTL and command for sensor rail reset (does not yet re-initialize sensor drivers)
11 years ago
Andrew Tridgell
edc5b68499
l3gd20: use highest possible on-chip filter bandwidth
...
this allows the software filter to do its job properly
11 years ago
Andrew Tridgell
b2119839bd
lsm303d: init filter to 773 Hz
11 years ago
Andrew Tridgell
bdb462379a
FMUv2: don't config ADC pins that are now used for MPU6k CS and other uses
11 years ago
Andrew Tridgell
19853f87a2
FMUv2: change CS pins to 2MHz
...
this gives cleaner traces
11 years ago
Andrew Tridgell
6ba54e7035
lsm303d: cleanup logic traces by pre-zeroing all transfers
11 years ago
Andrew Tridgell
9214154831
lsm303d: added I2C disable based on method from ST engineering support
11 years ago
Andrew Tridgell
cb76f07d31
l3gd20: added I2C disable based on method from ST engineering support
11 years ago
Andrew Tridgell
720f6ab313
FMUv2: set MPU6000 CS as initially de-selected
11 years ago
Andrew Tridgell
3a597d1a1f
FMUv2: added define for MPU DRDY pin
11 years ago
Andrew Tridgell
3decf408c2
FMUv2: added support for MPU6000 on v2.4 board
11 years ago
Andrew Tridgell
b666581983
lsm303d: fixed TEMP_H register define
11 years ago
Andrew Tridgell
af47a3d795
mpu6000: change bus speed based on registers being accessed
...
this ensures we follow the datasheet requirement of 1MHz for general
registers and up to 20MHz for sensor and int status registers
11 years ago
Andrew Tridgell
244c3602f2
SPI: added set_frequency() API
...
this allows the bus speed to be changed on the fly by device
drivers. This is needed for the MPU6000
11 years ago
Andrew Tridgell
7d415b0c42
lsm303d: print more registers in "lsm303d regdump"
11 years ago
Andrew Tridgell
72c53b6537
lsm303d: define some more register addresses
11 years ago
Andrew Tridgell
a46042754f
lsm303d: added 'lsm303d regdump' command
...
useful for diagnosing issues
11 years ago
marco
4e713a7083
motortest mode enhanced
11 years ago
Stefan Rado
5f18ce506d
Add FrSky telemetry application.
...
This daemon emulates an FrSky sensor hub by periodically sending data packets to an attached FrSky receiver.
11 years ago
marco
d2e32f2fc5
mkblctrl - hotfix for i2c scan
11 years ago
marco
cc8e85ce7e
mkblctrl scans now i2c3 and i2c1 bir connected esc's
11 years ago
marco
f82a202667
actuator effective removed - unused
11 years ago
marco
21cc19cef6
mkblctrl set a default device / -d (device) parameter for alternate device added / -t testmode enhanced
11 years ago
Anton Babushkin
63d81ba415
actuator_controls_effective topic removed
11 years ago
Anton Babushkin
39634d1001
px4io driver: bug fixed
11 years ago