Lorenz Meier
|
be40845177
|
Switched to debug statement which is more efficient regarding stack usage, only printing at debug level 2 or higher.
|
2013-02-20 12:19:03 +01:00 |
Andrew Tridgell
|
4a15eef602
|
px4io: fixed signals for lower latency PWM output
poll() is not interrupted by signals, whereas usleep() is
|
2013-02-19 12:31:51 +11:00 |
Andrew Tridgell
|
317515fb6a
|
px4io: added INAIR_RESTART enable/disable flags
the autopilot code needs to know that in-air restart may happen, so it
should be something that is enabled, rather than on by default.
|
2013-02-18 14:16:09 +11:00 |
Andrew Tridgell
|
9f15f38e57
|
Merged, removed unneeded line
|
2013-02-17 18:29:18 +01:00 |
Lorenz Meier
|
219279ac82
|
Merge branch 'px4io-i2c' into px4io-i2c-nuttx
|
2013-02-17 18:13:09 +01:00 |
Lorenz Meier
|
56bf9855a8
|
Finished and tested in-air restore of arming state, as long as both boards reset at the same time armings state is now retained
|
2013-02-17 17:47:26 +01:00 |
Lorenz Meier
|
5085a28240
|
Merge branch 'px4io-i2c' into px4io-i2c-nuttx
|
2013-02-17 16:38:42 +01:00 |
Lorenz Meier
|
f689f0abb0
|
Fixed excessive debug buffer size
|
2013-02-17 16:38:19 +01:00 |
Lorenz Meier
|
d677512981
|
Merge branch 'px4io-i2c' of github.com:PX4/Firmware into px4io-i2c-nuttx
|
2013-02-17 16:33:59 +01:00 |
Lorenz Meier
|
038037d676
|
Allow to in-air restore the FMU and IO arming state if only one of the two fails
|
2013-02-17 16:06:33 +01:00 |
Lorenz Meier
|
8f8e30052b
|
Merged
|
2013-02-17 15:29:31 +01:00 |
Andrew Tridgell
|
04bea8678e
|
Merged debuglevel command from Tridge
|
2013-02-17 13:03:36 +01:00 |
Andrew Tridgell
|
a33f314a25
|
More output
|
2013-02-17 12:53:12 +01:00 |
Lorenz Meier
|
598622a00f
|
Slightly adjusted battery voltage measurement after calibration against B&K Precision lab supply with beefy wiring. Needs more cross-validation.
|
2013-02-16 18:16:29 +01:00 |
Andrew Tridgell
|
6eb69b07a8
|
Merged debug level commits from Tridge
|
2013-02-14 23:06:52 +01:00 |
Andrew Tridgell
|
bfecfbf5ee
|
px4io: added isr_debug()
this is useful for debugging px4io internals
|
2013-02-14 19:30:15 +01:00 |
Lorenz Meier
|
4595cc65b8
|
Reworked manual override flag, reworked arming slightly. Pending testing
|
2013-02-13 08:38:31 +01:00 |
Lorenz Meier
|
d4ca6a29a1
|
Ensured that the mixer output obeys the FMU and IO armed state
|
2013-02-12 22:19:53 +01:00 |
Lorenz Meier
|
01ada7f74f
|
Fixed mixer transmission between FMU and IO
|
2013-02-12 09:31:43 +01:00 |
Lorenz Meier
|
857fe5d405
|
Fixes to RC config transmission from Simon Wilks
|
2013-02-12 09:20:11 +01:00 |
px4dev
|
3c8da27d72
|
Fix a misleading comment.
|
2013-02-09 00:57:23 -08:00 |
px4dev
|
a645a388bc
|
Fix a sign error
|
2013-02-09 00:53:51 -08:00 |
px4dev
|
8cb583cf80
|
Assorted compile fixes.
|
2013-02-06 23:50:55 -08:00 |
px4dev
|
5f52d3dc7f
|
lib_lowprintf -> lowsyslog
|
2013-02-06 23:31:51 -08:00 |
px4dev
|
43ead720a7
|
Now that we're mostly done with I2C, the old serial interface can be cleaned out.
|
2013-01-26 21:17:10 -08:00 |
px4dev
|
981477c785
|
Re-order register page variables to match the order registers are defined in the protocol header.
|
2013-01-26 19:24:18 -08:00 |
px4dev
|
7864176b5a
|
A couple of logic fixes from Tridge.
|
2013-01-26 16:37:35 -08:00 |
Andrew Tridgell
|
c0a46c4b93
|
px4io: fixed logical vs bitwise typo
|
2013-01-26 16:20:34 -08:00 |
Andrew Tridgell
|
5ee52138c4
|
px4io: ensure RC_OK status flag is set on good input
|
2013-01-26 16:20:02 -08:00 |
px4dev
|
6bd662cfb2
|
In the case of a repeated start, we won't get a STOPF/AF status, but we still need to complete the old transaction before handling ADDR.
|
2013-01-26 16:11:31 -08:00 |
px4dev
|
6ba4cd04fe
|
Handle the completion of an in-progress transaction (STOPF/AF bits) before accepting the start of a new transaction (ADDR).
|
2013-01-26 14:26:02 -08:00 |
px4dev
|
11796e27f2
|
Simplify and tidy the handling of page buffer selection on the readout path.
|
2013-01-26 14:25:22 -08:00 |
px4dev
|
4ab490bd50
|
Only update the servo output values when we are armed.
|
2013-01-26 13:16:24 -08:00 |
px4dev
|
3a8bbe837e
|
Allow readback of the direct PWM outputs (this mirrors the PWM servo outputs)
|
2013-01-26 13:14:15 -08:00 |
px4dev
|
f854e2f791
|
Fixes from/inspired by Tridge; enable all mapped R/C inputs, fix various logic errors, be more selective about clearing the RC input type flags for debugging purposes.
|
2013-01-26 00:02:45 -08:00 |
px4dev
|
b46d05835b
|
Implement settable failsafe values for PWM outputs.
By default in failsafe mode, PWM output pulses are not generated.
|
2013-01-25 22:58:33 -08:00 |
px4dev
|
6c75c5909e
|
Move the DMA start to immediately after setting it up; less latency at interrupt time, and no chance of getting start/stop calls out of sync.
|
2013-01-25 21:58:55 -08:00 |
Andrew Tridgell
|
f8bea6d07b
|
px4io: fixed cpp error
|
2013-01-25 21:36:19 -08:00 |
Andrew Tridgell
|
57d028fddd
|
px4io: fixed array reference bug
|
2013-01-25 21:35:58 -08:00 |
px4dev
|
82f72b96de
|
Move DMA start for tx/rx into the gap where SCL is still stretched so that there is no risk of receiving the first byte before DMA starts.
|
2013-01-25 21:35:32 -08:00 |
px4dev
|
b34311915a
|
Safeguard against back-to-back transactions while setting up to handle a register read request.
|
2013-01-23 18:56:58 -08:00 |
px4dev
|
15c85ba2cb
|
Strip some debugging
|
2013-01-19 18:05:33 -08:00 |
px4dev
|
7b367c3eb3
|
Beat the px4io driver into compilable shape. Just missing RC input configuration now.
|
2013-01-15 23:01:04 -08:00 |
px4dev
|
b4dcdae03d
|
Add support for battery current scaling. Add feedback for mixer load operations.
|
2013-01-15 22:22:15 -08:00 |
px4dev
|
112f5ea969
|
Add support for raw PWM passthrough from FMU via IO.
|
2013-01-15 00:41:13 -08:00 |
px4dev
|
f3a587dfce
|
Wire the I2C device code into the register handler.
|
2013-01-15 00:40:41 -08:00 |
px4dev
|
2686344d58
|
Adjust the default deadzone for RC inputs per feedback.
|
2013-01-15 00:40:15 -08:00 |
px4dev
|
5c60ed9a94
|
Fix up FMU input timeout handling.
Fix the FMU auto OK LED status.
Strip out unused fields from the system state structure.
|
2013-01-14 01:11:29 -08:00 |
px4dev
|
2311e03379
|
Start reworking the px4io driver to use the I2C interface instead.
|
2013-01-14 00:19:01 -08:00 |
px4dev
|
4e38615595
|
Major workover of the PX4IO firmware for I2C operation.
|
2013-01-13 19:05:01 -08:00 |