Commit Graph
4429 Commits
Author SHA1 Message Date
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
David Sidrane 9c68783c54 px4fmu-v5:Reorder I2C busses int 1-4 order
This alows the -b option map 1-to-1 with the 12C bus numbers
2017-08-26 03:44:59 -10:00
David Sidrane 8d21764dec ist8310:Use px4_getops 2017-08-26 03:44:59 -10:00
David Sidrane 24522ca885 ist8310:Expand suported busses to External I2C 1-4 2017-08-26 03:44:59 -10:00
David Sidrane 50e83ac33e rgbled:Allow I2C and PWM rgb led drivers to be used on the same board
Added RGBLED_PWM0_DEVICE_PATH path
  Renamed the main of the PWM rgbled driver to create a seperate command
2017-08-26 03:44:59 -10:00
Beat Küng 5f5dca4804 vdev: replace static list with an std::map
VDev::getDev() is used in px4_access, which is used in orb_exists. And if
the topic does not exist, it iterates over all 500 indexes, which is slow.
It was slow even if the topic existed, the map reduces runtime from linear
to logarithmic (there are around 80 items in the container).
This is only used on posix.
2017-08-23 08:10:16 +02:00
Beat Küng 575e7be540 fix linux_pwm_out: return correct value for PCA9685::init() 2017-08-23 08:10:16 +02:00
Beat Küng 7a409cf843 vdev: remove unneeded devList & topicList methods 2017-08-23 08:10:16 +02:00
Daniel Agar a02caff1bc unit_test inline implementation and remove module build 2017-08-23 08:06:55 +02:00
Daniel Agar f282f50cff vmount run at default priority 2017-08-23 08:06:20 +02:00
Daniel Agar b70b8288b9 px4_includes cleanup incomplete list 2017-08-20 20:42:42 +02:00
Julien Lecoeur 41cc679258 PX4Flow: allow restart directly after stop 2017-08-20 19:31:24 +02:00
Julien Lecoeur 7a3a9a75d5 Add command line options to PX4Flow app for I2C address and sampling rate 2017-08-20 19:31:24 +02:00
crossa 17ba5dd04a 1.Add sbus driver for linux . This driver can be used to read the
inverted S.bus signal and fetch the data of each channel and publish it

2. Fix the bug of linux_pwm_out, when the protocol is pca9685,
after the init method is executed,the method of determining the return
value of init method is incorrect,this will cause the driver to fail

3. Add linux_sbus driver to other posix prefixes cmake files
2017-08-20 16:51:04 +01:00
Daniel Agar b2a81ed35b multi diff pres sensor publication and logging 2017-08-19 22:49:29 +02:00
Daniel Agar 8db2883d84 delete unused tones 2017-08-19 09:50:41 +02:00