Lorenz Meier
f2fb8c7960
Fix typo
12 years ago
Lorenz Meier
a2aa9dd8fd
Made MPU-6000 gyro optional
12 years ago
Lorenz Meier
4cf2266b79
Robustified actuator output topic, added number of mixed outputs
12 years ago
px4dev
5b92c51777
Initial implementation of application access to the PX4IO relays.
12 years ago
Julian Oes
8053b4b9f7
Revert "I don't want a switch for failsafe for the copter"
...
This reverts commit 28b3ecd9c6
.
12 years ago
Julian Oes
06407b166f
My PID integral part fixes
12 years ago
Julian Oes
28b3ecd9c6
I don't want a switch for failsafe for the copter
12 years ago
Lorenz Meier
fe6496a04d
Correctly do position lock led signalling on IO and position lock measurement on FMU, tested with HIL.
12 years ago
Lorenz Meier
4676b71d8a
Cleanup in ADC driver, re-add all inputs that are present
12 years ago
Lorenz Meier
bc3b66043f
Cleaned up HIL on FMU / IO combo
12 years ago
Lorenz Meier
f41e5728fc
Correct demixing scaling for v-tail mixers
12 years ago
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.
12 years ago
px4dev
8d716dea45
Teach 'fake' to set the arming state as well.
...
Whitespace.
12 years ago
px4dev
b8044d9786
use <err.h> more consistently in the fmu driver.
12 years ago
px4dev
6d0bea0298
Fix the PWM servo ioctl base so it's not overlapping the GPIOs
12 years ago
Lorenz Meier
97a94e3b89
Fixed MAV_TYPE parameter readout
12 years ago
Lorenz Meier
df5c09ead1
Fixed MAVLink parameter initialization
12 years ago
Lorenz Meier
b9606d0d6e
Reverted arming state machine back to its original state, operational again
12 years ago
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.
12 years ago
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
12 years ago
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).
12 years ago
Simon Wilks
03b51c69e0
Added more LED state logic and improve code.
...
The LED will now also indicate when the FMU is ARMED. Switched to using
a 16-bit value where each bit indicates what state the LED should be
in.
12 years ago
Simon Wilks
197e573885
Add an additional safety switch LED blink sequence when FMU and IO are armed
...
If both the FMU and the IO board are armed then the secure switch will
blink two times quickly then a pause followed by two quick blinks and
so on.
12 years ago
Lorenz Meier
82cbac70ee
Fixed calibration check
12 years ago
px4dev
fd771f67f2
Adjust the control mapping from DSM receivers to correspond to the standard PPM control mapping for channels 0-4.
12 years ago
px4dev
7c3b28d503
Lock out the PPM decoder if the DSM or S.bus decoders have seen a frame recently.
12 years ago
px4dev
1485a4ec1a
Fix breakage to the DSM parser introduced with the input prioritisation logic. Back out to a "any input wins" strategy; connecting multiple receivers to I/O at the same time is currently not supported (read: strange things will happen).
12 years ago
px4dev
6e328b4d7a
Add a 'monitor' verb to the px4io command so we can watch inputs to IO (it could get smarter).
12 years ago
px4dev
451ecc1bf4
Remove a few cut-and-paste author attributions.
12 years ago
px4dev
269bd9f403
Force the fade speed to something sensible. Deal better with failed probes.
12 years ago
px4dev
2a8ef50df4
A driver and shell command for the BlinkM I2C LED controller.
12 years ago
Lorenz Meier
126e6ac207
Enabled manual override switch, work in progress. Added initial demix testing code to support delta mixing on the remote for convenient manual override
12 years ago
Lorenz Meier
2bfb672791
Cleaned up mode indication
12 years ago
Lorenz Meier
aa1d57c085
Allowed mode switching via command
12 years ago
Lorenz Meier
de88732e8e
Prevented unhealthy RC input from propagating through the system
12 years ago
px4dev
efd3b9dea6
Clean up the FMU communications init.
12 years ago
px4dev
7d9d307ab0
We don't need non-blocking I/O for this context anymore; it's OK for it to block.
12 years ago
px4dev
8c4e9de70a
Use the right constraint for the output mixer; we might end up wanting more virtual control channels.
12 years ago
px4dev
1e6e06595a
Avoid processing S.bus channels that cannot be communicated to FMU
12 years ago
px4dev
2ac0cac11f
Build fix - need <termios.h>
12 years ago
Julian Oes
6f572637de
Fixed missing heading for mtkcustom and nmea
12 years ago
Lorenz Meier
ef4a54666d
Harmonized PPM, S.BUS and DSM input (order: first preference S.Bus, then DSM, then PPM, first available and valid source is chosen), tested with FMU, valid channel inputs
12 years ago
px4dev
e0df7e6a76
save ~200 bytes of RAM by correctly positioning the S.bus decoder table in flash.
12 years ago
Lorenz Meier
d16d66f990
Enabled UART3, added JTAG make target for IO, removed potentially problematic usleep
12 years ago
px4dev
c961dd8bab
Just for fun, add a (completely untested) S.bus decoder.
12 years ago
px4dev
9fa794a8fa
Rework the PX4IO software architecture:
...
- Use a separate thread for handing R/C inputs and outputs.
- Remove all PX4IO R/C receiver configuration; it's all automatic now.
- Rework the main loop, dedicate it to PX4FMU communications after startup.
- Fix several issues in the px4io driver that would cause a crash if PX4IO was not responding.
12 years ago
px4dev
9c8101d4f1
Add some more information to comments.
12 years ago
px4dev
d0efd1a419
Fix the DSM (spektrum) protocol decoder, and add some format auto-detection to it.
12 years ago
px4dev
3321ca0888
Don't print the status line so much; we seem to drop a lot of receive characters this way.
12 years ago
px4dev
03a82e0a03
Fix includes for debug output.
12 years ago