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
px4dev
92e1d5eb78
Possible fix for #78 - increase the wait timeout for discard when flashing PX4IO. It's not clear this solves the issue, but I can't reproduce it with this added.
12 years ago
Lorenz Meier
00b79764d7
minor code cleanup, not changing functionality
12 years ago
Lorenz Meier
520f335b55
fix for ground speed minimum, untested
12 years ago
Lorenz Meier
54d624f7c7
Added feedforward throttle to pitch compensation, heading from position controller still broken
12 years ago
Lorenz Meier
cc1e0ef235
Removed old fixed wing control process
12 years ago
Lorenz Meier
15236d1ff2
Hotfix: calibration status returns sanity checks with better granularity
12 years ago
Lorenz Meier
caf0fefa32
Cleaned up different uorb topics, cleaned up excessive stack sizes
12 years ago
Lorenz Meier
4d6fb3a037
Added delay test to measure comm delays with a led / scope
12 years ago
Lorenz Meier
90b94b5050
Ported all mixers to actuator_controls_effective topic, mixers do not output the limited result yet
12 years ago
Lorenz Meier
7777d4416d
Changed to actuators effective in mavlink app
12 years ago
Lorenz Meier
98657b8ae4
Added rates setpoints as system outputs
12 years ago
Lorenz Meier
11b0242f55
Not arming FMU in HIL mode
12 years ago
Lorenz Meier
b757ebbda8
Not arming FMU in HIL mode
12 years ago
Lorenz Meier
4298f68fcd
IO does not arm in HIL mode
12 years ago
Lorenz Meier
9bc044eae9
More fixed wing improvements
12 years ago