Julian Oes
2e476ce6bf
gps/devices: updated submodule
...
This includes the mtk bugfix for Snapdragon.
2016-04-25 06:21:36 -07:00
Julian Oes
c975d01200
gps: fix Snapdragon build
2016-04-25 06:21:36 -07:00
Beat Küng
b855d76f28
fix gps: subscribe to topics in the gps thread instead of the shell thread
...
NuttX does not inherit file descriptors when creating new tasks.
2016-04-25 13:35:41 +02:00
Beat Küng
58a7db51c3
gps: add RTCM message rate to the 'gps status' command
2016-04-25 13:35:41 +02:00
Julian Oes
fa6fe4ca96
px4io: small change after perf_counter API change
2016-04-25 12:48:48 +02:00
Julian Oes
d824ca3a14
integrator: fix style
2016-04-25 12:48:48 +02:00
Julian Oes
302bf879de
integrator: improvements and cleanup
...
The integrator had an untested read mode which did not apply the coning
correction. Instead of keeping two integrals (auto/read) it is now one
and the reset mechanism can be selected by setting the
auto_reset_interval to 0 to disable it or some positive number else.
Also, the integrator could potentially explode if a (single) timestamp
was wrong, so before the last integrated one. This is now caught with a
dt of 0 instead of inf/nan.
2016-04-25 12:48:48 +02:00
Beat Küng
afefa4d2a0
gps: use a max poll timeout of 50ms to check for orb msgs more often
...
Before this, I measured a max time spent in poll of 197ms. By checking at
least every 50ms we make sure to not lose any orb messages.
2016-04-25 09:48:24 +02:00
Beat Küng
6029551c63
gps & mavlink receiver: use C arrays instead of std::array<>
2016-04-25 09:48:24 +02:00
Beat Küng
4cf08ba580
gps handleInjectDataTopic: repeatedly check for new orb messages
...
Without that there were still lost messages, now it's all fine (tested
under Linux)
2016-04-25 09:48:24 +02:00
Beat Küng
c8f2a7ea02
update gps submodule (fix coding style)
2016-04-25 09:48:24 +02:00
Beat Küng
1085f33f88
gps: remove the old driver files
2016-04-25 09:48:24 +02:00
Beat Küng
7ef718912a
drv_gps.h: cleanup the file, remove unneeded stuff
2016-04-25 09:48:24 +02:00
Beat Küng
1013ae7d49
gps: major restructuring & extension of ubx driver: use a submodule for gps drivers
...
The gps drivers are now in a platform-independent submodule because they
are used in QGroundControl as well
2016-04-25 09:48:24 +02:00
Leon
b781006e20
Increase sending of navstate and gpsfix to 2 Hz
2016-04-25 07:55:53 +02:00
Leon
5d114d3984
Small improvements and corrections
...
Added more SPort GPS Sensors
Fix code style
Adding DIY IDs
Moved navstate and gpsfix away from Temp1 and Temp2 to their own IDs
More consistent names
Fix codestyle
Rebase work off master frsky_telemetry driver
Fixed code-style error
forgot something
2016-04-25 07:55:49 +02:00
Robert Dickenson
2dac97fe68
Add required rotation option to driver startup command and fix a couple of details in warnings/comments
2016-04-22 10:30:19 +02:00
Robert Dickenson
91241626a9
change type mag_scale to type struct mag_calibration_s for compatibility with master (only noted this thanks to travis build test)
2016-04-22 10:30:19 +02:00
Robert Dickenson
cb3c625ea4
Apply AStyle to fixup formating
2016-04-22 10:30:19 +02:00
Robert Dickenson
630146686e
Comment out line which checks for attempt to set sampling rate beyond that supported by device.
2016-04-22 10:30:19 +02:00
Robert Dickenson
45a601b9c1
New driver for the LIS3MDL magnetometer.
2016-04-22 10:30:19 +02:00
Julian Oes
88626cf5f1
px4io: remove leftover printf
2016-04-21 13:34:46 +02:00
Julian Oes
482ce55d57
px4io: allow 0 as a PWM signal
2016-04-21 13:32:38 +02:00
Julian Oes
d5cc9e0873
snapdragon_rc_pwm: allow the driver to be stopped
2016-04-21 13:00:08 +02:00
Lorenz Meier
ef69f74977
Do not use low level debug output on USB resume
2016-04-21 10:35:57 +02:00
Lorenz Meier
c8c7c84110
Simplify ADC driver
2016-04-21 10:35:44 +02:00
Nicolae Rosia
fff535857d
drivers/gps: fix segfault when parsing arguments
...
running gps command without parameters results in segfault
due to illegal access to unallocated memory
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com >
2016-04-20 21:50:10 +02:00
Benoit Landry
10b9fde169
parameters for esc duty cycles
2016-04-18 23:43:05 +02:00
Andrew Tridgell
3bad8131cf
px4io: don't call io_set_rc_config when rc config disabled
2016-04-18 18:44:05 +02:00
Andrew Tridgell
cc0fbdd549
px4fmu: added SET_MODE ioctl
...
this gives control over timer capture driver
2016-04-18 11:45:44 +02:00
Andrew Tridgell
e60f2c3f41
drv_pwm: added new PWM_SERVO_SET_MODE ioctl
2016-04-18 11:45:44 +02:00
Andrew Tridgell
c66fab01e5
drv_pwm: expand range of PWM ioctl indexes
...
we had run out of them. _IOC_MASK is 0xFF, so we can add an extra 16
without an issue
2016-04-18 11:45:13 +02:00
Andrew Tridgell
fde635ef5a
px4iofirmware: fixed display of sbus rate in px4io status
2016-04-18 11:43:24 +02:00
Andrew Tridgell
c5f5b9f53c
drv_pwm_output: added IOCTL for SBUS rate
2016-04-18 11:43:24 +02:00
Andrew Tridgell
30ce7fdd48
px4io: display SBUS rate in px4io status
2016-04-18 11:43:24 +02:00
Andrew Tridgell
6290e621d4
px4io: added control for setting SBUS rate
2016-04-18 11:43:24 +02:00
Andrew Tridgell
05790ff540
px4fmu: prevent checking of safety switch parameter in main loop
2016-04-18 11:41:01 +02:00
Andrew Tridgell
3fda934d1b
px4io: on config error ask IO to reboot to bootloader
...
this allows us to update fw when core config settings have changed,
such as the actuators/servos change that happened recently
2016-04-18 11:40:07 +02:00
Andrew Tridgell
85e8cd89b6
px4io: set reasonable default voltage scaling
...
needed for when px4 param system not available in ardupilot
2016-04-18 11:39:37 +02:00
Andrew Tridgell
5928569321
px4fmu: fixed signed/unsigned comparison
2016-04-18 11:39:06 +02:00
Andrew Tridgell
05c282e761
stm32: fixed build errors with more warnings enabled
...
needed for ArduPilot build
2016-04-18 11:36:28 +02:00
Andrew Tridgell
fc6b074d40
irlock: fixed header for other than FMUv2
2016-04-18 11:34:24 +02:00
Daniel Agar
f58157266f
mindpx-v2_default STACK -> STACK_MAIN
2016-04-17 16:36:59 -04:00
jaxxzer
d8aee84625
ms5611: Fix to start drivers for all devices present at boot.
2016-04-17 19:07:30 +02:00
Daniel Agar
a0b818096b
fix hc_sr04 and srf02_i2c subsystem_info init
2016-04-17 19:02:59 +02:00
Andrew Tridgell
efd4552e37
ms5611: reduced OSR to 1024
...
this reduces self-heating of the sensor which reduces the amount of
altitude change when warming up. Apparently some individual sensors
are severely affected by this.
Unfortunately it raises the noise level, but Paul is confident it
won't be a significant issue
2016-04-17 16:04:44 +02:00
James Goppert
09d4ce1e2c
Set sf0x min dist to 30 cm, 0 cm is outside of spec for sf02.
2016-04-14 15:01:41 -04:00
James Goppert
967e4dd127
Modified cmake to use STACK_MAX and STACK_MAIN
2016-04-14 13:36:36 -04:00
Julian Oes
fbd7c73043
drv_hrt: fix comment
2016-04-12 08:56:34 +02:00
Julian Oes
9859d43fe2
frsky_telemetry: fixed build
2016-04-11 18:01:49 +02:00