1236 Commits

Author SHA1 Message Date
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
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
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
Anton Babushkin
69ed7cf91f missionlib: waypoint yaw fixed 2013-11-23 18:48:05 +04:00
Thomas Gubler
1fa609d165 fix off by one in missionlib 2013-11-19 11:46:12 +01:00
Anton Babushkin
39634d1001 px4io driver: bug fixed 2013-11-16 15:54:24 +01:00
James Goppert
1ffb71946d Fixed backside automode typo. 2013-11-14 16:15:30 -05:00
James Goppert
2138a1c816 Improved mode mapping for fixedwing_backside. 2013-11-14 15:24:34 -05:00
James Goppert
ea156f556f Added local position publication to mavlink receiver for HIL. 2013-11-14 15:24:07 -05:00
James Goppert
5c66899bfb Added local position pub to att_pos_esitmator_ekf 2013-11-14 15:23:39 -05:00
James Goppert
ba3681d3a0 Updated backside controller/ added backside config. 2013-11-14 12:34:51 -05:00
Lorenz Meier
2116966b1e Merge branch 'yaw_auto_failsafe' of github.com:PX4/Firmware 2013-11-13 19:39:04 +01:00
Lorenz Meier
2444b68a0a Merge branch 'yaw_pid_fix' of github.com:PX4/Firmware 2013-11-13 19:38:51 +01:00
Anton Babushkin
185bdb05a6 Mavlink VFR message publication fix 2013-11-13 22:30:39 +04:00
Thiago0B
434de4e949 Fix user abort behave in test
Now the pwm ouput return to the last value before test (useful and safer when testing ESCs).
2013-11-11 22:02:40 -02:00
Lorenz Meier
a1398c991e Merge pull request #525 from thomasgubler/airspeed_meas_calibration
fix MEAS airspeed and airspeed calibration
2013-11-10 10:40:45 -08:00
Thomas Gubler
ae9fae5aae fix MEAS airspeed and airspeed calibration 2013-11-10 19:25:38 +01:00
Anton Babushkin
9f4dc0d154 Merge branch 'master' into yaw_pid_fix 2013-11-09 23:31:09 +04:00
Julian Oes
64431a45ba missionlib: Added geo.h include, without this the _wrap_pi function returned garbage (e.g. for the yaw setpoint in auto) 2013-11-09 11:59:23 +01:00
Anton Babushkin
03162f5f0d multirotor_pos_control: failsafe against invalid yaw setpoint in AUTO 2013-11-09 14:11:39 +04:00
Lorenz Meier
c63995e91c Hotfix: Be more aggressive about SPI2 init on v1 boards 2013-11-08 14:22:27 +01:00
Julian Oes
4502c285eb Startup scripts: Start the commander early and let it try to open the mavlink_fd with 20Hz 2013-11-05 19:56:33 +01:00
Lorenz Meier
d3b267c06e Integral fixes, last parts 2013-11-05 09:20:07 +01:00
Lorenz Meier
1358d4cb88 Hotfix: Fix integrator parameters 2013-11-05 07:44:16 +01:00
Lorenz Meier
ed60dc50fc Hotfix: forbid integrator to accumulate NaN values if they ever would occur 2013-11-05 07:43:08 +01:00
Lorenz Meier
3042731d26 Smaller hotfixes for att pos estimator 2013-11-03 18:27:26 +01:00
Lorenz Meier
791695ccd0 Hotfix: Check for out of range accel values 2013-11-03 18:26:39 +01:00