Lorenz Meier
2dc3cf5e43
Remove unneeded header and commented out dead code from MEAS airspeed driver
11 years ago
Lorenz Meier
e07d91613b
Remove unused field
11 years ago
Lorenz Meier
880342b9c1
Missing header for mixer status change.
11 years ago
Lorenz Meier
bd15653b17
Use the proper status registers for locking out from mixer updates and return the value of the mixer change.
11 years ago
Lorenz Meier
33688fec9c
Make the sensors app less verbose
11 years ago
Lorenz Meier
15f8e5acf1
Make in the comments explicit that we don’t do anything here under normal circumstances to make it less tempting to comment out the helpful debug tools in this section.
11 years ago
Lorenz Meier
c5cb3cfd21
Make the IO mixer upload report not only a global success / fail flag, but on transfer basis. Also use a crude lock to avoid updating the mixer while it runs (we have no proper mutexes on IO, and this is a pure read/write locking case with two locks, which should make the execution even with this crude approach thread-safe).
11 years ago
Lorenz Meier
92a6c7d734
Set timeouts back to short, now that we have multiple tries in the uploader. This ensures we try often enough in the 200 ms IO bootloader wait phase to hit it.
11 years ago
Lorenz Meier
73a483c265
Finally fix the timing race between the IO driver, IO uploader and the on-IO firmware by making the uploader tolerant of timing offsets.
11 years ago
Lorenz Meier
1960f7d6c5
Initialize null pointers correctly, always set the pointer to null after deletes. Remove some verbosity from startup and do not try to initialise IO when we just want to reboot it into the bootloader.
11 years ago
Lorenz Meier
2f968357a3
Make the protocol version more descriptive - helps to understand when / how px4io detect fails.
11 years ago
Lorenz Meier
4f78c3e605
Disable PX4IO debug - spams console on comms failure. Each command does report the failure separately, so we get a better feedback level without the spam.
11 years ago
Lorenz Meier
65118f0c2e
Disable debug in the airspeed sensor driver - prevents console spam if it fails (and on probing during startup)
11 years ago
Andrew Tridgell
d8c1131f1e
px4io: improved reliability of forceupdate re-starting px4io
...
this adds a 0.1s delay after update to give px4io time to boot. It
removes the need for the user to reboot after an IO update
11 years ago
Lorenz Meier
8bdbce5fe2
We do not know all secret S.BUS2 codes yet
11 years ago
Lorenz Meier
0c116e8de5
Implemented S.Bus 2 decoding support
11 years ago
Andrew Tridgell
4524fe3e48
px4fmu: added PWM_SERVO_SET_COUNT API
...
this allows the balance between PWM channels and GPIOs to be changed
after the main flight code has started, which makes it possible to
change the balance with a parameter in APM
11 years ago
Andrew Tridgell
dda50c62bf
hmc5883: much faster calibration code with bug fixes
...
this fixes two bugs in "hmc5883 calibrate" and also makes it much
faster, so it can be run on every boot. It now uses the correct 2.5Ga
range when calibrating, and fixes the expected values for X/Y/Z axes
The basic calibration approach is similar to the APM2 driver, waiting
for 10 good samples after discarding some initial samples. That allows
the calibration to run fast enough that it can be done on every boot
without causing too much boot delay.
11 years ago
Lorenz Meier
6a40acdbdc
Fixed PPM warning to be only printed with PPM inputs enabled
11 years ago
Lorenz Meier
9e72e72644
Make SBUS switching conditional to be friendly to IO v1
11 years ago
Lorenz Meier
2aa76f1a3c
Fixes to memory check handling, split out switch handling to allow separate initialization
11 years ago
Lorenz Meier
d77a15e94f
Last small fixes to IO driver to support updates with and without switch pressed and with and without px4io start call before the forceupdate call
11 years ago
px4dev
0994412cca
Fix the initialisation and operation of the PX4IO ADC - now RSSI and VSERVO voltages should be read correctly.
11 years ago
px4dev
1ac8501d95
Clear the screen more properly.
11 years ago
Lorenz Meier
8833f81b48
Do not make PX4IO start mandatory for forceupdate
11 years ago
Lorenz Meier
c3e4e4ee68
Build fix, replaced usleep with up_udelay in memory lockdown state
11 years ago
Lorenz Meier
8c8e9a4ff9
Enable the PX4IO self check and debug interfaces. No reason to disable them, since they are runtime-configured (and needed, for the case of memory)
11 years ago
Lorenz Meier
1c40ce968a
RC config params set to more useful default values - needs more testing
11 years ago
Lorenz Meier
6c23e2f159
Added Doxygen main page
11 years ago
Lorenz Meier
5bc61c3c57
S.BUS output disable cleanup
11 years ago
Lorenz Meier
1e6d83fc9e
Hotfix for IO battery voltage
11 years ago
Anton Babushkin
47c226988c
sdlog2: code style fixed
11 years ago
Anton Babushkin
5e3c365cd4
rc: use sdlog2 -t option
...
sdlog2: move all logs and conv.zip to "log" dir, messages cleanup
11 years ago
Anton Babushkin
40a0ac5736
sdlog2: use GPS time for naming log dirs and files, some fixes
11 years ago
Lorenz Meier
d174998b45
RSSI and concurrent S.Bus output handling
11 years ago
Lorenz Meier
dd9df7b1b0
RSSI field init
11 years ago
Lorenz Meier
4d7e99fd6c
Writing RSSI field not only in servo rail topic
11 years ago
Lorenz Meier
0f30db08c0
Small documentation correction
11 years ago
Lorenz Meier
e691bab71a
Cleaned up test output to be more readable
11 years ago
Lorenz Meier
71b11d54e0
Configuring PX4IOv2 led pins
11 years ago
Lorenz Meier
2600c96e92
Configuring PX4IOv1 led pins
11 years ago
Lorenz Meier
a0bb6674da
Fix FMUs B/E led pin config
11 years ago
Lorenz Meier
c304ea2507
Teached MTD test how to write back 0xFF after destructive test
11 years ago
Andrew Tridgell
e5ad3c31e0
mtd: added "mtd readtest" and "mtd rwtest"
...
this allows for verification of MTD operation on startup
11 years ago
Andrew Tridgell
ff59aa9a0f
mtd: use new MTDIOC_SETSPEED ioctl
...
set SPI speed to 10MHz
11 years ago
Lorenz Meier
352dea6754
Remove outdated configs, clean up pwm limit compilation
11 years ago
Lorenz Meier
84ad289e0a
Improved test suite, now features a MTD device test
11 years ago
Andrew Tridgell
778cbcb5cc
mtd: fixed creation and erase of a single partition
11 years ago
Lorenz Meier
202e89de91
Introducing mtd status command, fixing compile errors for I2C setup
11 years ago
Lorenz Meier
33b84186e3
Patching up MPU6K pin disable defines
11 years ago