Andrew Tridgell
|
83b13c3d88
|
HAL_PX4: fixed definition of relay and piezo pins
|
12 years ago |
Andrew Tridgell
|
0916388ab5
|
HAL_PX4: retry opening UARTs up to 5 times
this seems to help a lot with the USB port on PX4
|
12 years ago |
Marco Bauer
|
a3b216bce3
|
HAL_PX4: added GPIO driver
|
12 years ago |
Andrew Tridgell
|
d7d87f827e
|
HAL_PX4: support voltage monitoring on multi-connector pin 5
|
12 years ago |
Andrew Tridgell
|
2316c3bd11
|
AP_HAL: make storage->write_block() take a const pointer
|
12 years ago |
Andrew Tridgell
|
e391c34d1e
|
AP_HAL_PX4: fixed indent-tabs-mode
|
12 years ago |
Andrew Tridgell
|
2c149bac8e
|
HAL_PX4: added new arming ioctls
|
12 years ago |
Andrew Tridgell
|
a5b20b4dfc
|
AP_HAL: removed scaling factor on analog sources
these are not use anymore, as voltage_average() is used instead
|
12 years ago |
Andrew Tridgell
|
589b8cdb58
|
AP_HAL: added voltage_average_ratiometric() call to AnalogIn
this is for ratiometric sensors such as the 3DR airspeed sensor and
the Maxbotix analog sonar
|
12 years ago |
Andrew Tridgell
|
172faeea26
|
HAL_PX4: moved rc.APM to new ROMFS directory
|
12 years ago |
Andrew Tridgell
|
b3e21c6add
|
HAL_PX4: include visibility.h
needed for new nuttx structure
|
12 years ago |
Andrew Tridgell
|
9cd0af1132
|
HAL_PX4: make PX4 snprintf support %S format
just maps it to %s for normal printf
|
12 years ago |
Andrew Tridgell
|
9bc48c9894
|
HAL_PX4: fixed build with new AnalogIn API
pin settle times not actually implemented on PX4 yet
|
12 years ago |
Andrew Tridgell
|
ccd38e58a1
|
HAL_PX4: fixed the scaling on the analog pins
|
12 years ago |
Randy Mackay
|
bbbd90c430
|
AP_HAL: rename RCInput's valid() fn to valid_channels
|
12 years ago |
Andrew Tridgell
|
ec1678db83
|
HAL_PX4: setup for 12 output channels
moved telemetry port to /dev/ttyS2 to free PWM outputs on FMU
|
12 years ago |
Andrew Tridgell
|
709615159a
|
HAL_PX4: support 12 output channels with PX4IO
first 8 on IO board, next 4 on FMU outputs
|
12 years ago |
Andrew Tridgell
|
af7381e9e0
|
AP_HAL: added register_io_process()
this is used to register a low priority IO task. Used for file IO in
DataFlash_File.cpp
|
12 years ago |
Andrew Tridgell
|
d01d754ba8
|
HAL_PX4: if we have lost RC input then set channel 3 to 900
this allows failsafe to kick in
|
12 years ago |
Andrew Tridgell
|
6ddb99a50b
|
HAL_PX4: create APM/boot.log on SD card
useful for debugging
|
12 years ago |
Andrew Tridgell
|
cc932973d6
|
HAL_PX4: remove the need for the fmu_only flag file
|
12 years ago |
Andrew Tridgell
|
8766e86091
|
HAL_PX4: fixed blocking bulk writes to UARTs
this fixes a problem with uBlox initialisation on PX4
|
12 years ago |
Andrew Tridgell
|
14911eff6c
|
HAL_PX4: added a (disabled) trick for handling blocking ttyACM0
this doesn't work yet, but is worth having for debugging
|
12 years ago |
Andrew Tridgell
|
93fc9c48e5
|
HAL_PX4: fixed startup bug in fmu_only mode
|
12 years ago |
Andrew Tridgell
|
ac69a531d3
|
HAL_PX4: workaround problem with APM file on SD card
this works around file redirection bug from earlier firmwares
|
12 years ago |
Andrew Tridgell
|
6a1aad30f1
|
HAL_PX4: auto-create APM directory on SD card
|
12 years ago |
Andrew Tridgell
|
b1c27407a2
|
AP_HAL: added voltage_average() interface to AnalogIn
returns voltage in Volts, using averaged reading over samples.
Where possible this should be auto-scaled against a known reference
voltage
|
12 years ago |
Pat Hickey
|
e0457f21de
|
AP_HAL_PX4: fix off-by-one error in RCOutput channel sending
|
12 years ago |
Andrew Tridgell
|
c373429a6e
|
HAL_PX4: fixed a buffer handling bug
BUF_SPACE() was badly buggy, which could lead to memory corruption
|
12 years ago |
Andrew Tridgell
|
160e5fa311
|
HAL_PX4: show a message if we fail to upgrade PX4IO firmware
|
12 years ago |
Andrew Tridgell
|
02c5c3ec4a
|
HAL_PX4: changed scheduler priorities
put sensor priority above main sketch, to prevent occasional blocking
for sensor data
|
12 years ago |
Andrew Tridgell
|
54e7bce75e
|
HAL_PX4: cope with O_NONBLOCK not working in NuttX on ttyACM0
writes will block anyway, which clags up APM
|
12 years ago |
Andrew Tridgell
|
8041768c67
|
HAL_PX4: perform automatic update of px4io firmware
|
12 years ago |
Andrew Tridgell
|
8e2a20bea8
|
HAL_PX4: enable ttyACM0 as main console, ttyS1 as telemetry port
|
12 years ago |
Andrew Tridgell
|
e45b137816
|
HAL_PX4: added run_debug_shell() implementation for PX4
|
12 years ago |
Andrew Tridgell
|
4fd7630ec9
|
HAL_PX4: IO_SET_FEATURES is not needed any more
|
12 years ago |
Andrew Tridgell
|
8375abdd99
|
HAL_PX4: fixed max storage write size
|
12 years ago |
Andrew Tridgell
|
e4a204d2f6
|
HAL_PX4: reopen storage file on any IO error
|
12 years ago |
Andrew Tridgell
|
90e264d56a
|
HAL_PX4: disable manual override in PX4 for now
|
12 years ago |
Andrew Tridgell
|
02b4ecc273
|
HAL_PX4: get RC input from PX4IO board
this allows us to support DSM and SBUS receivers
|
12 years ago |
Andrew Tridgell
|
d7409b6a25
|
HAL_PX4: startup in low priority to fix CLI
this ensures that tight sensor loops in setup() can run without
sleeping
|
12 years ago |
Andrew Tridgell
|
7359348e2c
|
HAL_PX4: added support for /fs/microsd/APM/nostart
prevents APM startup
|
12 years ago |
Andrew Tridgell
|
8f2f4b1bc5
|
HAL_PX4: use write() to /dev/pwm_output for servo output
this lowest the cost of PWM output a lot, but relies on the new I2C
based IO firmware
|
12 years ago |
Andrew Tridgell
|
f9d43f4c3e
|
HAL_PX4: prevent loop() overruns using hrt
this ensures if loop() takes more than 1 second, the main task gets
its priority dropped until loop() completes
|
12 years ago |
Andrew Tridgell
|
70227d5d93
|
HAL_PX4: added scheduler performance counters
|
12 years ago |
Andrew Tridgell
|
0e79b93289
|
HAL_PX4: added storage performance counters
|
12 years ago |
Andrew Tridgell
|
fc8065b50f
|
HAL_PX4: added UART performance counters
|
12 years ago |
Andrew Tridgell
|
6cf1d5e1ff
|
HAL_PX4: handle IO errors on microsd
this should handle EINTR gracefully
|
12 years ago |
Andrew Tridgell
|
966b9b9b9c
|
HAL_PX4: format panic messages with a newline
|
12 years ago |
Andrew Tridgell
|
c9799fb2b7
|
HAL_PX4: writing more than 512 bytes at a time can cause IO errors
the vfat fs in NuttX is really very picky!
|
12 years ago |