px4dev
b20c050402
Fix two protocol-related typos; get the right status flag name for raw PWM; read back the correct page for PWM output.
2013-01-26 12:27:03 -08:00
px4dev
5fe376c7b9
Correctness fixes from Tridge.; increased the minimum poll rate to 50Hz, don't set the input RC timestamp unless we get data.
2013-01-26 00:01:25 -08:00
px4dev
900b0d58ef
Less debug output.
2013-01-25 21:59:31 -08:00
px4dev
818e898a7e
Fix the handling of max transfer size to leave room for the page/offset bytes.
2013-01-25 21:54:04 -08:00
px4dev
1b30cd2f93
Dump a couple of unused member variables.
2013-01-25 21:40:18 -08:00
Andrew Tridgell
8972843b14
px4io: fixed mixer load
2013-01-25 21:37:48 -08:00
px4dev
24f6c6b121
Merge branch 'master' into px4io-i2c
2013-01-25 19:29:29 -08:00
Lorenz Meier
81601ad9dc
Fixed byte readout order and signed value 16 to 14 bit value conversion
2013-01-26 01:04:58 +01:00
px4dev
0bc836ae1d
Implement fetching raw RC input values via the ioctl interface.
2013-01-23 22:19:33 -08:00
px4dev
dce2afde0f
Rework the way that we handle the address phase for reads. Drop the _connected test as we talk to IO before starting the thread.
2013-01-23 20:18:18 -08:00
px4dev
3244bb83ea
Better sanity checking and error handling.
2013-01-23 18:56:03 -08:00
Marco Bauer
efd4250e84
timing changed and amber for manual added
2013-01-23 15:38:38 +01:00
Marco Bauer
deb5fe5187
timing changed and amber for manual added
2013-01-23 15:29:24 +01:00
px4dev
b66b234acd
Merge branch 'master' into px4io-i2c
2013-01-22 19:56:14 -08:00
px4dev
5c34da06bc
Merge pull request #151 from NosDE/master
...
BlinkM Driver with Systemstate
2013-01-19 13:18:57 -08:00
px4dev
d7632b1794
Drop some commented code now the functionality is implemented.
2013-01-19 12:38:53 -08:00
px4dev
4b07a9abd3
Add RC input configuration, update at startup and on parameter change (max 2 per second).
2013-01-16 13:02:49 -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
d207d22a4f
compile fix
2013-01-15 22:59:57 -08:00
px4dev
0eb5a070f1
Checkpoint: more work on the px4io driver. Add raw PWM passthrough ioctl.
2013-01-15 00:41:47 -08:00
Marco Bauer
f0edb59d7e
some major changes
2013-01-14 21:58:42 +01:00
px4dev
06b66ad065
Don't advertise things we don't have anymore.
2013-01-14 01:09:42 -08:00
px4dev
2dc47160f4
Factoring and comments.
2013-01-14 00:30:18 -08:00
px4dev
2311e03379
Start reworking the px4io driver to use the I2C interface instead.
2013-01-14 00:19:01 -08:00
px4dev
6e291ddedc
Add a mechanism for sending multi-part messages to the I2C driver base class.
2013-01-14 00:18:05 -08:00
px4dev
329f595bca
Don't try to set up serial polling before the HRT has been started.
2013-01-13 19:05:00 -08:00
px4dev
469d13fdfe
Implement serial receive DMA for the F1xx. This is not quite working right yet. Some clients work, others not so much.
2013-01-13 19:05:00 -08:00
Marco Bauer
825012b029
switched to initialiser list and member variables
2013-01-13 18:04:07 +01:00
Marco Bauer
edc3ae7b6c
some changes in structure
2013-01-13 13:50:07 +01:00
Marco Bauer
8ec566d0cb
fix number of satellites
2013-01-12 21:54:39 +01:00
Marco Bauer
41cef1d6c5
merged systemstate into blinkm driver
2013-01-12 10:26:37 +01:00
Lorenz Meier
dad7f9f436
Selected adjustments / fixes to make old apps compatible with new-style ADC driver
2013-01-12 00:38:49 +01:00
Lorenz Meier
d6116d9564
Merge branch 'master' of github.com:PX4/Firmware into fixedwing
2013-01-11 07:36:44 +01:00
Julian Oes
b5eccef69e
Started with px4io stop implementation
2013-01-10 15:49:53 -08:00
Julian Oes
5e20dd1736
Added support for IO bootloader revision 3 on FMU
2013-01-10 15:35:47 -08:00
Lorenz Meier
d957f8e004
Hotfix: Copying from right actuator topic on IO if FMU and IO PWM outs are enabled
2013-01-09 13:11:06 +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
34d078b556
Merged latest master
2013-01-06 11:32:08 +01:00
Lorenz Meier
359989a2eb
Merge branch 'master' of github.com:PX4/Firmware into fixedwing_io_mixing_adc
2013-01-06 11:25:24 +01:00
Lorenz Meier
d3fd3d8219
Merged, compiling
2013-01-06 11:25:17 +01:00
px4dev
6ae9f03544
Merge commit '375d3c14d742248b434c080527886a95ea1d563f'
2013-01-06 02:01:53 -08:00
Lorenz Meier
1b2e886878
Removed unwanted cast
2013-01-06 10:24:00 +01:00
Lorenz Meier
f89cd312ec
Used correct datatype, removed unwanted cast
2013-01-06 10:16:50 +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
ad7637861d
Merge branch 'master' of github.com:PX4/Firmware into fixedwing_io_mixing
2013-01-06 01:32:55 +01:00
Lorenz Meier
8eb8909a3c
Merge branch 'master' of github.com:PX4/Firmware into px4io-adc-integration-battery-msg
2013-01-06 00:50:51 +01:00
Simon Wilks
0a89ab7075
Send rc channel ordering and channel attributes from FMU to IO
2013-01-05 22:13:12 +01: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
Lorenz Meier
803352e722
Fixed stupid copy/paste typo
2013-01-01 13:39:00 +01:00
Lorenz Meier
4eb7df6ff5
Introduced battery_status uORB topic, changed sensors app to publish to it, extended px4io driver to publish to it. Both do only so if the battery voltage is reasonably high, at 3.3V
2013-01-01 13:30:24 +01:00
px4dev
bd2f6b58e6
Configure ADC GPIOs on IO
2012-12-31 19:40:41 -08:00
px4dev
b167912b1b
Enable the temperature sensor channel for F2/F4 devices.
2012-12-31 18:31:37 -08:00
px4dev
bc432b1feb
Cleanup and add support for multiple channels.
2012-12-31 17:06:30 -08:00
Julian Oes
805c08815e
The multirotor mixer return 0 instead of the number of channels, my Hex is flying now (not reliably now, random flips
2012-12-31 16:12:55 -08:00
px4dev
22f5a1dc94
First cut at a simple® ADC driver built on our driver framework.
2012-12-31 01:30:57 -08:00
Lorenz Meier
abe1b9759a
Merged IO mixing branch
2012-12-30 10:49:27 +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
Lorenz Meier
142556b442
merged
2012-12-30 10:03:05 +01: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
Lorenz Meier
38a1076a33
Cleaned up attitude control in HIL, implemented very simple guided / stabilized mode with just attitude stabilization
2012-12-28 13:12:27 +01:00
Lorenz Meier
45a4bcb6ef
Merged relay activation
2012-12-27 19:06:09 +01:00
Lorenz Meier
7526dd46a2
Added header for common priority bands
2012-12-27 19:01:00 +01:00
Lorenz Meier
9102b25bce
Merge branch 'master' of github.com:PX4/Firmware into fixedwing_outdoor
2012-12-24 01:14:55 +01: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
a8451a2d18
Update apps/drivers/mpu6000/mpu6000.cpp
...
Don't call ::close on ORB publication handles.
2012-12-23 11:24:54 -08:00
Lorenz Meier
720a1140b2
Merged NuttX
2012-12-23 20:23:30 +01:00
Lorenz Meier
6d34211630
Merge branch 'gyros_parallel' into fixedwing_outdoor
2012-12-22 00:57:50 +01:00
Lorenz Meier
a2aa9dd8fd
Made MPU-6000 gyro optional
2012-12-22 00:56:37 +01:00
Lorenz Meier
4cf2266b79
Robustified actuator output topic, added number of mixed outputs
2012-12-22 00:47:52 +01:00
px4dev
5b92c51777
Initial implementation of application access to the PX4IO relays.
2012-12-20 21:31:02 -08:00
px4dev
73763353d0
Merge branch 'master' into DSM-decoder-fix
2012-12-19 22:24:00 -08:00
Lorenz Meier
4676b71d8a
Cleanup in ADC driver, re-add all inputs that are present
2012-12-19 14:19:11 +01:00
Lorenz Meier
bc3b66043f
Cleaned up HIL on FMU / IO combo
2012-12-19 11:34:51 +01:00
Lorenz Meier
4c2862f6c0
Merged PWM fixes
2012-12-18 12:32:19 +01:00
px4dev
76895af6eb
Fix several aspects of the PWM output driver; enable auto-reload, use named constants for various control bits, and use a more polite mechanism at disarm time to avoid runt pulses.
...
This may address an issue we've seen where we get occasional malformed PWM output pulses, possibly due to a race between compare updates and the timer.
2012-12-18 00:35:28 -08:00
px4dev
8d716dea45
Teach 'fake' to set the arming state as well.
...
Whitespace.
2012-12-18 00:33:33 -08:00
px4dev
b8044d9786
use <err.h> more consistently in the fmu driver.
2012-12-18 00:29:22 -08:00
px4dev
6d0bea0298
Fix the PWM servo ioctl base so it's not overlapping the GPIOs
2012-12-18 00:27:12 -08:00
Lorenz Meier
1fc0a6546e
Merged IO feature branch
2012-12-13 11:12:34 +01:00
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).
2012-12-13 10:23:02 +01:00
Lorenz Meier
26faab64e5
Merge branch 'master' of github.com:PX4/Firmware into fixedwing_outdoor
2012-12-09 19:19:59 +01:00
Lorenz Meier
82cbac70ee
Fixed calibration check
2012-12-07 17:07:42 +01:00
Lorenz Meier
1ebb3b4ada
Merged DSM fixes
2012-12-05 19:55:33 +01:00
px4dev
6e328b4d7a
Add a 'monitor' verb to the px4io command so we can watch inputs to IO (it could get smarter).
2012-12-03 23:19:12 -08:00
px4dev
ad6c60c77c
Merge pull request #90 from PX4/#89-BlinkM-driver
...
BlinkM driver
2012-12-01 22:59:36 -08:00
px4dev
55e2e18885
Merge pull request #73 from PX4/io_arming
...
Made sure IO and FMU obey the lockdown flag when arming motors
2012-12-01 22:55:33 -08:00
px4dev
269bd9f403
Force the fade speed to something sensible. Deal better with failed probes.
2012-12-01 19:36:02 -08:00
px4dev
2a8ef50df4
A driver and shell command for the BlinkM I2C LED controller.
2012-12-01 19:29:36 -08:00
Lorenz Meier
121a9fc490
Merge branch '#61-px4io-spektrum-decoder' into fixedwing_outdoor
2012-12-01 10:51:25 +01:00
Lorenz Meier
de88732e8e
Prevented unhealthy RC input from propagating through the system
2012-12-01 10:49:52 +01:00