Commit Graph
3894 Commits
Author SHA1 Message Date
Mateusz Sadowski 8ba6c209d4 drivers: fix codestyle for teraranger driver
Signed-off-by: Mateusz Sadowski <msadowski90@gmail.com>
2017-09-15 12:07:16 +01:00
Mateusz Sadowski e439070f25 drivers: refactor trone driver to work with Evo
This commit changes old trone driver into a generic
TeraRanger driver that supports both TeraRanger One
and TeraRanger Evo.

As a part of the change a new parameter was created
SENS_EN_TRANGER that allows to specify the following
modes of operation:

0 - sensors disabled
1 - autodetect sensors
2 - use TeraRanger One rangefinder
3 - use TeraRanger Evo rangefinder

Signed-off-by: Mateusz Sadowski <msadowski90@gmail.com>
2017-09-15 12:07:16 +01:00
Mateusz Sadowski d5f8a300df Revert "drivers: add support for TeraRanger Evo"
This reverts commit d1da112334a875d83abbd04c50fd3bed3b069886.
2017-09-15 12:07:16 +01:00
Mateusz Sadowski ee72931190 drivers: add support for TeraRanger Evo
This commit adds i2c support for TeraRanger Evo sensor
by Terabee

Signed-off-by: Mateusz Sadowski <msadowski90@gmail.com>
2017-09-15 12:07:16 +01:00
Karl Schwabe 6d1aa4cad2 Bugfix: corrects the ARR calculation for the LED PWM timer
The calculation of the ARR on the LED PWM timer did not subtract 1
from the timer period calculation to get the ARR value.
2017-09-14 04:10:41 -10:00
Karl Schwabe 38a4c1e90b Bugfix: corrects the ARR calculation for the PWM timer
The calculation of the ARR on the PWM timer did not subtract 1
from the timer period calculation to get the ARR value.
2017-09-13 08:25:06 -10:00
Daniel Agar f26933fc55 delete unused RC_DSM_BIND param 2017-09-13 05:30:14 -07:00
Karl Schwabe 47d7465476 Bugfix: corrects orientation of magnetometer raw values
The magnetomer raw values were not being rotated in the same direction as
the scaled values. This meant that if the rotation was set to ROTATION_NONE,
the raw values and scaled values were off by 180 degrees.
2017-09-11 10:24:35 -07:00
David Sidrane ca9e323b13 ardrone_interface:Removed ardrone_interface from PX4 only used PX4v1
Removed that driver was only referenced from the now depricated
  px4fmuv-1
2017-09-10 13:37:23 -04:00
David Sidrane e07cb71a11 px4io:Removed FMUv1 hardware dependancies
Removed conditional compilation for FMUv1 and defaulted to
   FMUv2.
2017-09-10 13:37:23 -04:00
David Sidrane acb51aeda3 rgbled:Updated comment, removing reference to PX4FMUv1
Comment expressly referenced PX4FMUv1, but the EEPROM,
  could be used on any board.
