Commit Graph

4266 Commits

Author SHA1 Message Date
David Sidrane 7ea592016e px4fmu-v5:Use board_supports_single_wire
This is a stubbed out version that will rely on the hardware
   manifest moving forward.
2018-07-17 08:53:29 +02:00
David Sidrane 13a972cfe6 px4fmu-v5:Add place holder for hardware manifest 2018-07-17 08:53:29 +02:00
David Sidrane d986c14591 board_common:add board_supports_single_wire API 2018-07-17 08:53:29 +02:00
Philipp Oettershagen da2fbf60b5 distance sensors: Improve variable naming / description 2018-07-16 21:59:04 +10:00
Philipp Oettershagen 35bde5c9fc LL40LS: Implement driver-specific filtering based on the datasheet and experiments 2018-07-16 21:59:04 +10:00
Beat Küng e1f2360560 gps: remove unused field _baudrate_changed & _mode_changed 2018-07-16 12:18:37 +02:00
Beat Küng 4d71686ac6 gps: add GPS_YAW_OFFSET param & properly initialize _baudrate 2018-07-16 12:18:37 +02:00
Beat Küng a947ad2506 gps: remove unused code & fix _mode_auto initialization 2018-07-16 12:18:37 +02:00
Beat Küng 43c2970fb9 vehicle_gps_position: add heading field 2018-07-16 12:18:37 +02:00
Daniel Agar effeae93cc GPS initialize all class members in definition 2018-07-15 20:34:31 +02:00
Daniel Agar 94dd6abd9f GPS organize status print 2018-07-15 20:34:31 +02:00
Lorenz Meier ff626a19f6 GPS driver: Initialize heading field for all drivers, reduce UBX hold-off time for config reset. 2018-07-15 20:34:31 +02:00
Lorenz Meier e2333d7d5c GPS driver: Keep stack to required size for app boot 2018-07-15 20:34:31 +02:00
Lorenz Meier b3b83afa6a GPS: Update device driver 2018-07-15 20:34:31 +02:00
Lorenz Meier 5dd981a7be GPS driver: Initialize baud rate and improve output 2018-07-15 20:34:31 +02:00
Lorenz Meier 16dd82ab60 Update GPS driver submodule 2018-07-15 20:34:31 +02:00
Lorenz Meier 493a84638d GPS driver: Add RTCM parsing 2018-07-15 20:34:31 +02:00
Lorenz Meier 2931b85f0e GPS: Add support for RTK GPS units
This includes the Trimble MB-TWO and similar devices. Tested including GPX streams.
2018-07-15 20:34:31 +02:00
Daniel Agar 21cc34befb GPS driver increase stack 2018-07-12 08:12:05 +02:00
Beat Küng 3f0a398a25 Omnibus F4 SD: fix UART4
- do not configure RSSI GPIO pin
- disable serial console on UART4
2018-07-10 19:39:50 +02:00
Beat Küng 93da0416fa frsky_telemetry: add a '-m <mode>' CLI param
Can be used to avoid auto-detection.

Strangely on the Omnibus via UART4, the auto-detection for single-wire
S.Port did not work when connecting via battery (it works via USB) -
S.Port got detected instead.
Might be a board-specific issue.
2018-07-10 19:39:50 +02:00
mcsauder cf7dd383b1 Update ADC voltage calculation instances to avoid divide by integer. 2018-07-09 07:51:15 +02:00
Beat Küng 58c8c50174 frsky_telemetry: add scanning timeout parameter, and set it to 15s
This frees unused RAM in case frsky telemetry is not connected.
2018-07-08 23:24:17 +02:00
Beat Küng f3292c7741 frsky_telemetry: add S.Port single-wire support
If S.Port is connected via external inverter or an uninverted signal is
used, the UART needs to be put into half-duplex mode.

This can be used to get uninverted S.Port:
https://oscarliang.com/uninverted-sbus-smart-port-frsky-receivers/

