Commit Graph

4995 Commits

Author SHA1 Message Date
Andrew Tridgell a2b31118cb lsm303d: get cleaner logic traces by gathering all regs more regularly 2013-12-10 12:00:08 +01:00
Andrew Tridgell 7c9d92a5d6 lsm303d: added I2C disable based on method from ST engineering support 2013-12-10 12:00:02 +01:00
Andrew Tridgell 9a169d8ef4 l3gd20: added I2C disable based on method from ST engineering support 2013-12-10 11:59:54 +01:00
Andrew Tridgell 44b2543d2d FMUv2: set MPU6000 CS as initially de-selected 2013-12-10 11:59:48 +01:00
Andrew Tridgell 3ce14497a1 FMUv2: added define for MPU DRDY pin 2013-12-10 11:59:29 +01:00
Andrew Tridgell b927974a97 FMUv2: added support for MPU6000 on v2.4 board 2013-12-10 11:59:23 +01:00
Andrew Tridgell fe4b95f9d5 lsm303d: zero-fill register reads 2013-12-10 11:59:13 +01:00
Andrew Tridgell ea33a19c8f lsm303d: show regs at both high and low bus speed on error 2013-12-10 11:59:06 +01:00
Andrew Tridgell 4ce4b8a174 lsm303d: always log first ARB and REG values 2013-12-10 11:59:00 +01:00
Andrew Tridgell 5ef91d694b lsm303d: log mag regs too 2013-12-10 11:58:53 +01:00
Andrew Tridgell 671447ce2c lsm303d: fixed TEMP_H register define 2013-12-10 11:58:45 +01:00
Andrew Tridgell cdaafff6e4 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
2013-12-10 11:58:39 +01:00
Andrew Tridgell 50d5241985 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-12-10 11:58:29 +01:00
Andrew Tridgell 97af3d2204 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-12-10 11:58:21 +01:00
Andrew Tridgell 8df4d636ab 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-12-10 11:58:15 +01:00
Andrew Tridgell 415417196b lsm303d: print more registers in "lsm303d regdump" 2013-12-10 11:58:08 +01:00
Andrew Tridgell af049f7cf8 lsm303d: define some more register addresses 2013-12-10 11:58:01 +01:00
Andrew Tridgell 93f3398dfe lsm303d: added 'lsm303d regdump' command
useful for diagnosing issues
2013-12-10 11:57:54 +01:00
Anton Babushkin 39634d1001 px4io driver: bug fixed 2013-11-16 15:54:24 +01:00
Lorenz Meier 8c24299a40 Merge pull request #530 from jgoppert/backside
Backside update/ python HIL fix
2013-11-15 07:03:55 -08: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
Lorenz Meier 0329b70097 Merge pull request #524 from PX4/hotfix_iris_max_pwm
IRIS PWM range
2013-11-13 10:34:30 -08:00
Lorenz Meier cd585572ad Merge pull request #528 from PX4/mavlink_vfr_fix
Mavlink VFR message publication fix
2013-11-13 10:33:18 -08:00
Anton Babushkin 185bdb05a6 Mavlink VFR message publication fix 2013-11-13 22:30:39 +04:00
Lorenz Meier c9fcdb3c31 Merge pull request #527 from NosDE/master
mkblctrl startup script changed
2013-11-13 00:56:35 -08:00
marco 04aeb09883 mkblctrl startup script cleanup 2013-11-12 20:28:26 +01:00
Lorenz Meier 22a5ecb401 Merge pull request #526 from Thiago0B/master
Fix user abort behave in test
2013-11-11 22:37:12 -08: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
marco c29f378e01 mkblctrl startup script changed 2013-11-11 20:57:03 +01: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
Julian Oes 423e2cee7b Don't limit the PWM output maximum for the IRIS to use the whole thrust range 2013-11-10 15:49:43 +01:00
Anton Babushkin 9f4dc0d154 Merge branch 'master' into yaw_pid_fix 2013-11-09 23:31:09 +04:00
Lorenz Meier 3231a636b8 Merge pull request #522 from PX4/hotfix_yaw_auto_bug
missionlib: Added geo.h include,
2013-11-09 03:12:15 -08: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
Lorenz Meier ea708915b9 Merge pull request #518 from PX4/hotfix_fixedwing_startup
Startup scripts: fixed stupid typo
2013-11-06 22:09:04 -08:00
Julian Oes 2af2bacc4f Startup scripts: fixed stupid typo 2013-11-06 23:41:15 +01:00
Lorenz Meier e3770dab99 Merge pull request #517 from thomasgubler/hil_startupscripts
remove commander from hil startup scripts
2013-11-06 08:18:02 -08:00
Thomas Gubler 9b08923cd2 remove commander from hil startup scripts 2013-11-06 17:02:23 +01:00
Lorenz Meier cd5bde2144 Merge pull request #515 from julianoes/startup_fixes
Startup script update
2013-11-06 06:09:46 -08: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
Julian Oes 857c3d2efd Startup scripts: Corrected cases where commander was not started, updated several outdated scripts 2013-11-05 16:59:34 +01:00