Julian Oes
f3ce61d740
Forgot to remove some debug stuff
2013-06-19 09:35:19 +02:00
Julian Oes
202792294a
Merge remote-tracking branch 'upstream/io_fixes' into new_state_machine
...
Conflicts:
src/drivers/px4io/px4io.cpp
src/modules/commander/commander.c
src/modules/commander/state_machine_helper.c
src/modules/commander/state_machine_helper.h
src/modules/px4iofirmware/mixer.cpp
src/modules/uORB/topics/actuator_controls.h
src/modules/uORB/topics/vehicle_status.h
2013-06-18 15:35:26 +02:00
Julian Oes
b5f4f1ee80
Adressed performance concern and fixed a copy paste bug
2013-06-18 10:00:42 +02:00
Julian Oes
cc452834c0
First try to prevent motors from stopping when armed
2013-06-18 00:30:10 +02:00
Lorenz Meier
c3a8f177b6
Software version check fixes
2013-06-12 12:58:17 +02:00
Lorenz Meier
eb76d116cc
Minor state machine improvements and fixes for IO safety / in-air restart handling
2013-06-12 12:30:42 +02:00
Lorenz Meier
9444def5f8
Merge branch 'master' into fmuv2_bringup
2013-06-10 15:01:44 +02:00
Lorenz Meier
8567134d64
Made pwm command sending continously, improved failsafe logic
2013-06-07 19:41:41 +02:00
Lorenz Meier
ebc12eebd0
Merged
2013-06-07 13:04:49 +02:00
Lorenz Meier
6c7c130de7
Hotfix: Make IOs mixer loading pedantic to make sure the full mixer loads
2013-06-07 10:34:55 +02:00
Lorenz Meier
8ad3aa315f
Merged master
2013-06-06 07:57:31 +02:00
Lorenz Meier
4db739b5e1
Integration WIP with current NuttX version
2013-06-01 01:48:42 +02:00
Lorenz Meier
abb024c724
More safety added by disabling pulses
2013-05-29 18:32:23 +02:00
Lorenz Meier
f6570172da
Set default failsafe value to 0 of mixer
2013-05-29 17:07:26 +02:00
Lorenz Meier
2876bc72f9
Slightly reworked IO internal failsafe, added command to activate it (px4io failsafe), does not parse commandline arguments yet
2013-05-28 17:46:24 +02:00
px4dev
308ec6001a
Add serial read-length handling.
2013-05-22 22:09:00 +02:00
px4dev
437d9e4180
Merge branch 'fmuv2_bringup' into fmuv2_bringup_io2
2013-05-22 21:39:30 +02:00
Lorenz Meier
88ba97816d
Better preflight check, catches wrong RC configs. Needs rework of mavlink text message API to VARARGs
2013-05-21 09:14:22 +02:00
Lorenz Meier
0165034e49
Hotfix: Changed alarms back to what they originally were designed for: Traps to later see if condition was once violated. Currente status can be read through the status flags
2013-05-21 09:14:22 +02:00
Lorenz Meier
3ac76c4476
Blink pattern fixes
2013-05-13 10:15:36 +02:00
Lorenz Meier
69571c48c4
Fixed compile and logic errors, behaving now
2013-05-13 10:02:15 +02:00
Lorenz Meier
79f9b61aff
Fixed led patterns to be up to the latest specs
2013-05-12 20:05:20 +02:00
Lorenz Meier
26efba2ff3
New blink patterns for safety switch, removed GPS lock indicator
2013-05-09 17:38:12 +02:00
Andrew Tridgell
5b75519925
px4io: handle errors from adc_measure()
...
don't update the voltage/current values on error
2013-05-04 19:18:58 +10:00
Andrew Tridgell
af27101ffe
px4io: changed adc_measure() to return 0xffff on error, and lower timeout
...
the timeout of 1ms was far too long, and could impact flight
performance
Returning 0xffff on error matches the FMU code, and allows bad values
to be discarded
2013-05-04 19:18:51 +10:00
Andrew Tridgell
44015d6915
px4io: return raw ADC value for current
...
we don't know how to scale it as we have no info on what sensor is
attached. As we are returning a uint16_t it is better to let the FMU
sort it out or we'll just lose precision.
2013-05-04 19:18:47 +10:00
px4dev
e67022f874
Serial interface for IOv2
2013-04-28 18:14:46 -07:00
px4dev
8f7200e011
Frame up the configuration for the serial interface on IOv2
2013-04-28 13:51:33 -07:00
Lorenz Meier
dc2c3cad3e
Re-enabled mixer
2013-04-28 14:59:42 +02:00
Lorenz Meier
0eafc2ade1
IO compiling
2013-04-28 14:54:44 +02:00
Lorenz Meier
13fc670386
Moved last libs, drivers and headers, cleaned up IO build
2013-04-28 09:54:11 +02:00
Lorenz Meier
f57439b90e
Moved all drivers to new world, PX4IO completely in new world
2013-04-28 01:30:14 +02:00