2017-09-10 13:37:23 -04:00
David Sidrane f5e9ae6682 px4fmu:Removed FMUv1 only modes 2017-09-10 13:37:23 -04:00
David Sidrane 60ac35b0ac pwm_out_sim:Removed FMUv1 only modes 2017-09-10 13:37:23 -04:00
David Sidrane 99bce71003 board_common:px4io-v1:Removed px4io-v1 board from PX4
Only provide paths to px4io-v2 bin files.
2017-09-10 13:37:23 -04:00
David Sidrane 7123777e0e px4io-v1:Removed px4io-v1 board from PX4 2017-09-10 13:37:23 -04:00
David Sidrane a7ba7af89a FMUv1:Removed FMUv1 board from PX4 2017-09-10 13:37:23 -04:00
tops4u 24ed06156e Update sf1xx.cpp
Spaces to Tabs.
2017-09-09 17:36:59 +01:00
tops4u 2b700975f2 Added basic support for Lightware SF20/LW20 I2C connected LIDAR Devices 2017-09-09 17:36:59 +01:00
Daniel Agar e15afcca7a vehicle_command commands are uint16, not uint32 2017-09-08 09:06:30 +02:00
Larry Wang 0ae76aff32 updated to use rc driver from PX4, instead of from FC addons (#7798)
* updated to use rc driver from PX4, instead of from FC addons

* fixed format

* update per comments

* fix format

* fix format

* remove duplicated __PX4_QURT
2017-09-08 07:09:53 +02:00
Daniel Agar a3ccfe52ee pwm_out_rc_in fix sign-compare 2017-09-07 10:27:36 +02:00
Daniel Agar dd70892cb8 qshell fix sign-compare 2017-09-07 10:27:36 +02:00
Daniel Agar 661b36df6b px4nucleo_spi fix sign compare 2017-09-07 10:27:36 +02:00
Daniel Agar 3289fa292b px4flow fix sign-compare 2017-09-07 10:27:36 +02:00
Daniel Agar 33ee4fc453 linux_pwm_out fix sign-compare 2017-09-07 10:27:36 +02:00
Daniel Agar dd6892443c px4fmu-v5 fix sign-compare 2017-09-07 10:27:36 +02:00
Daniel Agar fc4a8ebb2a ulanding fix sign-compare 2017-09-07 10:27:36 +02:00
Daniel Agar 494e03000d tap_esc fix sign-compare 2017-09-07 10:27:36 +02:00
Daniel Agar 6b2fa1127f iridiumsbd fix sign-compare 2017-09-07 10:27:36 +02:00
Daniel Agar 275d81d4d5 stm32 common fix sign-compare 2017-09-07 10:27:36 +02:00
Daniel Agar 4070abc132 gps fix sign-compare 2017-09-07 10:27:36 +02:00
Daniel Agar 9b5fe8c476 ignore -Wsign-compare per module 2017-09-07 10:27:36 +02:00
Eric Wang 2b714e079b driver: vdev_posix, increase PX4_MAX_FD (#7905)
- avoid "exceeded maximum number of file descriptors" when "make posix gazebo_typhoon_h480"
 - closes #7892
2017-09-03 11:55:44 -04:00
Daniel Agar 962cdcf837 ulanding delete VDev usage (#7893) 2017-09-01 13:01:22 -04:00
Daniel Agar fd8a5644e8 ets_airspeed posix port 2017-08-31 09:27:36 +02:00
Daniel Agar 15407afc6e ms4525_airspeed update test helpers 2017-08-31 09:27:36 +02:00
Daniel Agar 641a90708c sdp3x_airspeed posix port 2017-08-31 09:27:36 +02:00
Daniel Agar 9cd25d604b ms5525_airspeed posix port 2017-08-31 09:27:36 +02:00
Daniel Agar 676946c324 eagle add I2C defines 2017-08-31 09:27:36 +02:00
Daniel Agar 3a5ae7d1bb bebop add PX4 I2C defines 2017-08-31 09:27:36 +02:00
Daniel Agar 07619cf723 Make NuttX drivers cross platform (VDev -> CDev) 2017-08-31 09:27:36 +02:00
jgs2185 8a1d8f2162 Ulanding: fix formatting issues 2017-08-30 14:53:25 +01:00
jgs2185 f59530ec1f Ulanding: remove unnecessary posix/nuttx platform differences 2017-08-30 14:53:25 +01:00
jgs2185 085540d5de Ulanding: clarify changes made due to ulanding versions 2017-08-30 14:53:25 +01:00
jgs2185 d23fb63c96 Ulanding: remove redundant lines in Radar constructor 2017-08-30 14:53:25 +01:00
jgs2185 e3ff2df7a0 Ulanding: add POSIX support for Aerotenna ulanding radar 2017-08-30 14:53:25 +01:00
David Sidrane cde3545560 px4fmu-v5:Configure PWM LED polarity, and swapping
Test HW has R and G LED swapped and drives the UI LED's active
  high. The changes support all the configuratons of FMUv5 on
  RC00 and RC01 HW for PWM status and UI LEDs.
2017-08-26 03:44:59 -10:00
David Sidrane 3e46b5d02f px4fmu-v5:Extend PWM LED definitions to suport polarity, drive and swaps
Added palarity mask to support active low drive on per channel
   bassis.

   Added open drain drive type when the enables are active low to
   ensure the LED are off when supplied form 5 volts.
   For active Push Pull is used. Active low drive is recomended.

   Added support for test HW that had the R and G LED signals
   swapped.
2017-08-26 03:44:59 -10:00
David Sidrane 2ef472d796 drv_led_pwm:Use hardware to support active hight or active low LED
Use the timer's polarity control bits to enable active low
   drive as apposed to inverting the counts.
2017-08-26 03:44:59 -10:00
David Sidrane 8dd05dadfd rgbled_pwm:Expand support for FMUv5 on board status and UI LEDs
FMUv5 can have 2 RGB LED's
2017-08-26 03:44:59 -10:00