Commit Graph

27245 Commits

Author SHA1 Message Date
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): 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
Daniel Agar ad4bd6b0d6 Jenkins add separate Ubuntu 18.04 posix_sitl_default build 2018-08-23 13:44:06 -04:00
Daniel Agar b39a3664bd Jenkins update cppcheck to px4-dev-base:2018-08-23 with fixed python dependencies 2018-08-23 11:17:19 -04:00
PX4 Build Bot c7779508df Update submodule ecl to latest Thu Aug 23 09:46:28 EDT 2018
- ecl in PX4/Firmware (8b6b34b8f073fc47fdce658ab5c1bccd7e1682db): 34cd1366b7
    - ecl current upstream: aa134d5a61
    - Changes: 34cd1366b7...aa134d5a61

    aa134d5 2018-08-20 Roman - l1 position controller: make sure that a NAN roll setpoint does not keep the roll setpoint state at NAN forever
2018-08-23 10:47:13 -04:00
mcsauder 1a1a04c094 Directly set parameters in airframe config files rather than setting script variables and move the param set lines into logic blocks, and alphabetize and tidy up param set lists. 2018-08-22 10:20:07 +02:00
Beat Küng b6b935026a mavlink: switch back from _mavlink_timesync.sync_stamp to hrt_absolute_time
- the timestamp is only used for logging and log analysis. For that it's
  important to have the timestamp when a setpoint becomes active.
- there was a consistent problem with the position_setpoint_triplet
  timestamp, where the timestamp was just bogus. Timesync seems to work
  correctly though. Might be a problem on the sender side?
  For example here:
  https://logs.px4.io/plot_app?log=41918a7d-4c1d-464d-9abe-aef2c0818d92
2018-08-22 08:31:37 +02:00
Daniel Agar 0935354c0a Jenkins update cppcheck to px4io/px4-dev-base:2018-08-21 (ubuntu 18.04) 2018-08-21 15:50:36 -04:00
dakejahl f62e89638f navigator: add yaw setpoint to rcloss state (#10291)
This fixes the issue where the vehicle yaws in a seemingly random direction when RC is lost.
2018-08-21 15:05:55 -04:00
PX4 Build Bot d25b76c9c8 Update submodule sitl_gazebo to latest Tue Aug 21 01:37:53 UTC 2018
- sitl_gazebo in PX4/Firmware (7f41ead238): c1ca87e37b
    - sitl_gazebo current upstream: 821c55ca71
    - Changes: c1ca87e37b...821c55ca71

    821c55c 2018-08-20 Elia Tarasov - remove unused destination socket address
37faf25 2018-08-20 Elia Tarasov - remove undecalred member function
d5ca1d4 2018-08-20 Elia Tarasov - fix default QGC udp port initialization
2018-08-21 09:43:11 +02:00
Daniel Agar 29082d0118 commander battery_failsafe state machine share strings 2018-08-21 02:38:51 -04:00
Daniel Agar 6396e486bd commander cleanup battery failsafe handling 2018-08-21 02:38:51 -04:00
Daniel Agar 7f41ead238
Update submodule mavlink v2.0 to latest Sun Aug 19 21:37:20 EDT 2018 (#10277)
- v2.0 in PX4/Firmware (485c5db21e): 6404047979
    - v2.0 current upstream: fe2349dea9
    - Changes: 6404047979...fe2349dea9

    fe2349d 2018-08-11 PX4BuildBot - autogenerated headers for rev 141637e21e
1d49e43 2018-08-09 PX4BuildBot - autogenerated headers for rev f4fda461ca
2018-08-20 13:26:24 -04:00
Daniel Agar 1f261862f6
Update submodule ecl to latest Sun Aug 19 21:37:24 EDT 2018 (#10276)
- ecl in PX4/Firmware (5d5841de98): 35f628e68f
    - ecl current upstream: 34cd1366b7
    - Changes: 35f628e68f...34cd1366b7

    34cd136 2018-08-12 Daniel Agar - Jenkins update PX4BuildBot credential usage
2018-08-20 13:26:08 -04:00
Martina Rivizzigno 854e4ef3de mc_pos_control_main: fix typo (#10274) 2018-08-20 10:56:43 -04:00
Hamish Willee 37aa2132e5 Make it clear up front that SDLOG is a bitmask 2018-08-20 15:12:08 +02:00
Daniel Agar 485c5db21e Mavlink implement GPS2_RAW for 2nd GPS 2018-08-19 16:49:44 +02:00
mcsauder 3a22ee48db Correct trailing whitespaces. 2018-08-18 15:15:41 -04:00
Daniel Agar 260c8a19c8 Jenkins upload airframe and parameter metadata to s3 2018-08-18 00:23:54 -04:00
Daniel Agar 5ec4a48a90 CI mission tests align with initial heading 2018-08-17 22:25:45 -04:00
Daniel Agar 7d389a35ce
uORB: split uORBDevices into uORBDeviceNode and uORBDeviceMaster 2018-08-17 22:25:29 -04:00
Daniel Agar e356fd89b0
CI mission tests add FW and cleanup (#10250)
* jenkins: decrease VTOL mission alt and FW mission use simple land wps
* startup: decrease min airspeed scaling factor for landing
* jenkins: FW mission include loiter_to_alt cmd
2018-08-17 13:02:14 -04:00
Daniel Agar 5acb9dfed0
Jenkins HIL test add px4fmu-v4 2018-08-17 09:28:51 -04:00
Paul Riseborough 57052edfb2 logger: Log GPS drift data
This data is published at the GPS publication rate and only when on ground.
2018-08-17 10:44:07 +10:00
Paul Riseborough c2fcef8fc1 ekf2: Tighten preflight GPS quality checks
Enable drift checks and reduce thresholds to reduce likelihood of commencing  use of  a unstable GPS position.
Publish drift data to assist with tuning.
2018-08-17 10:44:07 +10:00
Paul Riseborough d0f733d375 ecl: use master with required publication of gps drift data 2018-08-17 10:44:07 +10:00
Paul Riseborough f100cd73ef msg: Create message for GPS drift rates
This data is only updated at 5Hz and only required pre-flight.
2018-08-17 10:44:07 +10:00
dakejahl f7147653ab Navigator RTL: Removed the condition to transition straight to RTL_LAND if the previous setpoint was of type LAND. Not only does this not normally work, as the setpoints are cleared to invalid when navigator changes nav states, but the land lat/lon is set as home.lat and home.lot which is very wrong, as the vehicle would just beeline straight towards thatlocation. (#10252) 2018-08-16 18:08:46 -04:00
PX4 Build Bot 33ac659a10 Update submodule libuavcan to latest Thu Aug 16 15:14:07 EDT 2018
- libuavcan in PX4/Firmware (9c9160e015aa68ee7efe456dae7de6fc9a819715): 3ca697e64d
    - libuavcan current upstream: aa3650d34d
    - Changes: 3ca697e64d...aa3650d34d

    aa3650d 2018-08-16 Pavel Kirienko - Merge pull request #156 from UAVCAN/master_kinetis_flexcan
0dc5751 2018-07-30 Pavel Kirienko - Merge pull request #155 from hjoertel/change-start-script
ff040ea 2018-07-30 Oertel - removed the confusing "echo ..." line (it confused Pavel)
8bb5677 2018-07-30 Oertel - replaced the depricated ifconfig command by the ip command
2018-08-16 12:49:13 -07:00