Lorenz Meier
|
74bcf29c69
|
Refactored debug level into proper register, px4io status now correctly reads it. Added more of the missing alarms clear logic, alarms reporting now consistent. Adding missing sign change on mode switch, fixes override issue when attempting to switch to auto mode. Pending outdoor tests
|
2013-03-09 13:20:05 +01:00 |
Thomas Gubler
|
4b26d7aef4
|
adding missing include
|
2013-03-09 12:28:30 +01:00 |
Lorenz Meier
|
c9775d7455
|
Merge branch 'px4io-i2c' of github.com:PX4/Firmware into px4io-i2c
|
2013-03-09 11:03:38 +01:00 |
Lorenz Meier
|
cc628fbc27
|
Add missing mixer ok check in override mode, clear FMU lost alarm when setting FMU_OK flag, print AP RX timeout in production mode as well
|
2013-03-09 11:03:06 +01:00 |
Lorenz Meier
|
e8e52afcc4
|
Added minimum set of IO MAVLink text messages, report critical errors such as in-air restarts
|
2013-03-07 20:51:33 +01:00 |
Lorenz Meier
|
ebac51cad8
|
Working on restart resilience, hunting down multi-load mixer issue (still present)
|
2013-03-07 19:47:43 +01:00 |
Lorenz Meier
|
a493824850
|
Fixed wrong comment
|
2013-03-07 18:06:20 +01:00 |
Lorenz Meier
|
ff5ca82c75
|
Fixed throttle scaling issue, harmonized FMU and IO RC scaling code
|
2013-03-07 11:45:23 +01:00 |
Lorenz Meier
|
c993ba5bbc
|
Fixed minor scaling issue, throttle range still half
|
2013-03-07 10:27:55 +01:00 |
Lorenz Meier
|
4050a05de7
|
Merge branch 'px4io-i2c-throttle' of https://github.com/sjwilks/Firmware into px4io-i2c-throttle
|
2013-03-07 09:49:45 +01:00 |
Lorenz Meier
|
4797c192be
|
Fixed RC calibration scaling / assignment
|
2013-03-07 09:49:12 +01:00 |
Simon Wilks
|
8f5dac3740
|
Let's just init the status flag every time we send a config update
|
2013-03-07 01:47:02 +01:00 |
Simon Wilks
|
ae98836db8
|
Correct RC config sanity checking and report back when RC config errors occur.
|
2013-03-06 20:37:01 +01:00 |
Lorenz Meier
|
2284e668eb
|
Removed bound checking assertions
|
2013-02-25 08:53:00 +01:00 |
Lorenz Meier
|
5cc1e30e4f
|
Corrected assertion range
|
2013-02-25 08:31:43 +01:00 |
px4dev
|
e622835555
|
Bump the task stack up to 1200 bytes to give the mixer loader some headroom. This addresses the last reported issue with this branch.
|
2013-02-24 16:20:04 -08:00 |
px4dev
|
6ac7e8b7e4
|
Scale R/C inputs around the preset center, not the nominal center.
|
2013-02-24 15:56:02 -08:00 |
px4dev
|
3d9901dfaf
|
If we have seen control input from FMU, update the FMU_OK status flag.
|
2013-02-24 15:31:40 -08:00 |
px4dev
|
f35c5d600a
|
Don't mask out the enable bit when accepting R/C input config updates.
|
2013-02-24 14:32:04 -08:00 |
px4dev
|
f245d6b1a7
|
Use hrt_elapsed_time() in cases where we can't be sure the timestamp won't change under us.
|
2013-02-24 11:42:34 -08:00 |
px4dev
|
8c7e2546ed
|
Simplify the PX4IO main loop to cut down on memory consumption.
|
2013-02-24 00:09:37 -08:00 |
Lorenz Meier
|
0561fab4e3
|
Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c
|
2013-02-23 12:02:13 +01:00 |
Lorenz Meier
|
a704acc2a2
|
Out of memory warning, flash and RAM optimizations
|
2013-02-23 12:02:00 +01:00 |
px4dev
|
8e66268c35
|
Hotfix: Add support for 9-channel Spektrum/DSM setups.
Tested by Felipe Reis <felipereis87@gmail.com>
|
2013-02-22 19:13:04 -08:00 |
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 |