27213 Commits

Author SHA1 Message Date
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 (485c5db21e6b1a8badd7ce917146c93dcc7fe325): 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 (5d5841de980ca2d108d52f4652a9437507652860): 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
Daniel Agar
36403e9025 Mavlink expand telemetry_status and split radio_status 2018-08-16 17:32:15 +02:00
ChristophTobler
f4f112424f pmw3901: add bus option and minor improvements
- remove unused distance sensor rotation
- add possibility to define SPI bus for other boards
- use SENS_FLOW_ROT param to rotate sensor
2018-08-16 17:22:33 +02:00
Beat Küng
efbae51efe launch: add px4.launch script that only starts the px4 binary
This provides a clean ROS interface for external projects which is
independent from the px4 CLI interface.

It can be used with:
```
	<include file="$(find px4)/launch/px4.launch">
	</include>
```
2018-08-16 10:34:44 +02:00
ChristophTobler
b14839ab2b mc_pos_ctrl: send vehicle cmd if task fails and task should be switched
without this tasks will be switched all the time and the drone starts driftig
2018-08-16 09:48:59 +02:00
Daniel Agar
ce18225710 cmake px4_add_module add unity build support
- a unity build is a single compilation unit per module
2018-08-16 09:47:29 +02:00
David Sidrane
84f121ce0a px4fmu-v2:CAN2 GPIO init was over written
hardware detection was overwriting the CAN2 GPIO setting
2018-08-16 00:06:25 +02:00
Dennis Mannhart
a9d83b77de ControlMath: math optimization 2018-08-15 16:19:51 +02:00
Dennis Mannhart
d94778dd94 test_controlmath: replace FLT_EPSILON with 10^-6 2018-08-15 16:19:51 +02:00
Beat Küng
888d85008b rcS: use quotes to set TUNE_ERR variable (ShellCheck complained) 2018-08-15 10:13:06 -04:00
Beat Küng
b3a25bb2bb posix rcS: use sed instead of grep -P
The -P argument seems not to be supported on OSX
2018-08-15 10:13:06 -04:00
David Sidrane
18ccf8dbd2 px4fmu-v2: Add detection for Pixhack V3 (#10231)
The Simple HW detection was detecting the
  Pixhack V3 as a mini.

  This commit adds further discrimination, based on
  the fact the Pixhack V3 left VDD_5V_PERIPH_EN
  floating. Where a mini ,V2, V3 HW has it connected
  to the active low enable of the VDD_5V_PERIPH and
  VDD_5V_HIGHPOWER via a 10K pull down.

  The detection enables the 40K pull up and samples
  the pin. This reads back as a logical one on the
  Pixhack V3, and a logical zero on the Mini.

  Since the float is applied some 3.3 Ms post pin setting
  at reset the 10 us should leave the 5 Volt supplies in
  the on state because of the 10K pull down.
  This is assuming typical 40K pullup 10K pull down
  This results in typical 0.66V (.875V max) on the /EN pin
  which should not be detected as a high on the TPS2041.
2018-08-15 09:24:18 -04:00
Daniel Agar
01744a9efc Jenkins px4fmu-v2 hardware test 2018-08-14 23:12:26 -04:00
Daniel Agar
a2059acde5 NuttX stm32f7 configs unset ADC1 DMA 2018-08-14 20:32:28 -04:00
David Sidrane
cff3d55d33 uavcanesc:Fix date in copyright 2018-08-14 09:38:15 -04:00
David Sidrane
34812be2de uavcan:Fix date in copyright 2018-08-14 09:38:15 -04:00
David Sidrane
03000bb0ef Updated apps nuttx of platforms/nuttx 2018-08-14 09:38:15 -04:00
David Sidrane
4d3aff23d7 NXPflite-v3:Hack-Fixes USB not enumerating on Virtual Box VM 2018-08-14 09:38:15 -04:00
David Sidrane
dd69427cbf rc.io:Add USE_IO == yes && IO_PRESENT == yes test
On a FMU without a px4io (FMUv4, NXPhlite etc), this code should
  not be run.
2018-08-14 09:38:15 -04:00
David Sidrane
346224a0c6 NXPhlite:Fix init stack warning 2018-08-14 09:38:15 -04:00
David Sidrane
ce47dc24da rcS:Added unset for TUNE_ERR 2018-08-14 09:38:15 -04:00
David Sidrane
0e382aec71 Update NuttX with Kinetis Backports 2018-08-14 09:38:15 -04:00
David Sidrane
619c9c5810 Update libuavcan submodule with Kinetis Flexcan submodule 2018-08-14 09:38:15 -04:00
David Sidrane
8d14f9db52 rcS:Fix missing TUNE_ERR 2018-08-14 09:38:15 -04:00
David Sidrane
c46a405e0c rcS:NXPhlite add back UxASRT usage 2018-08-14 09:38:15 -04:00
David Sidrane
88cb57a093 update libuavcan with Kinetis support 2018-08-14 09:38:15 -04:00
David Sidrane
f0663fb143 nxphlite-v3:Match probes to V3 HW 2018-08-14 09:38:15 -04:00
David Sidrane
011ebd43b8 nxphlite-v3:Enable CAN transceivers 2018-08-14 09:38:15 -04:00
David Sidrane
5c7cbc4d30 nxphlite-v3:Add uavcan 2018-08-14 09:38:15 -04:00
David Sidrane
4bd5c02455 uavcan:add architecture specific driver header 2018-08-14 09:38:15 -04:00
David Sidrane
78fcf1dc28 uavcan use the specified architecture driver 2018-08-14 09:38:15 -04:00
David Sidrane
caa0700ca3 uavcan:Build system specify architecture 2018-08-14 09:38:15 -04:00
David Sidrane
0c3386d255 uavcan:virtual_can_driver removed unused arch specific header 2018-08-14 09:38:15 -04:00