Andrew Tridgell
86ec1c37fa
l3gd20: added retries to disable_i2c()
2013-12-10 11:03:12 +01:00
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
2013-12-10 11:02:49 +01:00
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
2013-12-10 11:01:53 +01:00
Andrew Tridgell
a52e70ca93
ms5611: removed unused variable
2013-12-10 11:01:33 +01:00
Andrew Tridgell
3f0f34a4c7
ms5611: give cleaner SPI traces
...
this makes logic traces cleaner by zeroing extra bytes written
2013-12-10 11:01:20 +01:00
Thomas Gubler
cbde8d27f8
fix small copy paste error in px4io driver
2013-12-08 20:15:47 +01:00
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
2013-12-08 11:25:45 +01:00
Lorenz Meier
c72162cc5a
Add also default descriptor for alternate sensors
2013-12-07 10:44:29 +01:00
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
2013-12-07 10:34:32 +01:00
Lorenz Meier
012adc9e33
Minor fixes to bus reset
2013-12-04 09:25:07 +01:00
Lorenz Meier
acc3cc087f
Added sensor rail reset IOCTL and command (fmu sensor_reset 10 resets for 10 ms)
2013-12-04 08:17:35 +01:00
Lorenz Meier
881cf61553
Added IOCTL and command for sensor rail reset (does not yet re-initialize sensor drivers)
2013-12-04 07:57:23 +01:00
Andrew Tridgell
edc5b68499
l3gd20: use highest possible on-chip filter bandwidth
...
this allows the software filter to do its job properly
2013-12-04 07:08:23 +01:00
Andrew Tridgell
b2119839bd
lsm303d: init filter to 773 Hz
2013-12-04 07:08:05 +01:00
Julian Oes
6048f9beda
HIL: copy correct actuator group
2013-12-02 23:03:29 +01:00
Andrew Tridgell
bdb462379a
FMUv2: don't config ADC pins that are now used for MPU6k CS and other uses
2013-11-30 20:21:51 +11:00
Andrew Tridgell
19853f87a2
FMUv2: change CS pins to 2MHz
...
this gives cleaner traces
2013-11-30 20:21:44 +11:00
Andrew Tridgell
6ba54e7035
lsm303d: cleanup logic traces by pre-zeroing all transfers
2013-11-30 20:21:28 +11:00
Andrew Tridgell
9214154831
lsm303d: added I2C disable based on method from ST engineering support
2013-11-30 20:21:08 +11:00
Andrew Tridgell
cb76f07d31
l3gd20: added I2C disable based on method from ST engineering support
2013-11-30 20:20:23 +11:00
Andrew Tridgell
720f6ab313
FMUv2: set MPU6000 CS as initially de-selected
2013-11-30 20:20:03 +11:00
Andrew Tridgell
3a597d1a1f
FMUv2: added define for MPU DRDY pin
2013-11-30 20:19:58 +11:00
Andrew Tridgell
3decf408c2
FMUv2: added support for MPU6000 on v2.4 board
2013-11-30 20:19:52 +11:00
Andrew Tridgell
b666581983
lsm303d: fixed TEMP_H register define
2013-11-30 20:19:26 +11:00
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
2013-11-30 20:17:55 +11:00
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
2013-11-30 20:17:09 +11:00
Andrew Tridgell
7d415b0c42
lsm303d: print more registers in "lsm303d regdump"
2013-11-30 20:16:51 +11:00
Andrew Tridgell
72c53b6537
lsm303d: define some more register addresses
2013-11-30 20:16:45 +11:00
Andrew Tridgell
a46042754f
lsm303d: added 'lsm303d regdump' command
...
useful for diagnosing issues
2013-11-30 20:16:32 +11:00
Julian Oes
07a3f5694c
Merge remote-tracking branch 'juchlid/bottledrop' into bottle_drop_navigator
2013-11-29 12:39:29 +01:00
marco
4e713a7083
motortest mode enhanced
2013-11-26 19:01:43 +01:00
Stefan Rado
5f18ce506d
Add FrSky telemetry application.
...
This daemon emulates an FrSky sensor hub by periodically sending data packets to an attached FrSky receiver.
2013-11-24 13:39:02 +01:00
marco
d2e32f2fc5
mkblctrl - hotfix for i2c scan
2013-11-22 21:05:40 +01:00
marco
cc8e85ce7e
mkblctrl scans now i2c3 and i2c1 bir connected esc's
2013-11-21 22:24:16 +01:00
marco
f82a202667
actuator effective removed - unused
2013-11-19 17:35:04 +01:00
marco
21cc19cef6
mkblctrl set a default device / -d (device) parameter for alternate device added / -t testmode enhanced
2013-11-18 21:32:41 +01:00
Anton Babushkin
63d81ba415
actuator_controls_effective topic removed
2013-11-16 23:16:09 +04:00
Anton Babushkin
39634d1001
px4io driver: bug fixed
2013-11-16 15:54:24 +01:00
Anton Babushkin
8f559c73e9
px4io driver: bug fixed
2013-11-16 16:07:06 +04:00
Anton Babushkin
45e158b88c
Fixed actuator_controls_effective on FMU
2013-11-16 16:06:23 +04:00
Juchli D
4b8c3c38cd
Merge branch 'master' of https://github.com/PX4/Firmware into bottledrop
2013-11-15 10:34:12 +01:00
Anton Babushkin
e46d60ba6d
px4io driver: don’t use PX4IO_PAGE_ACTUATORS page for actuator_controls_effective
2013-11-15 11:32:05 +04:00
Thomas Gubler
ae9fae5aae
fix MEAS airspeed and airspeed calibration
2013-11-10 19:25:38 +01:00
Lorenz Meier
c63995e91c
Hotfix: Be more aggressive about SPI2 init on v1 boards
2013-11-08 14:22:27 +01:00
Juchli D
af3a56f17f
Hack to always arm
2013-11-05 13:27:05 +01:00
Juchli D
23237df84e
fmu: Also take into account actuator group 1
2013-11-05 13:24:41 +01:00
Julian Oes
25bf1abecf
pwm_output: Allow PWM values from 900us to 2100us but use a default of 1000us to 2000us
2013-10-31 10:29:06 +01:00
Lorenz Meier
9820ed9de3
Actually allow full range in FMU driver
2013-10-31 08:23:32 +01:00
Lorenz Meier
0eabacd251
Merge branch 'pwm_ioctls' of github.com:PX4/Firmware into pwm_ioctls
2013-10-30 22:35:09 +01:00
Lorenz Meier
727342a516
Teached the FMU driver that stopping is also an option
2013-10-30 22:34:51 +01:00