px4dev
|
b0fb86a693
|
Sketch out the protocol as it will be on top of I2C
|
12 years ago |
px4dev
|
1cecba2a86
|
Turn off i2c slave debug output for real.
|
12 years ago |
px4dev
|
5e35491a38
|
We can't have DMA on both I2C1 and USART2. Since we need it more for I2C, and since USART2 is going back to being ignored once I2C works, let's make the call.
Turn off the debug output on I2C for now.
|
12 years ago |
px4dev
|
97136375e3
|
Turn off the I2C register dump at startup.
|
12 years ago |
px4dev
|
4f285f7c80
|
Configure the DMA channels in circular mode so that we don't have to deal with the case where DMA stops but the master is still talking.
Use AF as well as STOPF to decide when transfer has ended. We don't seem to get STOPF when we are transmitting.
|
12 years ago |
px4dev
|
3cea0959b7
|
Implement a simple byte loopback server on I2C for more testing.
|
12 years ago |
px4dev
|
2fb820fabd
|
I2C slave RX DMA works.
|
12 years ago |
px4dev
|
0dab53ae26
|
Implement I2C slave DMA. Not working yet.
|
12 years ago |
px4dev
|
7c2445f74d
|
Don't waste time printing when we have errors - that causes the master to time out
|
12 years ago |
px4dev
|
811790a14f
|
Checkpoint I2C slave work on IO
|
12 years ago |
Lorenz Meier
|
cf563eda86
|
px4io code style
|
12 years ago |
Lorenz Meier
|
65c8028629
|
Working on override channel mapping, allowed trim cal only with RC on
|
12 years ago |
Lorenz Meier
|
0945a2cc2f
|
Fixed RC mapping transmission, tested. Fixed RC scaling in manual mode
|
12 years ago |
Lorenz Meier
|
e2317edde8
|
Code style fix
|
12 years ago |
Lorenz Meier
|
a9e87c791d
|
Fixed header for sbus input
|
12 years ago |
Simon Wilks
|
7842caf3b2
|
Moved the channel mappings and attributes to the config section
|
12 years ago |
Lorenz Meier
|
83039e76d3
|
Reverted unwanted S.Bus changes
|
12 years ago |
Simon Wilks
|
0a89ab7075
|
Send rc channel ordering and channel attributes from FMU to IO
|
12 years ago |
Simon Wilks
|
1b81724ef7
|
Manually remap the channel assignements for testing.
|
12 years ago |
px4dev
|
d93fda20fd
|
Add ADC measurements and reporting to PX4IO, including calibration for the battery input.
|
12 years ago |
px4dev
|
9be1f99935
|
Add trivial ADC support to PX4IO.
|
12 years ago |
Julian Oes
|
8d1b1354e1
|
A wrong parameter name in commander was responsible for manual override always ok
|
12 years ago |
Lorenz Meier
|
0cc723dbc3
|
Fixed connection loss / failsafe detection, added decoding of two switch channels if IO supports 18 RC channels. Loss is tested, switch channels are not.
|
12 years ago |
px4dev
|
f2d4eb2887
|
Revert "Removed text reuse, causing crash with stack trace"
This reverts commit 668d1b3301 .
|
12 years ago |
Lorenz Meier
|
668d1b3301
|
Removed text reuse, causing crash with stack trace
|
12 years ago |
Lorenz Meier
|
234af06571
|
Fixed merge error
|
12 years ago |
px4dev
|
fd016abd46
|
Implement the remaining pieces of mixer upload to PX4IO.
|
12 years ago |
px4dev
|
c740e9c616
|
Add a receive error counter for debugging purposes.
|
12 years ago |
px4dev
|
85375c2201
|
Rename the FMU->IO output controls to reflect the fact that they are controls, not servo values.
|
12 years ago |
px4dev
|
d81edb09cf
|
whitespace/formatting
|
12 years ago |
px4dev
|
0ae5997bd0
|
Fix some scaling errors in the PWM <-> mixer-internal conversions.
|
12 years ago |
px4dev
|
6b9d5dac4d
|
Rough in the new mixer path for PX4IO.
|
12 years ago |
px4dev
|
d5da457e29
|
Fix PX4IO to run C++ static ctors
|
12 years ago |
Lorenz Meier
|
be85589e48
|
Fixed some typos
|
12 years ago |
Julian Oes
|
d4edf2e85c
|
Override is now really disabled for multirotors, also I don't think the parameter got ever read by the commander but I might be wrong
|
12 years ago |
px4dev
|
5b92c51777
|
Initial implementation of application access to the PX4IO relays.
|
12 years ago |
Julian Oes
|
8053b4b9f7
|
Revert "I don't want a switch for failsafe for the copter"
This reverts commit 28b3ecd9c6 .
|
12 years ago |
Julian Oes
|
28b3ecd9c6
|
I don't want a switch for failsafe for the copter
|
12 years ago |
Lorenz Meier
|
fe6496a04d
|
Correctly do position lock led signalling on IO and position lock measurement on FMU, tested with HIL.
|
12 years ago |
Lorenz Meier
|
b9606d0d6e
|
Reverted arming state machine back to its original state, operational again
|
12 years ago |
Lorenz Meier
|
e56911bf2d
|
Fixed signal loss detection on S.Bus parsing, stripped PX4IO code parts from S.Bus parser to allow FMU / IO parser code sharing. Added S.Bus channels 17 and 18 if channel data struct has enough space. Tested with receiver and PX4FMU.
|
12 years ago |
Lorenz Meier
|
f81d00594c
|
Made PX4IO FMU timeout based on IOs HRT, updating mixers now on every FMU update and not at fixed rate, this is WIP and currently does not support mixing with RC-only
|
12 years ago |
Lorenz Meier
|
03076a72ca
|
Added required additional fields: If system is ok to launch (required for LED indicator), if system is ok to override fully by RC (required for multirotors which should not support this), desired PWM output rate in Hz (again required for some multirotors).
|
12 years ago |
Simon Wilks
|
03b51c69e0
|
Added more LED state logic and improve code.
The LED will now also indicate when the FMU is ARMED. Switched to using
a 16-bit value where each bit indicates what state the LED should be
in.
|
12 years ago |
Simon Wilks
|
197e573885
|
Add an additional safety switch LED blink sequence when FMU and IO are armed
If both the FMU and the IO board are armed then the secure switch will
blink two times quickly then a pause followed by two quick blinks and
so on.
|
12 years ago |
px4dev
|
fd771f67f2
|
Adjust the control mapping from DSM receivers to correspond to the standard PPM control mapping for channels 0-4.
|
12 years ago |
px4dev
|
7c3b28d503
|
Lock out the PPM decoder if the DSM or S.bus decoders have seen a frame recently.
|
12 years ago |
px4dev
|
1485a4ec1a
|
Fix breakage to the DSM parser introduced with the input prioritisation logic. Back out to a "any input wins" strategy; connecting multiple receivers to I/O at the same time is currently not supported (read: strange things will happen).
|
12 years ago |
Lorenz Meier
|
126e6ac207
|
Enabled manual override switch, work in progress. Added initial demix testing code to support delta mixing on the remote for convenient manual override
|
12 years ago |
Lorenz Meier
|
de88732e8e
|
Prevented unhealthy RC input from propagating through the system
|
12 years ago |