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.
|
2013-01-13 19:05:01 -08:00 |
|
px4dev
|
97136375e3
|
Turn off the I2C register dump at startup.
|
2013-01-13 19:05:00 -08:00 |
|
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.
|
2013-01-13 19:05:00 -08:00 |
|
px4dev
|
3cea0959b7
|
Implement a simple byte loopback server on I2C for more testing.
|
2013-01-13 19:05:00 -08:00 |
|
px4dev
|
2fb820fabd
|
I2C slave RX DMA works.
|
2013-01-13 19:05:00 -08:00 |
|
px4dev
|
0dab53ae26
|
Implement I2C slave DMA. Not working yet.
|
2013-01-13 19:05:00 -08:00 |
|
px4dev
|
7c2445f74d
|
Don't waste time printing when we have errors - that causes the master to time out
|
2013-01-13 19:04:59 -08:00 |
|
px4dev
|
811790a14f
|
Checkpoint I2C slave work on IO
|
2013-01-13 19:04:59 -08:00 |
|
Lorenz Meier
|
cf563eda86
|
px4io code style
|
2013-01-11 07:44:17 +01:00 |
|
Lorenz Meier
|
65c8028629
|
Working on override channel mapping, allowed trim cal only with RC on
|
2013-01-11 07:35:40 +01:00 |
|
Lorenz Meier
|
0945a2cc2f
|
Fixed RC mapping transmission, tested. Fixed RC scaling in manual mode
|
2013-01-06 14:43:37 +01:00 |
|
Lorenz Meier
|
f788d452ea
|
Merged
|
2013-01-06 11:47:30 +01:00 |
|
Lorenz Meier
|
d3fd3d8219
|
Merged, compiling
|
2013-01-06 11:25:17 +01:00 |
|
Lorenz Meier
|
e2317edde8
|
Code style fix
|
2013-01-06 10:45:19 +01:00 |
|
Lorenz Meier
|
a9e87c791d
|
Fixed header for sbus input
|
2013-01-06 10:13:53 +01:00 |
|
Lorenz Meier
|
3c85f8267f
|
merged relay changes from master
|
2013-01-06 09:51:38 +01:00 |
|
px4dev
|
9df2aaf312
|
Merge branch 'master' into #111-px4io-integrated-mixing
Fix a botched merge for #106 at the same time.
|
2013-01-06 00:40:17 -08:00 |
|
px4dev
|
b3e16b4861
|
Merge pull request #123 from PX4/#106-px4io-relays
Initial implementation of application access to the PX4IO relays.
|
2013-01-06 00:32:04 -08:00 |
|
Simon Wilks
|
7842caf3b2
|
Moved the channel mappings and attributes to the config section
|
2013-01-06 04:21:04 +01:00 |
|
Lorenz Meier
|
83039e76d3
|
Reverted unwanted S.Bus changes
|
2013-01-06 01:32:39 +01:00 |
|
Simon Wilks
|
0a89ab7075
|
Send rc channel ordering and channel attributes from FMU to IO
|
2013-01-05 22:13:12 +01:00 |
|
Simon Wilks
|
1b81724ef7
|
Manually remap the channel assignements for testing.
|
2013-01-05 15:46:26 +01:00 |
|
px4dev
|
d93fda20fd
|
Add ADC measurements and reporting to PX4IO, including calibration for the battery input.
|
2012-12-31 21:06:26 -08:00 |
|
px4dev
|
9be1f99935
|
Add trivial ADC support to PX4IO.
|
2012-12-31 19:41:18 -08:00 |
|
Julian Oes
|
8d1b1354e1
|
A wrong parameter name in commander was responsible for manual override always ok
|
2012-12-31 12:31:31 -08:00 |
|
Lorenz Meier
|
1b82dbb58d
|
Merge branch '#111-px4io-integrated-mixing' of github.com:PX4/Firmware into fixedwing_io_mixing
|
2012-12-31 00:34:12 +01:00 |
|
px4dev
|
f2d4eb2887
|
Revert "Removed text reuse, causing crash with stack trace"
This reverts commit 668d1b3301.
|
2012-12-30 15:08:25 -08:00 |
|
Lorenz Meier
|
36d556256f
|
Merge branch '#111-px4io-integrated-mixing' into fixedwing_io_mixing
|
2012-12-30 14:03:33 +01:00 |
|
Lorenz Meier
|
668d1b3301
|
Removed text reuse, causing crash with stack trace
|
2012-12-30 13:58:30 +01:00 |
|
Lorenz Meier
|
234af06571
|
Fixed merge error
|
2012-12-30 12:05:38 +01:00 |
|
Lorenz Meier
|
abe1b9759a
|
Merged IO mixing branch
|
2012-12-30 10:49:27 +01:00 |
|
px4dev
|
fd016abd46
|
Implement the remaining pieces of mixer upload to PX4IO.
|
2012-12-30 01:17:19 -08:00 |
|
px4dev
|
c740e9c616
|
Add a receive error counter for debugging purposes.
|
2012-12-30 01:16:54 -08:00 |
|
Lorenz Meier
|
142556b442
|
merged
|
2012-12-30 10:03:05 +01:00 |
|
px4dev
|
85375c2201
|
Rename the FMU->IO output controls to reflect the fact that they are controls, not servo values.
|
2012-12-29 17:15:48 -08:00 |
|
px4dev
|
d81edb09cf
|
whitespace/formatting
|
2012-12-29 16:01:24 -08:00 |
|
px4dev
|
0ae5997bd0
|
Fix some scaling errors in the PWM <-> mixer-internal conversions.
|
2012-12-29 13:28:32 -08:00 |
|
px4dev
|
6b9d5dac4d
|
Rough in the new mixer path for PX4IO.
|
2012-12-29 12:58:41 -08:00 |
|
px4dev
|
d5da457e29
|
Fix PX4IO to run C++ static ctors
|
2012-12-29 12:57:29 -08:00 |
|
Lorenz Meier
|
be85589e48
|
Fixed some typos
|
2012-12-28 20:19:47 +01:00 |
|
Lorenz Meier
|
45a4bcb6ef
|
Merged relay activation
|
2012-12-27 19:06:09 +01:00 |
|
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
|
2012-12-23 17:20:53 -08:00 |
|
px4dev
|
5b92c51777
|
Initial implementation of application access to the PX4IO relays.
|
2012-12-20 21:31:02 -08:00 |
|
Julian Oes
|
8053b4b9f7
|
Revert "I don't want a switch for failsafe for the copter"
This reverts commit 28b3ecd9c6.
|
2012-12-20 08:55:54 -08:00 |
|
px4dev
|
73763353d0
|
Merge branch 'master' into DSM-decoder-fix
|
2012-12-19 22:24:00 -08:00 |
|
Julian Oes
|
28b3ecd9c6
|
I don't want a switch for failsafe for the copter
|
2012-12-19 17:06:01 -08:00 |
|
Lorenz Meier
|
fe6496a04d
|
Correctly do position lock led signalling on IO and position lock measurement on FMU, tested with HIL.
|
2012-12-19 14:20:40 +01:00 |
|
Lorenz Meier
|
b9606d0d6e
|
Reverted arming state machine back to its original state, operational again
|
2012-12-16 16:30:41 +01:00 |
|
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.
|
2012-12-16 15:31:44 +01:00 |
|
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
|
2012-12-15 23:28:03 +01:00 |
|