27272 Commits

Author SHA1 Message Date
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 (e4088204eecd75cf067b04ecb6774fce9e60dd87): aa134d5a61
    - ecl current upstream: 56b8bb08a1
    - Changes: aa134d5a61...56b8bb08a1

    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 (72792cef431b67f098edf647502c546cc34f9515): bf8cce85c3
    - nuttx current upstream: bf8cce85c3
    - Changes: bf8cce85c3...bf8cce85c3
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
David Sidrane
790356ef6d NXPHlite-v3:Ensure bin file sizes in mtpl of 8 2018-08-23 14:26:32 -07:00
David Sidrane
19d3e562e9 NXPHlite:Track kinetis upstream CONFIG changes 2018-08-23 14:26:32 -07:00
David Sidrane
add7484083 Nuttx with Missing Backports 2018-08-23 14:26:32 -07:00
David Sidrane
b721b6a54a kinetis:Fixed hard fault when called with nullptr for errata
Logger was hard faulting on start due to a write to
  null pointer dereferece of errata
2018-08-23 14:26:32 -07:00
David Sidrane
454d175617 rc.mavlink:Seperate sys compaion init dependant on MAVLINK_COMPANION_DEVICE 2018-08-23 14:26:32 -07:00
David Sidrane
46b563fe3a rc.mavlink:NXPhlite Mavlink on ttyS4 and ttyACM only
NXPhlite does not have a companion link. So start
    Mavlink on ttyS4 and ttyACM only.
2018-08-23 14:26:32 -07:00
David Sidrane
2c282d0e0e rc.mavlink:Fix syntax errors 2018-08-23 14:26:32 -07:00