It is not needed for the Pixracer FrSky port.
2018-07-08 23:24:17 +02:00
Beat Küng 1feccfcc81 frsky_telemetry: increase stack size by 52 bytes
As indicated in previous logs (268 bytes left).
2018-07-08 23:24:17 +02:00
Beat Küng 898eb95623 frsky_telemetry cleanup: remove err, use px4_getopt 2018-07-08 23:24:17 +02:00
Daniel Agar e4be8eccc9 bmi055 add measure interval perf counter 2018-07-08 20:14:34 +02:00
Daniel Agar 0da8125ac0 bmi055 remove unused reset retries perf counter 2018-07-08 20:14:34 +02:00
Daniel Agar adf6ea3596 bmi055 remove unused gyro duplicates perf counter 2018-07-08 20:14:34 +02:00
Daniel Agar 734fc1bf8d bmi055 remove cdev read (gyro_reads) perf counter 2018-07-08 20:14:34 +02:00
Daniel Agar 7bc364207e bmi055 remove cdev read (accel_reads) perf counter 2018-07-08 20:14:34 +02:00
Daniel Agar cd07e756b9 bmi055 name separate accel and gyro perf counters properly 2018-07-08 20:14:34 +02:00
Daniel Agar b6399dbdf0 bmi055 remove common good_transfers perf counter 2018-07-08 20:14:34 +02:00
Daniel Agar eef325e2af bmi055 split accel and gyro headers 2018-07-08 20:14:34 +02:00
Daniel Agar 4c5ace9b75 mpu6000 add interval perf counter and delete unused 2018-07-08 20:14:34 +02:00
Daniel Agar 13c2c8c89b ADIS16477 use checksum to verify transfer and populate gyro device id 2018-07-08 10:18:13 -04:00
Daniel Agar 4e4724f9eb add ST LSM303AGR driver (mag only) 2018-07-08 10:18:13 -04:00
Daniel Agar 74c20a0fd5 ADIS16477 reset on init and increase delay 2018-07-08 10:18:13 -04:00
Daniel Agar 00c34d8a2b AV-X board support 2018-07-08 10:18:13 -04:00
Beat Küng ec137489be px4flow: add documentation for i2c_frame and i2c_integral_frame 2018-07-05 15:23:47 +00:00
Beat Küng 3aa1721450 px4flow: refactor f and f_integral into a class attribute 2018-07-05 15:23:47 +00:00
DanielePettenuzzo 84f937a098 airspeed sensor: use bus_option array from i2c.h instead of one in each driver 2018-07-03 17:33:18 +02:00
DanielePettenuzzo 6cb17839ee distance sensors: remove bus_option array and add it to i2c.h header 2018-07-03 17:33:18 +02:00
DanielePettenuzzo c13d69a610 distance sensor drivers: change all open and close to px4_open and px4_close 2018-07-03 17:33:18 +02:00
DanielePettenuzzo 8f4e9228bf mb12xx driver: add -b and -a flags to choose i2c busses and remove nuttx stuff such as exit functions 2018-07-03 17:33:18 +02:00
DanielePettenuzzo fed6c9ae34 srf02 driver: add -b and -a flags to choose i2c busses and remove nuttx stuff such as exit functions 2018-07-03 17:33:18 +02:00
DanielePettenuzzo 5b259a008a vl53lxx driver: add -b, -a and -R flags to choose i2c busses and sensor rotation and remove nuttx stuff such as exit functions 2018-07-03 17:33:18 +02:00
DanielePettenuzzo 040662ff04 sf1xx driver: add -b and -a flags to choose i2c busses and remove nuttx stuff such as exit functions 2018-07-03 17:33:18 +02:00
DanielePettenuzzo 7d281b2619 teraranger driver: add -b and -a flags to choose i2c busses and remove nuttx stuff such as exit functions 2018-07-03 17:33:18 +02:00
Lorenz Meier c8ce120c92 PX4 Flow: modernize output and replace warnx() with PX4_INFO/WARN 2018-07-02 21:44:29 +00:00