Commit Graph

1599 Commits

Author SHA1 Message Date
Lorenz Meier 84ad289e0a Improved test suite, now features a MTD device test 2014-01-15 17:20:36 +01:00
Andrew Tridgell 778cbcb5cc mtd: fixed creation and erase of a single partition 2014-01-15 09:33:58 +01:00
Lorenz Meier f3cd83e804 Merged master into mixer unit tests branch 2014-01-15 07:43:17 +01:00
Lorenz Meier cd72f564ef Merge pull request #593 from PX4/mtd_eeprom
EEPROM supported in MTD interface
2014-01-14 22:38:36 -08:00
Anton Babushkin 7b60761bf5 Merge branch 'master' into autostart_cleanup 2014-01-14 15:52:46 +01:00
Lorenz Meier b529e112b8 Merge pull request #520 from PX4/batt_fixes
Battery sensor fixes
2014-01-14 00:59:26 -08:00
Lorenz Meier 202e89de91 Introducing mtd status command, fixing compile errors for I2C setup 2014-01-14 08:58:58 +01:00
Lorenz Meier 33b84186e3 Patching up MPU6K pin disable defines 2014-01-14 08:58:30 +01:00
Lorenz Meier 993f721210 Deleting old eeprom driver directory 2014-01-14 08:57:52 +01:00
Lorenz Meier ba26fc32c9 Enabled EEPROM as MTD backend device 2014-01-14 07:49:33 +01:00
Lorenz Meier d5d035b9ea Pruned old RAMTRON interface 2014-01-14 07:42:01 +01:00
Lorenz Meier 85ca6e6991 Eliminated magic number 2014-01-14 07:34:35 +01:00
Andrew Tridgell f30ae8c9f3 Added MTD erase command 2014-01-14 07:32:34 +01:00
Anton Babushkin db1ea9bf51 Battery: default parameters updated 2014-01-13 10:11:16 +01:00
Anton Babushkin d042b63657 Merge branch 'master' into batt_fixes 2014-01-13 09:48:27 +01:00
Lorenz Meier 7b38c576e9 Merge branch 'master' into mtd_multi 2014-01-13 08:33:55 +01:00
Lorenz Meier f595b204ea Parameter documentation improvements 2014-01-13 08:33:25 +01:00
Lorenz Meier eb907c03a1 Merge branch 'master' of github.com:PX4/Firmware 2014-01-13 08:32:58 +01:00
Lorenz Meier ea8ab2793a More param command related improvements 2014-01-12 18:52:10 +01:00
Lorenz Meier 1694171435 Compile / bugfixes on MTD commandline tool 2014-01-12 17:40:29 +01:00
Lorenz Meier 3387aa64d4 Enabled MTD partitions, successfully tested params 2014-01-12 16:33:23 +01:00
Lorenz Meier 17a478a190 Merge branch 'mtd' into mtd_multi 2014-01-12 15:53:20 +01:00
Lorenz Meier 8b5adac0d9 Support for better param printing 2014-01-12 15:53:06 +01:00
Lorenz Meier 29e2c841bb Added support for N MTD / ramtron partitions / files 2014-01-12 15:34:05 +01:00
Lorenz Meier 8205afc4e0 Added missing file close on test command 2014-01-12 13:11:01 +01:00
Lorenz Meier 4ea92eca7c RGB led cleanup 2014-01-11 20:57:03 +01:00
Lorenz Meier 6011ff9411 HIL cleanup 2014-01-11 20:56:40 +01:00
Lorenz Meier 7e3802297c Added MTD adapter driver 2014-01-11 20:56:28 +01:00
Anton Babushkin 94909e9d8c Merge branch 'master' into autostart_cleanup 2014-01-11 09:26:36 +01:00
Thomas Gubler bccd0f8947 fakegps: add command-line option 2014-01-11 00:46:45 +01:00
Thomas Gubler 2ed315480e fakegps: default to 0 m/s speed 2014-01-11 00:20:03 +01:00
Thomas Gubler a522c64fee fake gps: gps device is not needed for fake position generation 2014-01-11 00:09:38 +01:00
Thomas Gubler f205c07c08 very simple gps fix fake in gps driver only for development 2014-01-10 22:38:12 +01:00
Anton Babushkin f5501a0508 Merge branch 'master' into autostart_cleanup 2014-01-10 16:23:51 +01:00
Simon Wilks 7265006f3f Adjust the HoTT sensor scheduler priority as well 2014-01-10 08:03:54 +01:00
Simon Wilks a303175c4c Reduce the scheduler priority to a more acceptable value 2014-01-10 07:51:47 +01:00
Lorenz Meier 4fcbe806ce Cleaned up init config and picked a safe bet on FRAM clock speed 2014-01-09 18:05:17 +01:00
Lorenz Meier 6b8c3283a7 Merge branch 'master' of github.com:PX4/Firmware 2014-01-09 16:58:02 +01:00
Anton Babushkin 891cb3f8c2 Merge branch 'checkcrc_nostart' into autostart_cleanup 2014-01-09 11:13:13 +01:00
Lorenz Meier f5dfc24197 Allow to check IO CRC independent of the IO start status (retains the interface status, startet or unstarted 2014-01-09 08:44:57 +01:00
Lorenz Meier c1ecdadd9b Merge branch 'master' of github.com:PX4/Firmware 2014-01-09 08:42:40 +01:00
Lorenz Meier f82656203a Merge branch 'mount_tests' of github.com:PX4/Firmware into mount_tests 2014-01-08 20:20:21 +01:00
Lorenz Meier 4e4e5a0323 Merge branch 'master' into mount_tests 2014-01-08 18:07:08 +01:00
Lorenz Meier 184f4a29eb Improved file test, allowed abortion 2014-01-08 18:06:30 +01:00
Lorenz Meier fed5a2daae Better settings for the mount test 2014-01-08 08:41:50 +01:00
Lorenz Meier ab407a82ba Merge branch 'master' into mount_tests 2014-01-07 22:42:09 +01:00
Anton Babushkin 255d91d8d4 hw_ver app added for hardware version checking 2014-01-07 21:56:35 +01:00
Lorenz Meier c463fde0b9 Compiling in new functions 2014-01-07 21:42:51 +01:00
Lorenz Meier 1834a884b2 Added FMU command to read serial 2014-01-07 21:42:39 +01:00
Lorenz Meier 72b9d3a0b1 Added unique ID location 2014-01-07 21:42:17 +01:00
Lorenz Meier ea4552a53d Added functionality to read serial 2014-01-07 21:41:54 +01:00
Lorenz Meier 0ef85c133b OTP return value cleanup 2014-01-07 21:41:07 +01:00
Buzz 4ef7817d96 added otp library 2014-01-07 19:10:25 +01:00
Lorenz Meier 9b711d6a72 Merged origin/master into batt_fixes 2014-01-07 15:34:13 +01:00
Andrew Tridgell 94b539dfdd px4io: enable power on Spektrum connector on init 2014-01-07 09:36:33 +01:00
Andrew Tridgell d6088efd34 ms5611: report P and T in ms5611 info 2014-01-07 09:34:32 +01:00
Andrew Tridgell 1f564a95ee meas_airspeed: avoid trivial dependency on math lib
including the math lib adds a huge amount to flash usage
2014-01-07 09:33:10 +01:00
Andrew Tridgell 1a13e66aab px4iofirmware: make forceupdate more reliable
this schedules a reboot rather than rebooting immediately, which means
the FMU gets an ACK for its reboot operation, preventing it from
timing out waiting for the ACK. That makes the timing of the reboot
more consistent, which makes it more reliable for forceupdate
2014-01-07 09:30:56 +01:00
Lorenz Meier 138b2890c4 Better mount test, still not reproducing failure very well 2014-01-07 08:37:34 +01:00
Lorenz Meier f35e6efbca Check 30 seconds for USB port 2014-01-07 08:37:06 +01:00
Lorenz Meier 9886a384ff Fixed error handling logic, we want to return, not exit 2014-01-07 08:02:47 +01:00
Lorenz Meier 7b2f0d758c Merge pull request #578 from kroimon/frsky_telemetry
Add FrSky telemetry support
2014-01-05 09:05:14 -08:00
Lorenz Meier 7590d91cf2 Improved mount test 2014-01-04 17:05:52 +01:00
Lorenz Meier e7c1e8e94b Added tests for mount / fsync / reboot 2014-01-04 13:53:59 +01:00
Lorenz Meier 4d3a2c824c Merge branch 'ppm_in' 2014-01-04 13:52:24 +01:00
Stefan Rado 4508972121 Further data format and code style fixes. 2014-01-03 00:28:46 +01:00
Thomas Gubler 065badf980 Merge pull request #576 from PX4/tecs_climbout
tecs: change pitch on climbout #559
2014-01-02 12:26:07 -08:00
Lorenz Meier c11e36ad3d Board config sweep / cleanup. No further functionality-relevant points found 2014-01-02 17:42:01 +01:00
Lorenz Meier 07fa4e3ec8 Removed bogus 50 MHz setting, only relevant for outputs 2014-01-02 17:26:57 +01:00
Lorenz Meier 2fbb854414 Merge branch 'master' of github.com:PX4/Firmware into ppm_in 2014-01-02 17:19:21 +01:00
Lorenz Meier b2ef7f506c HOTFIX: Avoid running out of range on the RC config params 2014-01-02 17:09:59 +01:00
Lorenz Meier 6d08e9f661 HOTFIX: Avoid running out of range on the RC config params 2014-01-02 17:09:33 +01:00
Thomas Gubler c4c652e9c6 tecs: change pitch on climbout #559 (ported from ardupilot) 2014-01-02 11:22:51 +01:00
Lorenz Meier 445b9b2339 Final pin config for F1 PPM decoding, tested to be operational, pending in-application testing 2014-01-02 10:45:00 +01:00
Lorenz Meier 85651218e2 FMU-inspired PPM config 2014-01-02 10:22:00 +01:00
Lorenz Meier 9612514a3f Testing disarming and rearming as well now, removed magic numbers in favor of constants 2014-01-02 09:50:51 +01:00
Lorenz Meier 9a9a6f3d86 Turned the mixer test into a real test, now also cross checking post mix results 2014-01-02 09:18:36 +01:00
Lorenz Meier a60fcc2535 Fixed pwm limit command to behave as originally designed. The initial hold time produced random values (e.g. 40000 instead of 1500) during the INIT_TIME (0.5s) phase 2014-01-02 09:18:04 +01:00
Julian Oes 1a21dcd34d ESC calib: low PWM value was not set 2014-01-02 08:28:33 +01:00
Stefan Rado 1e7e65717a Only send data packets we really support. 2014-01-02 02:11:52 +01:00
Stefan Rado 8fd909f519 Directly write to the voltage field for better precision. 2014-01-02 02:08:44 +01:00
Stefan Rado 5f44be31ad Update copyright info for 2014.
Happy New Year everyone!
2014-01-02 02:07:49 +01:00
Stefan Rado 0ce7886249 Merge branch 'master' into frsky_telemetry 2014-01-02 01:37:09 +01:00
Lorenz Meier e35598eb6b Merge branch 'master' of github.com:PX4/Firmware into unit_tests 2014-01-01 23:44:06 +01:00
Lorenz Meier 5b302fef59 HOTFIX: Increased attitude control updates to 50 Hz - was less than 10 Hz and unintended slow 2013-12-31 14:47:01 +01:00
Lorenz Meier 7f14f1f7de Add conversions and mixer tests. Work in progress 2013-12-31 14:45:38 +01:00
Stefan Rado 50cbd19499 Fixes to FrSky telemetry data formats. 2013-12-30 20:27:04 +01:00
Lorenz Meier 0153e334ff Add note about multi-port support on GCS side 2013-12-29 12:03:35 +01:00
Lorenz Meier 87a61de670 Support for more than 8 output ports 2013-12-29 12:02:23 +01:00
Lorenz Meier 01be817c59 Allow N comparisons of a param value, returns success if one matches 2013-12-28 22:14:28 +01:00
Stefan Rado 810f33c3f3 Merge branch 'master' into frsky_telemetry 2013-12-28 21:25:45 +01:00
Julian Oes e462c70af7 Merge remote-tracking branch 'px4/master' into control_groups 2013-12-27 23:57:37 +01:00
Julian Oes 020c47b59f PX4IO driver: even compiling now 2013-12-27 23:57:24 +01:00
Julian Oes a4a5eee08d Attitude_estimator_ekf: Fix params, this bug caused the multirotor_att_control to stop 2013-12-27 23:27:25 +01:00
Lorenz Meier f44f738f0a Fix return value 2013-12-27 21:56:54 +01:00
Lorenz Meier 965a7a4f03 Allow to disable a channel 2013-12-27 21:33:19 +01:00
Lorenz Meier a9ea39054d Working around creating an error condition with more than 8 raw RC channels 2013-12-27 21:19:04 +01:00
Lorenz Meier cddbb0d23f Merged master 2013-12-27 21:12:51 +01:00
Lorenz Meier dd5549da46 Hotfix: Better dead zone defaults 2013-12-27 15:50:28 +01:00
Lorenz Meier c5ef295f68 Hotfix: Reduce mag influence on att estimate 2013-12-27 15:46:50 +01:00
Lorenz Meier d5c857615b Pure formatting cleanup of drv_hrt.c, no code / functionality changes 2013-12-27 12:14:15 +01:00
Lorenz Meier db46672bc4 Paranoid PPM shape checking 2013-12-27 12:02:57 +01:00
Lorenz Meier 8d2950561d Changed RSSI range to 0..255 2013-12-25 15:15:15 +01:00
Lorenz Meier edffade8ce Added PPM frame length feedback in IO comms and status command - allows to warn users about badly formatted PPM frames 2013-12-25 15:11:48 +01:00
Lorenz Meier a502332992 Greatly robustified PPM parsing, needs cross-checking with receiver models 2013-12-25 15:11:05 +01:00
Thomas Gubler c191597625 HIL: only listen to first 8 actuator outputs 2013-12-24 15:15:39 +01:00
Lorenz Meier 107bb54b33 Robustifiying PPM parsing 2013-12-23 20:38:09 +01:00
Lorenz Meier 64ad3d7e0a Added channel count to log format 2013-12-23 18:44:07 +01:00
Lorenz Meier f617689094 Merge branch 'master' of github.com:PX4/Firmware into control_groups 2013-12-22 21:13:11 +01:00
Lorenz Meier 1279b5fbf3 Merge pull request #556 from PX4/ppm_parsing
PPM channel count detection is now using a more paranoid approach.
2013-12-22 12:13:02 -08:00
Lorenz Meier f8134c9c67 Enable 18 channels on IO 2013-12-22 21:12:31 +01:00
Lorenz Meier 9abf31c2ba Support 18 channels correctly on FMU 2013-12-22 21:09:47 +01:00
Lorenz Meier 6c990d0a6e Fix usage of wrong constant for RC input channels 2013-12-22 20:44:51 +01:00
Lorenz Meier 999051546a Fixed compile error 2013-12-21 19:08:52 +01:00
Lorenz Meier b84c9f962b Merged master 2013-12-21 19:07:24 +01:00
Lorenz Meier 831f153b73 Add tight RC test 2013-12-21 16:37:45 +01:00
Lorenz Meier b2e527ffa6 Counting channel count changes 2013-12-21 16:13:04 +01:00
Lorenz Meier 3e037d40de Fixed bracketing error 2013-12-21 12:46:06 +01:00
Lorenz Meier 0f0dc5ba06 Allowed custom battery scaling on IO 2013-12-21 12:45:04 +01:00
Lorenz Meier f174ca3ce5 Added average as direct output 2013-12-20 21:52:10 +01:00
Lorenz Meier 3ad9dd030c Added performance counter for write IOCTL 2013-12-20 21:10:33 +01:00
Lorenz Meier 8c518aa237 Useful bits for high-rate logging 2013-12-20 14:25:35 +01:00
Lorenz Meier 9476ba522f PPM channel count detection is now using a more paranoid approach. 2013-12-20 08:48:51 +01:00
Lorenz Meier 6dce57170e Hotfix: Fixed mapping of override channel 2013-12-19 17:12:46 +01:00
Lorenz Meier b9a533acae Merge pull request #505 from PX4/rc_failsafe
Futaba RC failsafe support
2013-12-19 07:41:25 -08:00
Andrew Tridgell bccf65cc28 mpu6000: disable interrupts during initial reset
this seems to avoid a problem where the mpu6000 doesn't startup
correctly if other devices are transferring at the same time.
2013-12-16 15:06:45 +01:00
Lorenz Meier d53b00283e PX4IO upgrade improvement 2013-12-16 12:02:01 +01:00
Lorenz Meier f4ac204f46 Cranking up bus speeds for all sensors to achievable 10.4 MHz, will cut the bus lock time to half 2013-12-15 18:32:46 +01:00
Lorenz Meier d6a6d59d2d Further improved S.Bus scaling 2013-12-14 15:09:20 +01:00
Lorenz Meier ea10d55d71 Auto-update of IO firmware, shorter preflight check alarm 2013-12-14 15:08:56 +01:00
Lorenz Meier 10b2dc67e4 Allow forceupdate in all conditions 2013-12-14 14:54:02 +01:00
Lorenz Meier 00dc339d2e Improved S.Bus scaling based on scope measurements 2013-12-14 14:52:57 +01:00
Lorenz Meier 9883a346a0 First stab at implementing better RSSI based connection status estimation, still needs some work and testing 2013-12-13 18:01:55 +01:00
Holger Steinhaus L a673fa3926 Non-destructive handling of failsafe signals, distinction between frame loss and signal loss.
This kind of handling might be moved upstream into the application, once alarms are propagated by the ORB system.

This change is compatible with RX failsafe settings, but does not rely on it (uses SBus flags instead).
2013-12-13 17:30:26 +01:00
Holger Steinhaus L 3a40ea8338 more precise range conversion for SBus input signals 2013-12-13 17:30:14 +01:00
Lorenz Meier 0b9b68f0d9 Merge pull request #535 from NosDE/master
Device renamed, custom device on parameter switch
2013-12-13 08:10:57 -08:00
Lorenz Meier 3e708f881e Merge pull request #538 from thomasgubler/commander_localpos
update the commander to only use local pos for landing detection when on...
2013-12-13 08:10:42 -08:00
Lorenz Meier 39dcda3996 Merge pull request #541 from limhyon/master
SO(3) estimator has been debugged and cleaned.
2013-12-13 08:10:18 -08:00
Lorenz Meier 0b58c01dcc Merge pull request #534 from thomasgubler/tecs_fix_comparison
tecs: fix wrong != 0 check
2013-12-13 08:09:36 -08:00
Lorenz Meier 96997697e5 Merge pull request #536 from limhyon/patch-1
Update fw_att_control_params.c
2013-12-13 08:09:18 -08:00
Lorenz Meier a91a8aeea8 Merge pull request #542 from PX4/hil_fixes
Various HIL-related fixes
2013-12-13 07:54:13 -08:00
Lorenz Meier 017a85df06 Merge pull request #545 from PX4/mavlink_fixes
Mavlink fixes
2013-12-13 07:53:28 -08:00
Lorenz Meier c311462f3c Added actuator control removal 2013-12-13 16:52:35 +01:00
Andrew Tridgell 5b7d1af5d8 Merged crccheck command 2013-12-13 11:22:14 +01:00
Andrew Tridgell 6016fbe55d Merged PX4IO crc checks and force update 2013-12-13 11:21:00 +01:00
Andrew Tridgell 8f90efa312 l3gd20: print more perf counters and make DRDY usage clearer 2013-12-13 11:19:18 +01:00
Andrew Tridgell e808e015dd LowPassFilter: allow for filtering to be disabled
using bandwidth of 0 gives no filtering
2013-12-13 11:19:08 +01:00
Andrew Tridgell 17502cbde4 l3gd20: fixed a warning 2013-12-13 11:18:59 +01:00
Thomas Gubler c033443208 px4iofirmware: improve check for rc controlled channels in manual mode 2013-12-11 16:58:11 +01:00
Thomas Gubler b69097df38 px4io frimware: improve handling of manual mode when fmu is still healthy, use data from fmu for channels which are not controlled by rc 2013-12-11 16:58:03 +01:00