px4dev
58309fd6a8
Merge branch 'master' of https://github.com/PX4/Firmware
2013-01-06 02:02:14 -08:00
px4dev
6ae9f03544
Merge commit '375d3c14d742248b434c080527886a95ea1d563f'
2013-01-06 02:01:53 -08:00
px4dev
5cc76018ff
Merge commit '920608bf3671662f94b4939ffdaf6fde2b08edff'
2013-01-06 02:01:41 -08:00
px4dev
0a4ef92b75
Merge commit '890b1ac0689984cb6bc4638cc2aa8ec869d14f91'
2013-01-06 01:55:37 -08:00
px4dev
a03396e3f3
Merge commit '0fff8aa23b477bebda9c1a79f5cd0b5eceeb95d1'
2013-01-06 01:55:21 -08:00
px4dev
18385c2d97
Merge commit '63464a8959d90bd92c4998a80992c416b85c2057'
2013-01-06 01:55:00 -08:00
px4dev
532c694ec3
Merge pull request #122 from PX4/sbus_rcloss_fix
...
Fixed connection loss / failsafe detection, added decoding of two switches
2013-01-06 01:53:14 -08:00
Lorenz Meier
329ac2f4ba
Merged master
2013-01-06 10:50:41 +01:00
px4dev
94fa60fa04
Merge pull request #132 from PX4/#111-px4io-integrated-mixing
...
#111 px4io integrated mixing
2013-01-06 00:40:45 -08: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
px4dev
76277ec622
Ignore more.
2013-01-05 22:37:26 -08:00
Andrew Tridgell
375d3c14d7
increase the UART buffer sizes to 256
...
The most critical one is the GPS serial port receive buffer size,
which needs to be at least 128 to support the UBLOX protocol, but it
seems a good idea for people running a FMU without a IO board to
increase the UART buffer sizes generally
2013-01-06 06:33:44 +11:00
Andrew Tridgell
318609bf59
fixed PWM_SERVO_GET
...
this was using the wrong channel
2013-01-06 06:31:37 +11:00
Andrew Tridgell
0134186420
fixup rate
2013-01-06 06:31:00 +11:00
Andrew Tridgell
219ab05a70
added PWM_SERVO_SET_UPDATE_RATE ioctl
...
this allows apps to set the PWM update rate. APM needs this to honor
the user configurable PWM rate setting for copters.
2013-01-06 06:29:28 +11:00
px4dev
69cdab9afc
Fix a typo that caused PWM_SERVO_GET ioctls to fail on the FMU PWM outputs.
2013-01-04 23:41:21 -08:00
px4dev
91ca80e634
Fix the handling of FIONREAD/FIONWRITE; thanks Tridge.
2013-01-04 21:28:26 -08:00
Andrew Tridgell
920608bf36
added vdprintf() library function
2013-01-05 07:58:50 +11:00
Andrew Tridgell
73b787a8dd
serial: fixed up FIONREAD and FIONWRITE
...
the device ioctl returns -ENOTTY when it hasn't handled the command
2013-01-03 20:42:36 +11:00
px4dev
3916230d8f
Add FIONWRITE to allow applications to sniff the amount of writable space on a descriptor. Implement this for serial devices only.
2013-01-03 19:35:44 +11:00
px4dev
e787fa5bce
Add FIONWRITE to allow applications to sniff the amount of writable space on a descriptor. Implement this for serial devices only.
2013-01-03 00:33:22 -08:00
Andrew Tridgell
8ffba22771
build: allow for external apps via EXTERNAL_APPS
...
this is used by the APM build
2013-01-02 17:39:12 +11:00
Andrew Tridgell
890b1ac068
build: cope better with absolute paths
2013-01-02 17:38:52 +11:00
Andrew Tridgell
0fff8aa23b
GPS: added comment on units for variance
2013-01-02 17:38:28 +11:00
Andrew Tridgell
63464a8959
mavlink: fixed build warning
2013-01-02 17:37:55 +11:00
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.
2012-12-31 09:21:44 +01:00
px4dev
dbb841b0dc
Rework the way we scan text for scaler definitions; something weird was going on with sscanf's handling of %n that wasn't obvious. This seems to work around the issue.
2012-12-30 15:09:21 -08: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
668d1b3301
Removed text reuse, causing crash with stack trace
2012-12-30 13:58:30 +01:00
px4dev
f6ea42ab5e
Fix px4io signal test command to force FMU armed state.
2012-12-30 01:28:07 -08: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
px4dev
b14abad3a0
Fix logic for handling partial buffers.
2012-12-30 01:16:28 -08: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
b8250de1e6
Assorted compile fixes.
2012-12-29 16:22:30 -08:00
px4dev
d81edb09cf
whitespace/formatting
2012-12-29 16:01:24 -08:00
px4dev
f9520ee39d
Factory method for a simple mixer that converts PWM/PPM values to the standard internal format.
2012-12-29 16:00:50 -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
6ede0e2f18
Add the ability to reset a mixer group. Report the remaining buffer size from load_from_buf.
2012-12-29 12:58:10 -08:00
px4dev
d5da457e29
Fix PX4IO to run C++ static ctors
2012-12-29 12:57:29 -08:00
px4dev
35c82ff2fc
Make mixer ioctls load from a memory buffer rather than a file. This is prep for uploading the memory buffer to IO to be processed there.
2012-12-29 00:01:04 -08:00
px4dev
f0da789626
Remove the unused complex-multirotor setup ioctl, since it's not implemented anywhere.
2012-12-28 16:44:17 -08:00
px4dev
3c865c7261
Build the mixer library for PX4IO as well
2012-12-27 15:12:09 -08:00
Lorenz Meier
c08135ffef
Merged rates setpoints
2012-12-23 21:15:01 +01:00
Lorenz Meier
2f3f0aec46
Merge pull request #115 from PX4/ardrone_startup_update
...
Updated PX4IOAR start script
2012-12-23 11:42:24 -08:00
px4dev
95b3828e41
Merge branch '#102-pwm-output-correctness'
2012-12-23 11:38:16 -08:00
px4dev
6b3f36020c
Merge pull request #94 from PX4/DSM-decoder-fix
...
Untangle the DSM decoder from the input source priority logic, clean up input handling some more.
2012-12-23 11:31:31 -08:00
px4dev
d5aa763118
Merge pull request #107 from PX4/gyros_parallel
...
Made MPU-6000 gyro optional
2012-12-23 11:25:15 -08:00