4474 Commits

Author SHA1 Message Date
Beat Küng
91a1ac1b60 sf0x: add -d param to pass the serial port 2018-09-25 07:53:29 +02:00
Beat Küng
0ebf821db4 cmake configs: minor cleanup for hott telemetry
it got moved to drivers/telemetry/hott
2018-09-25 07:53:29 +02:00
MaEtUgR
4f0e090e88 drv_rc_input: replace useless rc_input_values define 2018-09-21 16:26:27 +02:00
Daniel Agar
cfac2cc38e uORB advertise through uORBDeviceMaster directly 2018-09-19 10:00:45 +02:00
Daniel Agar
b1c6701f01 px4io driver use common error string 2018-09-19 08:26:32 +02:00
Daniel Agar
878bd43ad1 heater driver use common error string 2018-09-19 08:26:32 +02:00
Daniel Agar
67f1e63362 drivers don't print accel and gyro filter frequency 2018-09-19 08:26:32 +02:00
ChristophTobler
f72e9e4385 pmw3901: set quality to zero if flow below threshold 2018-09-18 18:37:44 +02:00
David Sidrane
c1df899b6f fxos8701cq: Fully remove the mag to facilitate calibration (#10499)
The previous removal of the mag was not complete. It just disabled publishing. This commit conditionally removes all the the mag functionality.
2018-09-17 13:07:46 -04:00
PX4 Build Bot
dd63a634b2 Update submodule devices to latest Mon Sep 17 00:37:44 UTC 2018
- devices in PX4/Firmware (8158cdfcf43065af2709f8e90cc2f7ee7320fddf): aef48b04ff
    - devices current upstream: 657514b26a
    - Changes: aef48b04ff...657514b26a

    657514b 2018-08-02 Alexis Paques - Adding UBX_MSG_RTCM3_* for additional messages
f9cf788 2018-08-02 Alexis Paques - Adding RTCM3 class documentation reference
6009a29 2018-08-02 Alexis Paques - Adding RTCM3 available output message IDs
2018-09-17 08:16:20 +02:00
Daniel Agar
bcad940a9f pwm_out_sim lazily publish actuator_outputs 2018-09-17 00:06:52 +02:00
Daniel Agar
3996ab1fc5 frsky_telemetry increase MAIN stack 2018-09-16 17:16:59 -04:00
David Sidrane
153d106969 fxas21002c:Add margin to stack from RTT-Stack check 2018-09-14 15:37:20 -04:00
David Sidrane
e84a7dc140 fxos8701cq:Add margin to stack from RTT-Stack check 2018-09-14 15:37:20 -04:00
David Sidrane
22a65f6c1d fmu:Fix Safety switch breakage from bc9c25a
The update check is on ORB_ID(safety) but the copy
   was from ORB_ID(actuator_armed).
2018-09-13 11:21:53 -07:00
David Sidrane
be6f6126f4 px4io:Add passive support for Enter/Exit pwm test mode
Accept PWM_SERVO_[ENTER|EXIT]_TEST_MODE as a noop.
   As long as the mixer in passthrough and armed the
   pwm test will work.
2018-09-13 08:45:36 +02:00
David Sidrane
b578419e09 Bug fix fmu hard fault on pwm info
A hardfault was happening on:
    fmu stop
    fmu mode_pwm
    pwm info

   The _mixer was null and being dereferenced to access the trim
   setting that were moved to the mixer from the fmu.

   This commit fixes that but making the getter issue a warning
   and the setter fail.
2018-09-13 08:45:36 +02:00
David Sidrane
73b9f09920 fmu:Add test mode 2018-09-13 08:45:36 +02:00
David Sidrane
efb512abea drv_pwm_output:Define test enter/exit IOCTL 2018-09-13 08:45:36 +02:00
Daniel Agar
73fe4ecd20 AV-X enable GPS for rev C board 2018-09-12 02:39:03 -04:00
David Sidrane
c41d7ebdd3 kinetis:Bug fix PWM led update
The code was forcing the CV reload, but not resettting the count
  this would cause short and long blinks during breathing.

  this change allows the CV to update at 50Hz (20 ms) asynchronously.
  So the LED update rate of 40Hz (25) will take effect on the next
  FTM counter change, end of the prescaler counting, after CnV register
  was written.update.
                   a   b   c   d
  LED PWM   ___-___-___-___-___-___-___-___-___-___
  LED Data  ____-____-____-____-____-____-____-____-
                 a    b    c    d
2018-09-12 01:03:22 +02:00
David Sidrane
520a81a951 nxphlite-v3:Disable internal mag due to random spikes.
This will disable the fxos8701cq internal mag on
  the NXPHlite. There are random noise spikes on the
  HIGHRES_IMU.[x|y|x]mag. Even with all other SPI
  devices shut down, the noise is still present.
2018-09-11 06:58:35 -07:00
Beat Küng
c5b954dacc
heater: fix resource leak 2018-09-06 12:20:08 +02:00
mcsauder
615348189e
Remove doxy comments from private member variables. 2018-09-06 12:03:26 +02:00
mcsauder
e7666aa5d8
Added an imu heater driver, formatted whitespace, standardized comments, and added doxy documentation. 2018-09-06 12:03:26 +02:00
Daniel Agar
d6fd1c4811 rgbled_pwm increase MAIN stack 2018-09-02 16:15:03 -04:00
Daniel Agar
2dbc95382e rgbled increase MAIN stack 2018-09-02 16:15:03 -04:00
Daniel Agar
ee90eb6c92 IST8310 increase MAIN stack 2018-09-02 16:15:03 -04:00
Daniel Agar
6abd0c2672 BMI055 increase MAIN stack 2018-09-02 16:15:03 -04:00
Daniel Agar
2dd71fa73c mpu6000 increase MAIN stack 2018-09-02 15:31:54 -04:00
Daniel Agar
b75fa645ce bmp280 increase MAIN stack 2018-09-02 15:31:54 -04:00
Daniel Agar
7cc0e69fcd add px4fmu-v{3,4,5} stackcheck configs 2018-09-02 14:16:04 -04:00
Beat Küng
d5bef4a932 sf0x.cpp: avoid using exit() 2018-08-31 18:11:58 +02:00
Beat Küng
fe502ffd33 fix tone_alarm: avoid using exit()
On POSIX it exits the process.
2018-08-31 18:11:58 +02:00
David Sidrane
9246110161 samv7:tone_alarm refactor for Cdev 2018-08-30 19:11:17 +02:00
David Sidrane
75d7800deb samv7:tone_alarm cleanup 2018-08-30 19:11:17 +02:00
David Sidrane
1306e28874 kinetis:tone_alarm remmove assert 2018-08-30 19:11:17 +02:00
David Sidrane
a0f70be238 stm32:tone_alarm remmove assert 2018-08-30 19:11:17 +02:00
David Sidrane
1fb7046052 stm32 tone_alarm: Remove stale documentation & cleanup
Since tune control came in this driver does not have a
    have a test based interface. The module Documentation
    has been moved to tune_control

    minor cleanup and assert on workque delay of 0
2018-08-30 19:11:17 +02:00
David Sidrane
ec25e4b913 stm32 tone_alarm: Remove stale documentation
Since tune control came in this driver does not have a
    have a test based interface. The module Documentation
    has been moved to tune_control
2018-08-30 19:11:17 +02:00
David Sidrane
040ffd52a1 samv7:tone_alarm:ported to tune_control 2018-08-30 19:11:17 +02:00
David Sidrane
43e60b98aa kinetis tone_alarm: Remove stale documentation & cleanup
Since tune control came in this driver does not have a
    have a test based interface. The module Documentation
    has been moved to tune_control

    minor cleanup and assert on workque delay of 0
2018-08-30 19:11:17 +02:00
David Sidrane
6b4e549ba9 kinetis tone_alarm: Remove stale documentation
Since tune control came in this driver does not have a
    have a test based interface. The module Documentation
    has been moved to tune_control
2018-08-30 19:11:17 +02:00
Daniel Agar
12dd9b475e tfmini add missing PX4_ERR argument 2018-08-30 19:04:13 +02:00
Daniel Agar
323ba9f837 batt_smbus.h missing header guard 2018-08-30 19:04:13 +02:00
Jake Dahl
5a678295b3 added a check to ensure the initialize settings function succeeds. If it does not, the driver fails gracefully. This handles the case that the device is not there. 2018-08-28 18:52:23 -04:00
Kevin Lopez Alvarez
c10ea132b4 PNI RM3100 magnetometer driver (#10302)
* tested on SPI (px4fmu-v4pro)
 * WIP I2C support
2018-08-28 11:44:34 -04:00
Paul Riseborough
ad1c2b31d1 drivers: Always set GPS heading to NAN if not updated 2018-08-28 14:10:36 +02:00
Paul Riseborough
b2c7b44935 drivers: Prevent duplicate reporting of GPS heading 2018-08-28 14:10:36 +02:00
Daniel Agar
d0d1967a65 samv7 adc and tone_alarm move to cdev lib 2018-08-28 09:17:53 +02:00