Lorenz Meier
cf2dbdf9a1
Merge pull request #320 from PX4/integration
...
NuttX integration merge
12 years ago
marco
c4dfc345a1
Version from esc_status topic added to sdlog2
12 years ago
Jean Cyr
7a6a786708
Merge remote-tracking branch 'upstream/master'
12 years ago
Lorenz Meier
7cf121472e
Merge pull request #325 from sjwilks/airspeed
...
Don't zero out the reported airspeed when below 15km/h
12 years ago
px4dev
8fa226c909
Tweak protocol register assignments and add new registers to accommodate differences in IOv2.
12 years ago
Simon Wilks
2b41e1a23b
Merge remote-tracking branch 'upstream/master' into airspeed
12 years ago
Simon Wilks
01255a4cec
Remove the <15kmh cuttoff and report kmh via HoTT.
12 years ago
px4dev
a65a1237f0
Optimise the RC input fetch for <= 9ch transmitters; this eliminates one read per cycle from IO in the common case.
12 years ago
px4dev
17f9c7d15c
Crank up the test speed for 'px4io iftest 1'
12 years ago
px4dev
4d400aa7e7
Enable UART error handling on PX4IO.
12 years ago
Anton Babushkin
369e6d1eea
gpio_led: minor usage fix
12 years ago
Anton Babushkin
8d0784af61
gpio_led: PX4IO RELAY and ACC outputs support, some fixes
12 years ago
Simon Wilks
86adaeb3e8
More cleanups
12 years ago
px4dev
87a4f1507a
Move the common definitions for the PX4IO serial protocol into the shared header.
12 years ago
px4dev
19b2e1de85
Copy the correct number of bytes back for register read operations. Basic PX4IO comms are working now.
12 years ago
px4dev
0589346ce6
Abort the px4io worker task if subscribing to the required ORB topics fails.
12 years ago
px4dev
a4b0e3ecbe
Add retry-on-error for non-protocol errors.
...
Add more performance counters; run test #1 faster.
12 years ago
px4dev
6871d2909b
Add a mechanism for cancelling begin/end perf counters.
12 years ago
px4dev
3c8c596ac7
Enable handling for short-packet reception on FMU using the line-idle interrupt from the UART. Enable short packets at both ends.
12 years ago
px4dev
bcfb713fe9
Enable handling for short-packet reception on IO using the line-idle interrupt from the UART.
12 years ago
px4dev
f9a85ac7e6
Remove the TX completion callback on the IO side.
...
Report CRC, read and protocol errors.
12 years ago
px4dev
87c3d1a8c1
More link performance counters.
12 years ago
px4dev
10e673aa4b
Send error response if register write fails.
12 years ago
px4dev
46a4a44321
Be more consistent with the packet format definition.
...
Free perf counters in ~PX4IO_serial
12 years ago
px4dev
1f7f7862ce
Fix the USART6 default baudrate to match the IO bootloader.
12 years ago
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.
12 years ago
px4dev
6c5a15da9b
Eliminate the TD DMA callback; we don't need to know that it's completed.
...
Fix abort behaviour on timeouts, now we don't wedge after the first one.
12 years ago
px4dev
50cae347b4
Check packet CRCs and count errors; don't reject packets yet.
12 years ago
px4dev
5a8f874166
Add an 8-bit CRC to each transmitted packet.
12 years ago
px4dev
313231566c
Encode the packet type and result in the unused high bits of the word count.
12 years ago
px4dev
e55a37697d
Always send and expect a reply for every message.
12 years ago
px4dev
d83323d4a2
Use the NuttX built-in crc32, it works fine.
12 years ago
Lorenz Meier
422c675c55
Commented flow example slightly better
12 years ago
Lorenz Meier
5f2d35d715
Added gyro scaling as parameter
12 years ago
Lorenz Meier
7ca0698a6b
Fixed HIL handling
12 years ago
Lorenz Meier
2cfe9ee1b4
Improved limits handling
12 years ago
px4dev
83213c66df
Reset the PX4IO rx DMA if we haven't seen any traffic in a while; this gets us back into sync.
12 years ago
px4dev
94b638d848
One more piece of paranoia when resetting DMA
12 years ago
px4dev
43210413a9
More test work on the px4io side of the serial interface.
12 years ago
px4dev
52096f017f
Switch to the 'normal' way of doing register accessors.
...
Be more aggressive en/disabling DMA in the UART, since ST say you should.
12 years ago
px4dev
c21237667b
iov2 pin definition cleanup sweep
12 years ago
px4dev
f7963a8c84
Fix printing of PC_COUNT perf counters
12 years ago
px4dev
2e001aad04
Add PX4IOv2 support to the uploader.
12 years ago
px4dev
f2079ae7ff
Add DMA error handling.
...
Add serial error handling.
Add short-packet-reception handling (this may allow us to send/receive shorter packets… needs testing).
12 years ago
Lorenz Meier
05d6815401
Improved return statement of sensors app
12 years ago
Lorenz Meier
cefebb9699
Small improvements in system lib
12 years ago
Lorenz Meier
d72e9929aa
Fixes to fixed wing control example, fixes to the way the control lib publishes estimates
12 years ago
Lorenz Meier
b01673d1d8
Fixes to estimator and HIL startup script
12 years ago
Lorenz Meier
f42b3ecd96
Substantial improvements to math lib
12 years ago
Lorenz Meier
3686431231
Removed leftover mavlink_receiver.c file
12 years ago