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
Anton Babushkin
5397f13b50
Merge branch 'master' into hil_fixes
2013-12-07 22:29:45 +04: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
264ef47197
PPM loopback test
2013-12-05 05:02:00 +01:00
Lorenz Meier
1cb576ae4e
Merge branch 'master' into tests
2013-12-05 02:52:57 +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
dcfd5bdbe7
Python uploader: Ignore exceptions when sending reboot tries
2013-12-02 23:07:36 +01:00
Lorenz Meier
0d30fe31a7
Merge pull request #546 from julianoes/hotfix_hex_startup
...
Hotfix Hex Startup
2013-12-01 16:48:51 -08:00
Julian Oes
193692cc0d
Hex Startup: Set rate of all 8 PWM outputs (6 are not possible because rate can only be changed for channel groups
2013-12-01 22:44:36 +01:00
Andrew Tridgell
ba8399780a
init.d: added 3dr_skywalker airframe config
...
params not tuned yet, but servos in the right direction
2013-12-01 07:57:22 +11: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
d0507296c0
px4io: moved blue heartbeat LED to main loop
...
this allows us to tell if the main loop is running by looking for a
blinking blue LED
2013-11-30 20:18:27 +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
Lorenz Meier
3701a02a37
Tests for all PWM pins
2013-11-30 10:00:33 +01:00
Hyon Lim
b3f1adc54b
SO3 estimator code has been cleaned
2013-11-29 02:35:49 +09:00
Thomas Gubler
95af4bf87c
Merge pull request #537 from PX4/wp_yaw_fix
...
missionlib: waypoint yaw fixed
2013-11-28 09:35:01 -08:00
Hyon Lim
bcd745fb0d
SO(3) estimator and quaternion receive by mavlink implemented
2013-11-29 02:05:15 +09:00
Anton Babushkin
3c027a8e4d
Various HIL-related fixes
2013-11-27 23:04:49 +04:00
marco
4e713a7083
motortest mode enhanced
2013-11-26 19:01:43 +01:00
Thomas Gubler
ea9fcaa27f
update the commander to only use local pos for landing detection when on rotary wing
...
Conflicts:
src/modules/commander/commander.cpp
2013-11-26 18:56:06 +01:00
Anton Babushkin
69ed7cf91f
missionlib: waypoint yaw fixed
2013-11-23 18:48:05 +04: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
Hyon Lim
9a4b57c352
Update fw_att_control_params.c
2013-11-20 03:04:53 +09:00
Hyon Lim
ee985c70b3
Update fw_att_control_params.c
...
Minor comment error corrected.
2013-11-20 02:45:52 +09:00
marco
f82a202667
actuator effective removed - unused
2013-11-19 17:35:04 +01:00
Thomas Gubler
3527ea8a62
tecs: fix wrong != 0 check
2013-11-19 16:39:17 +01:00
Lorenz Meier
f1fece2bb6
Merge pull request #533 from thomasgubler/missionlib_fix
...
fix off by one in missionlib
2013-11-19 05:31:09 -08:00
Thomas Gubler
1fa609d165
fix off by one in missionlib
2013-11-19 11:46:12 +01:00