Commit Graph

195 Commits

Author SHA1 Message Date
Lorenz Meier cfd737aa73 Made sensors startup routine more flexible 2013-08-05 21:08:19 +02:00
Lorenz Meier a2f923b9a3 Increased MPU6K poll and sampling rate to 1 KHz 2013-08-05 21:05:34 +02:00
Lorenz Meier 86e5d39b89 Merge branch 'master' of github.com:PX4/Firmware into mpu6k_queue 2013-08-05 20:11:44 +02:00
px4dev c33048b521 Add the ability to cancel a begin/end perf counter if the begin turns out to have been in error. 2013-08-04 19:42:16 -07:00
px4dev 97e4909d9e Improvements to the HX stream protocol implementation. 2013-08-04 19:40:57 -07:00
Lorenz Meier cac4a6f578 Merge branch 'master' into mpu6k_queue 2013-08-04 19:21:45 +02:00
Andrew Tridgell ac89322d74 mathlib: added LowPassFilter2p object
used in gyro and accel drivers for better filtering
2013-08-04 19:12:41 +02:00
Lorenz Meier 36cca7a31b Added rate limit in sensors app. Just pending accel filters now 2013-08-04 19:10:56 +02:00
Lorenz Meier 9bcabc5ba9 Hotfix for attitude estimator EKF init 2013-08-04 19:09:10 +02:00
Lorenz Meier d14891554e Merge branch 'config' of github.com:PX4/Firmware 2013-07-30 11:03:45 +02:00
Lorenz Meier 57db5d912b Merge pull request #343 from PX4/meas_split
ETS airspeed and MEAS airspeed combined driver
2013-07-28 06:41:42 -07:00
Lorenz Meier 95dde5f1be Implemented config command, fixed a number range set / get issues for some sensor drivers, fixed gyro calibration 2013-07-26 18:24:37 +02:00
Lorenz Meier dc5bcdda76 Hotfix: Made accel calibration a bit more forgiving about motion threshold 2013-07-21 11:29:10 +02:00
Lorenz Meier 0f19de5311 Ensured correct pointer init 2013-07-21 11:27:52 +02:00
sjwilks a8ac56b9e5 Merge pull request #338 from PX4/autostart
Implemented new, simple system boot config and sane default value system
2013-07-19 03:42:51 -07:00
Lorenz Meier 2c31961bb0 Minor change to make USB startup more resilient 2013-07-19 08:09:35 +02:00
Lorenz Meier da54659b5e Removed wrong dependency check 2013-07-18 15:55:06 +02:00
Lorenz Meier 798075c90d Work around orb_check fail in sensors app 2013-07-18 15:50:07 +02:00
Lorenz Meier e19d2e94ec Hotfix: Ensured there are never two filters running at the same time if auto-magic happens via USB link 2013-07-18 15:20:36 +02:00
Lorenz Meier a5c8d8c5f2 Robustified accel cal 2013-07-18 14:24:32 +02:00
Lorenz Meier 7bf2edc3bf Script cleanup, WIP on mavlink logging 2013-07-18 14:01:42 +02:00
Lorenz Meier a4d0594bd7 Merge branch 'master' into autostart 2013-07-18 13:18:42 +02:00
Lorenz Meier 8d1abf4aa4 Lunchtime HOTFIX: Bring back USB console to operational, allow single-USB connection operation via QGC 2013-07-18 13:16:34 +02:00
Lorenz Meier 1d883ad4c6 Hotfix: Fixed RC calibration 2013-07-16 08:10:38 +02:00
Lorenz Meier 17338ca61a Removed unneccesary casts in airspeed calculation to double precision 2013-07-15 13:59:23 +02:00
Lorenz Meier 0b47ed86e0 Implemented new, simple system boot config and sane default value system based on two parameters evaluated at boot time 2013-07-15 13:58:43 +02:00
Lorenz Meier 319eb18ab5 Merged 2013-07-14 11:32:04 +02:00
Simon Wilks 1ccfb623ee Merge remote-tracking branch 'upstream/master' into hott-esc 2013-07-13 01:08:45 +02:00
Simon Wilks b500cce31e Major refactor of HoTT drivers and finished sensor read implementation. 2013-07-13 01:08:06 +02:00
Lorenz Meier 3b9c306d64 Hotfix for relative altitude waypoints 2013-07-12 11:11:26 +02:00
Anton Babushkin 1d986d6c04 sdlog2: Global Position Set Point message added, vehicle_global_position_setpoint topic fixed 2013-07-12 10:09:38 +04:00
Lorenz Meier 28f536dc44 Hotfix: fixed compile warnings 2013-07-11 23:25:08 +02:00
Lorenz Meier 3a76162b08 Merge pull request #317 from DrTon/arm_safe_fix
Arm/disarm and SAS modes order safety fixes
2013-07-10 22:53:45 -07:00
Lorenz Meier dc600e7d65 First stab at IOCTL driven offset handling (in PA) for all airspeed sensors. Untested 2013-07-10 20:58:47 +02:00
Jean Cyr 897b541b12 General cleanup of /dev/px4io and /dev/px4fmu
- Use distinct common symbols for px4io and px4fmu device files, and use
instead of hardcoded filenames
- Use common symbols defining px4io bits consistently between px4fmu and
px4io builds.
2013-07-09 20:37:00 -04:00
unknown c264267814 Merge remote-tracking branch 'upstream/master' 2013-07-09 17:10:49 -04:00
Lorenz Meier 33c7c2c32e Merge branch 'master' of github.com:PX4/Firmware 2013-07-09 13:34:12 +02:00
Lorenz Meier 82c13efad1 Merged CPU load changes by freddie chopin 2013-07-09 13:27:17 +02:00
Lorenz Meier 9c6cca8b9b Merge pull request #310 from PX4/att_fix
fixed attitude estimator params
2013-07-09 04:11:38 -07:00
Lorenz Meier bbe6615884 Merge pull request #324 from DrTon/gpio_led_io_relay
gpio_led: PX4IO RELAY and ACC outputs support
2013-07-09 02:09:30 -07:00
unknown a9b327b1fe Merge remote-tracking branch 'upstream/master' 2013-07-08 17:13:41 -04:00
Lorenz Meier ced2871263 Merged mkblctrl 2013-07-08 20:48:30 +02:00
Lorenz Meier 6436e2e350 Updated mavlink_onboard as well (Hotfix) 2013-07-08 14:43:27 +02:00
Lorenz Meier 040b8f3802 Cleaned up MAVLink include hierarchy 2013-07-08 14:16:46 +02:00
Jean Cyr dab652faf6 Prevent RELAY1 control via IOCTL if DSM bind feature is enabled 2013-07-07 19:04:30 -04:00
Jean Cyr 35711280df Merge remote-tracking branch 'upstream/master' 2013-07-07 14:29:30 -04:00
marco c4dfc345a1 Version from esc_status topic added to sdlog2 2013-07-07 18:27:08 +02:00
Anton Babushkin 369e6d1eea gpio_led: minor usage fix 2013-07-06 18:37:02 +04:00
Anton Babushkin 8d0784af61 gpio_led: PX4IO RELAY and ACC outputs support, some fixes 2013-07-06 18:30:09 +04:00
Jean Cyr 3f9f2018e2 Support binding DSM2 and DSMX satellite receivers
The px4io bind command allows you to put a DSM satellite receiver into
bind mode. Since this feature requires that
the dsm VCC line (red wire) be cut and routed through relay one, it is
not enabled by default in order not to
affect those not using a DSM satellite receiver or wising to use relay
one for other purposes.

NOTE: Binding DSM2 satellites in 11-bit mode is not supported due to
potential bug in some DSM2 receiver streams
when in 11-bit mode. Furthermore the px4io software folds 11 bit data
down to 10 bits so there is no resolution
advantage to to 11-bit mode.

To enable the feature the RC_RL1_DSM_VCC parameter must be set to a non
zero value from the console, or using
QGroundControl:

param set RC_RL1_DSM_VCC 1

From the console you can initiate DSM bind mode with:

uorb start
param set RC_RL1_DSM_VCC 1
px4io start
px4io bind dsm2

For binding a DSMX satellite to a DSMX transmitter you would instead
use:

px4io bind dsmx

Your receiver module should start a rapid flash and you can follow the
normal binding sequence of your
transmitter.

Note: The value of parameter RC_RL1_DSM_VCC defaults to 0, so none of
this will have any effect on an unmodified
DSM receiver connection. For this feature to work, the power wire (red)
must be cut and each side connected to a
terminal on relay1 of the px4io board.

This has been tested using Spektrum as well as Hobby King 'Orange' DSM
satellite receivers.

Both px4fmu and px4io images are updated.
2013-07-05 20:51:29 -04:00