Commit Graph

3881 Commits

Author SHA1 Message Date
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 d63730419b Merge branch 'mpu6000_set_sample_rate' of https://github.com/fibr/Firmware into mpu_rate 2013-07-09 11:16:42 +02:00
Darryl Taylor 2990a7384b Merge branch 'master' of https://github.com/PX4/Firmware into gps_fix 2013-07-09 17:09:59 +08: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
Darryl Taylor dc2ef7b3c6 Some cleanup of NAV_SVINFO message handler 2013-07-09 17:07:11 +08:00
Darryl Taylor 6dff71668d Merge branch 'master' into gps_fix 2013-07-09 14:49:58 +08:00
Darryl Taylor d878d4756c Ammended UBlox driver to record SV Info, satelites_visible == satelites used. Info is recorded for all SVs, used or not. Might be useful for GPS debugging. 2013-07-09 14:25:47 +08:00
Simon Wilks a18c6cea18 Merge remote-tracking branch 'upstream/master' into hott-esc 2013-07-09 08:04:07 +02: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 2a1bf3018b Hotfix: Changed all left-over task_spawn() to task_spawn_cmd() 2013-07-08 15:26:25 +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 3188250634 Fix documentation fonts 2013-07-08 00:13:17 -04:00
Jean Cyr a7d5248f05 Feature documentation 2013-07-08 00:07:00 -04:00
px4dev e2458677c9 Tweak IO serial packet error handling slightly; on reception of a serial error send a line break back to FMU. This should cause FMU to stop sending immediately.
Flag these cases and discard the packet rather than processing it, rather than simply dropping the received packet and letting FMU time out.
2013-07-07 20:42:03 -07:00
px4dev 0efb1d6ceb Fix the px4io serial port device name now that we're not using UART8 as the console. 2013-07-07 18:50:04 -07:00
px4dev b4029dd824 Pull v2 pieces up to build with the merge 2013-07-07 17:53:55 -07:00
Jean Cyr 20103f572f Minor px4io optimization
Since this module creates the PX4IO object and that the IOCTL function
doesn't use the file descriptor parameter, there is no need to invoke
IOCTL via the filesystem since we can call it directly.
2013-07-07 20:19:27 -04:00
Jean Cyr dab652faf6 Prevent RELAY1 control via IOCTL if DSM bind feature is enabled 2013-07-07 19:04:30 -04:00
px4dev 43f1843cc7 Merge branch 'master' of https://github.com/PX4/Firmware into fmuv2_bringup 2013-07-07 12:22:56 -07:00
px4dev 9fe257c4d1 A very slender config just for test builds. 2013-07-07 12:13:40 -07:00
Jean Cyr 35711280df Merge remote-tracking branch 'upstream/master' 2013-07-07 14:29:30 -04:00
Lorenz Meier cf2dbdf9a1 Merge pull request #320 from PX4/integration
NuttX integration merge
2013-07-07 10:59:43 -07:00
marco c4dfc345a1 Version from esc_status topic added to sdlog2 2013-07-07 18:27:08 +02:00
Jean Cyr 7a6a786708 Merge remote-tracking branch 'upstream/master' 2013-07-07 09:12:42 -04:00
Lorenz Meier 7cf121472e Merge pull request #325 from sjwilks/airspeed
Don't zero out the reported airspeed when below 15km/h
2013-07-07 02:31:14 -07:00
px4dev 8fa226c909 Tweak protocol register assignments and add new registers to accommodate differences in IOv2. 2013-07-06 23:59:35 -07:00
Simon Wilks 2b41e1a23b Merge remote-tracking branch 'upstream/master' into airspeed 2013-07-07 01:11:10 +02:00
Simon Wilks 01255a4cec Remove the <15kmh cuttoff and report kmh via HoTT. 2013-07-07 01:10:47 +02:00
px4dev a65a1237f0 Optimise the RC input fetch for <= 9ch transmitters; this eliminates one read per cycle from IO in the common case. 2013-07-06 12:29:14 -07:00
px4dev 17f9c7d15c Crank up the test speed for 'px4io iftest 1' 2013-07-06 12:28:01 -07:00
px4dev 4d400aa7e7 Enable UART error handling on PX4IO. 2013-07-06 12:27:37 -07: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
Simon Wilks 86adaeb3e8 More cleanups 2013-07-06 15:02:34 +02:00
px4dev 87a4f1507a Move the common definitions for the PX4IO serial protocol into the shared header. 2013-07-06 00:16:37 -07:00
px4dev 19b2e1de85 Copy the correct number of bytes back for register read operations. Basic PX4IO comms are working now. 2013-07-06 00:00:44 -07:00
px4dev 0589346ce6 Abort the px4io worker task if subscribing to the required ORB topics fails. 2013-07-06 00:00:10 -07:00
px4dev a4b0e3ecbe Add retry-on-error for non-protocol errors.
Add more performance counters; run test #1 faster.
2013-07-05 22:54:44 -07:00
px4dev 6871d2909b Add a mechanism for cancelling begin/end perf counters. 2013-07-05 22:53:57 -07:00
px4dev 3c8c596ac7 Enable handling for short-packet reception on FMU using the line-idle interrupt from the UART. Enable short packets at both ends. 2013-07-05 20:37:05 -07:00
px4dev bcfb713fe9 Enable handling for short-packet reception on IO using the line-idle interrupt from the UART. 2013-07-05 20:35:55 -07:00
px4dev f9a85ac7e6 Remove the TX completion callback on the IO side.
Report CRC, read and protocol errors.
2013-07-05 19:16:25 -07:00
px4dev 87c3d1a8c1 More link performance counters. 2013-07-05 19:03:08 -07:00
px4dev 10e673aa4b Send error response if register write fails. 2013-07-05 19:02:42 -07:00
px4dev 46a4a44321 Be more consistent with the packet format definition.
Free perf counters in ~PX4IO_serial
2013-07-05 18:36:00 -07:00
px4dev 1f7f7862ce Fix the USART6 default baudrate to match the IO bootloader. 2013-07-05 17:53:55 -07: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