Commit Graph

4248 Commits

Author SHA1 Message Date
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
Daniel Agar 9ce83f2208 fix all sign-compare warnings 2018-07-01 09:36:55 +00:00
Daniel Agar cf74166801 double promotion warning fix or ignore per module 2018-07-01 09:36:55 +00:00
Daniel Agar 02d4405a62 c++11 default destructors 2018-06-30 19:55:08 -04:00
Giovanni Carbone 16d67ed179 frsky_telemetry improved com port init (fix #9783), minor refactor (#9798)
* frsky_telemetry added support for hw flow control com port and minor improvements

* DTYPE tested OK. Return 0 for unix compatibility, whitespace removed. Full test start - status- stop - start -status OK
2018-06-29 21:41:53 +00:00
acfloria 8825bbed29 Increase the stack size for the IridiumSBD driver 2018-06-29 16:49:30 +00:00
MaEtUgR 6a06417096 rpi_rc_in: replace chinese comments with english ones 2018-06-28 15:33:24 +02:00
DanielePettenuzzo 325fe16178 airspeed drivers: add PX4_I2C_BUS_ONBOARD as possible bus 2018-06-21 07:37:53 +02:00
DanielePettenuzzo 035f240e76 ets_airspeed: add -a flag to scan all i2c busses during start 2018-06-21 07:37:53 +02:00
DanielePettenuzzo 670c3cbf4e sdp3x_airspeed: add -a flag to scan all i2c busses during start 2018-06-21 07:37:53 +02:00
DanielePettenuzzo fd675084cc ms5525_airspeed: add -a flag to scan all i2c busses during start 2018-06-21 07:37:53 +02:00
DanielePettenuzzo cf816fe556 ms4525_airspeed: remove i2c_bus parameter from start function (it tries all busses) 2018-06-21 07:37:53 +02:00
DanielePettenuzzo 5f3ea2f7ba ms4525_airspeed: change start_bus from bool to int 2018-06-21 07:37:53 +02:00
DanielePettenuzzo c231b6834d ms4525_airspeed: remove PX4_I2C_ALL 2018-06-21 07:37:53 +02:00
DanielePettenuzzo fa35731e02 ms4525_airspeed: add -a flag to scan all i2c busses during start 2018-06-21 07:37:53 +02:00
Lorenz Meier d14d31df14 PX4IO: Initialize all channels to zero
This sets all channels to zero, including unused channels. Any consumer of the data using the channel count will not see a difference, but this is helpful to avoid confusion in log analysis.
2018-06-16 00:05:18 +02:00
David Sidrane a19fecad94 Removed zero termination as a for constuct was used 2018-06-15 17:08:01 +02:00
David Sidrane 3e0928d9ea Changed variable type and used cpp array init. 2018-06-15 17:08:01 +02:00
David Sidrane 22b8a6c57e Fixed capitalization grammar 2018-06-15 17:08:01 +02:00