Lorenz Meier
29d90a2f84
Merge branch 'sbus2' into beta
2014-01-24 18:11:44 +01:00
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.
2014-01-24 17:33:04 +01:00
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.
2014-01-24 17:30:40 +01:00
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.
2014-01-24 17:29:27 +01:00
Lorenz Meier
2f968357a3
Make the protocol version more descriptive - helps to understand when / how px4io detect fails.
2014-01-24 17:28:04 +01:00
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.
2014-01-24 17:27:28 +01:00
Lorenz Meier
65118f0c2e
Disable debug in the airspeed sensor driver - prevents console spam if it fails (and on probing during startup)
2014-01-24 17:26:13 +01:00
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
2014-01-24 12:35:19 +01:00
Anton Babushkin
58792c5ca6
Use double for lat/lon in vehicle_global_position topic, use filed names lat, lon, alt, vel_n, vel_e, vel_d for global positions
2014-01-24 00:06:10 +01:00
Anton Babushkin
b3d98e4a19
Merge branch 'master' into beta
2014-01-23 23:10:05 +01:00
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
2014-01-23 21:41:07 +01:00
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.
2014-01-23 21:40:29 +01:00
Lorenz Meier
6a40acdbdc
Fixed PPM warning to be only printed with PPM inputs enabled
2014-01-23 09:58:22 +01:00
Lorenz Meier
c74660fec5
Merge branch 'rssi' of github.com:PX4/Firmware into rssi
2014-01-23 09:18:01 +01:00
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
2014-01-23 09:16:40 +01:00
px4dev
1ac8501d95
Clear the screen more properly.
2014-01-22 23:52:06 -08:00
Lorenz Meier
8833f81b48
Do not make PX4IO start mandatory for forceupdate
2014-01-23 08:45:29 +01:00
Lorenz Meier
ba19a1ba15
Merge branch 'master' of github.com:PX4/Firmware into rssi
2014-01-23 07:49:18 +01:00
Lorenz Meier
5bc61c3c57
S.BUS output disable cleanup
2014-01-22 08:30:48 +01:00
Anton Babushkin
a3dbd817dc
Merge branch 'master' into beta
2014-01-20 16:48:50 +01:00
Lorenz Meier
1e6d83fc9e
Hotfix for IO battery voltage
2014-01-20 13:10:37 +01:00
Anton Babushkin
01975619c8
Merge branch 'sdlog2_timestamp' into beta
2014-01-19 23:26:21 +01:00
Lorenz Meier
d174998b45
RSSI and concurrent S.Bus output handling
2014-01-18 12:00:17 +01:00
Lorenz Meier
dd9df7b1b0
RSSI field init
2014-01-18 01:12:38 +01:00
Lorenz Meier
4d7e99fd6c
Writing RSSI field not only in servo rail topic
2014-01-18 01:09:58 +01:00
Thomas Gubler
73546b6645
Merge remote-tracking branch 'upstream/master' into navigator_new
...
Conflicts:
makefiles/config_px4fmu-v1_backside.mk
src/modules/commander/commander.cpp
src/modules/sdlog2/sdlog2.c
2014-01-17 09:50:22 +01:00
Lorenz Meier
71b11d54e0
Configuring PX4IOv2 led pins
2014-01-16 20:13:35 +01:00
Lorenz Meier
2600c96e92
Configuring PX4IOv1 led pins
2014-01-16 20:13:17 +01:00
Lorenz Meier
a0bb6674da
Fix FMUs B/E led pin config
2014-01-16 19:03:14 +01:00
Lorenz Meier
978cfdccce
Teach IO driver how to disable lockdown mode
2014-01-16 10:57:09 +01:00
Lorenz Meier
ded8cc6e14
Add IOCTLs to disable lockdown of an output port
2014-01-16 10:56:39 +01:00
Lorenz Meier
352dea6754
Remove outdated configs, clean up pwm limit compilation
2014-01-15 20:04:11 +01:00
Lorenz Meier
bb8956c84e
Fixed return value
2014-01-14 16:04:12 +01:00
Lorenz Meier
d199710651
Fixed up init sequence of all sensors - we can publish in interrupt context, but not advertise! All advertisements now contain valid data
2014-01-14 15:40:46 +01:00
Lorenz Meier
47e0c926a6
Fixed two typos identified by kroimon
2014-01-14 14:02:16 +01:00
Lorenz Meier
33b84186e3
Patching up MPU6K pin disable defines
2014-01-14 08:58:30 +01:00
Lorenz Meier
dbbe4ab1d5
Header for publication disable
2014-01-12 11:55:16 +01:00
Lorenz Meier
e6a67b1deb
Support for publication blocking: MS5611, cleaned up device start
2014-01-12 11:54:55 +01:00
Lorenz Meier
7af62bbe9e
Support for publication blocking: MPU6000, cleaned up device start
2014-01-12 11:54:38 +01:00
Lorenz Meier
a34a14ce86
Support for publication blocking: LSM303D, cleaned up device start
2014-01-12 11:54:25 +01:00
Lorenz Meier
3c7766db6c
Support for publication blocking: L3GD20(H)
2014-01-12 11:54:10 +01:00
Lorenz Meier
28a3dc726f
Support for publication blocking: HMC5883
2014-01-12 11:53:56 +01:00
Lorenz Meier
c7e2841baa
BMA180 does not publish if disabled
2014-01-12 11:53:31 +01:00
Lorenz Meier
d72c82f66b
Airspeed does not publish if disabled
2014-01-12 11:53:15 +01:00
Lorenz Meier
9bf512cac8
Framework to support disabling publications via IOCTL
2014-01-12 11:52:41 +01:00
Lorenz Meier
c6e196edca
Support disabling GPS output via IOCTL, general cleanup of author and copyright code style
2014-01-12 11:52:19 +01:00
Lorenz Meier
4ea92eca7c
RGB led cleanup
2014-01-11 20:57:03 +01:00
Lorenz Meier
6011ff9411
HIL cleanup
2014-01-11 20:56:40 +01:00
Thomas Gubler
f224374ed3
Merge remote-tracking branch 'upstream/master' into navigator_new
2014-01-11 00:49:30 +01:00
Thomas Gubler
bccd0f8947
fakegps: add command-line option
2014-01-11 00:46:45 +01:00