Commit Graph

27279 Commits

Author SHA1 Message Date
Daniel Agar 6ee47eef14 px4io cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar 01595947e5 px4fmu cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar 7d57ce65dc px4flow cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar 51faca0f66 pwm_out_sim cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar 3d6c1690c9 pwm_input cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar 0ff1effd98 protocol_splitter cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar fa9b968a16 ulanding cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar f2ef8708b2 tfmini cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar 483bacad87 teraranger cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar cfe34ee19c srf02 cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar ebcd3b0b2e sf1xx cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar 8cb222494a sf0x cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar 9a2def25f3 mb12xx cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar bdba733dd4 ll40ls cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar 585d3bbe55 leddar_one cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar b7bf2dd688 hc_sr04 cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar 43965c6e10 batt_smbus cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar 9b2274ea8d ms5611 cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar 1a5ffb3173 mpl3115a2 cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar 85a11fc3c3 lps25h cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar 9cc5453163 lps22hb cleanup unnecessary Device CDev usage 2018-08-27 13:14:15 -04:00
Daniel Agar dbf2d25e2f uORB move to standalone CDev
- uORB topics should not be Devices with bus, address, device id
2018-08-27 13:14:15 -04:00
Daniel Agar a2f4757e31 CDev extract from drivers Device class hierarchy
- leave CDev shim for now until all usage is updated
2018-08-27 13:14:15 -04:00
ChristophTobler 6955272316 pmw3901: add specs from datasheet to opt flow msg
without this ekf2 rejects flow
https://wiki.bitcraze.io/_media/projects:crazyflie2:expansionboards:pot0189-pmw3901mb-txqt-ds-r1.00-200317_20170331160807_public.pdf
2018-08-27 17:32:00 +02:00
Hamish Willee bbc0c28c2c Improve docs for SD Log profile 2018-08-27 09:38:00 +02:00
Daniel Agar f7a20acba6 [WIP] Jenkins code coverage updates 2018-08-27 00:04:58 +02:00
PX4 Build Bot 8731a5b2b1 Update submodule ecl to latest Sun Aug 26 01:37:45 UTC 2018
- ecl in PX4/Firmware (e4088204ee): https://github.com/PX4/ecl/commit/aa134d5a617cd90142d82039c4466aef2f009383
    - ecl current upstream: https://github.com/PX4/ecl/commit/56b8bb08a16f0e86f7c7dfe458f0d2d3082e92e4
    - Changes: https://github.com/PX4/ecl/compare/aa134d5a617cd90142d82039c4466aef2f009383...56b8bb08a16f0e86f7c7dfe458f0d2d3082e92e4

    56b8bb0 2018-08-23 dakejahl - added a checking for range_aid to determine if we are relying on the range finder as our primary source of height observation (#491)
2018-08-26 12:05:46 +02:00
Lorenz Meier 1d027f938c tfmini: fix format and fix driver start / stop logic so it works when running PX4 as threads on Linux. 2018-08-26 12:05:09 +02:00
Mohammed Kabir 38bae7d401 tfmini : restructure parsing logic to always publish latest measurement 2018-08-26 12:05:09 +02:00
Mohammed Kabir 3afa018954 tfmini : fix scheduling and modernize output
This reduces the scheduling interval to 9ms, such that the driver is always ready to read new data. Running it at exactly 100Hz is not correct since the driver and sensor measurement intervals are not "in sync", causing the driver to miss data. This causes a fill-up of the UART buffer.
2018-08-26 12:05:09 +02:00
Daniel Agar e4088204ee shellcheck ignore array references for now (SC2039) and run everywhere 2018-08-25 20:12:29 +02:00
Daniel Agar 52e1b59e60 cmake add nuttx shellcheck helper 2018-08-25 20:12:29 +02:00
Daniel Agar 096c41b041 init.d-posix/rcS replace bashism 'source' with '.' 2018-08-25 20:12:29 +02:00
Daniel Agar 642aff9786 init.d-posix replace bashism '==' with '=' 2018-08-25 20:12:29 +02:00
Daniel Agar 3c4c9131aa Jenkins add ShellCheck 2018-08-25 20:12:29 +02:00
PX4 Build Bot 2164ef8fb6 Update submodule nuttx to latest Sat Aug 25 15:12:57 UTC 2018
- nuttx in PX4/Firmware (72792cef43): https://github.com/PX4-NuttX/nuttx/commit/bf8cce85c3f9310bcff8cdd1d979270419782a6e
    - nuttx current upstream: https://github.com/PX4-NuttX/nuttx/commit/bf8cce85c3f9310bcff8cdd1d979270419782a6e
    - Changes: https://github.com/PX4-NuttX/nuttx/compare/bf8cce85c3f9310bcff8cdd1d979270419782a6e...bf8cce85c3f9310bcff8cdd1d979270419782a6e
2018-08-25 11:23:25 -04:00
Daniel Agar 72792cef43 posix-configs shell scripts use /bin/sh to maximize compatibility (#10292)
- fix ocpoc line endings
2018-08-25 11:02:37 -04:00
David Sidrane e79b9a2c1b Update nuttx with backport Kinetis i2c fix (#10325) 2018-08-25 10:10:02 -04:00
Daniel Agar efbe63c1ca Jenkins update CMAKE_BUILD_TYPE to PX4_CMAKE_BUILD_TYPE 2018-08-25 00:46:36 -04:00
Daniel Agar 92d288e8d4 Jenkins SITL tests add cmake build type choice 2018-08-25 00:26:41 -04:00
David Sidrane 28125aca3d fxos8701cq:Clean up & paramater based low pass fileter
Added paramater based low pass fileter settting from
      IMU_ACCEL_CUTOFF.

      removed gotos.
2018-08-24 23:09:55 +02:00
David Sidrane 3f65efe1b0 fxas21002c:Clean and speed up with SW, HW LPF.
Added paramater based low pass fileter settting from
  IMU_GYRO_CUTOFF.

  Added interfaces for setting the HW low pass filter.
  Set HW LPF to 64 Hz

  Changed poll rate to ODR to 800 Hz.

  Documeted the TIMER_REDUCTION value as 20% and changed it to
  250 Us / 1250 us.

  Added standby control API, to insure chip is configured in
  standby mode.

  removed tabs.

  removed gotos.
2018-08-24 23:09:55 +02:00
mcsauder de92e699bf Doxy documentation work in px4_module_params.h and px4_module.h. 2018-08-24 23:07:01 +02:00
Philipp Oettershagen c997159e32 Fixed-wing autoland: Introduce parameter to enable/disable the early activation of the landing configuration 2018-08-24 10:13:07 -04:00
Philipp Oettershagen 334aa57a5f Fixed-wing autoland: Remove the dynamic altitude acceptance calculation and just use a simple separate landing altitude acceptance radius instead. This gives users that do not use LOITER-TO-ALT waypoints more control over their landing procedure 2018-08-24 10:13:07 -04:00
Philipp Oettershagen 953cff7ba0 Fixed-wing autoland: Parameter description fixes 2018-08-24 10:13:07 -04:00
Philipp Oettershagen 20c02ae093 Fixed-wing autoland: Adapt according to @dagar's and @antiheavy's comments. 2018-08-24 10:13:07 -04:00
Philipp Oettershagen 08ceddaddb Fixed-wing autoland: ALWAYS flare when close to the ground, independently of the horizontal distance to the land WP. This avoids that we crash into the ground at negative pitch and guarantees that the flare always starts at the same altitude above ground. However, the motor shutoff still depends on the horizontal distance to the LAND WP, thus avoiding that the motor is shut off prematurely 2018-08-24 10:13:07 -04:00
Philipp Oettershagen ec4ccc1fcd Fixed-wing autoland: Use a more appropriate (i.e. mostly tighter) altitude acceptance radius than just the standard altitude acceptance parameter (which may be too large to allow a precise autoland) 2018-08-24 10:13:07 -04:00
Philipp Oettershagen 4c4f585ad5 Fixed-wing autoland: 1) The landing configuration (flaps, different airspeed) is now already set during the loiter down instead of at the start of the landing approach. This is done to avoid any mode changes (which can cause altitude/airspeed jumps) so close to the gorund. 2) A scaling factor for the TECS throttle time constant was added which allows tighter throttle control during the landing (i.e. close to the ground) than high up in the air 2018-08-24 10:13:07 -04:00