1745 Commits

Author SHA1 Message Date
mcsauder
e79fa1773d Alphabetize vehicle type logic block order and Update param set MAV_TYPE logic to only set the parameter if no MAV_TYPE was previously set. 2018-09-18 19:46:59 -04:00
Daniel Agar
c7e572d2c2 commander preflight check sensors via uORB instead of IOCTL
- remove all platform defines
2018-09-18 22:24:03 +02:00
TSC21
8325724079 general fixes on VIO data access 2018-09-18 09:52:33 +02:00
mcsauder
0d0fcb140c Updated rc.vtol_defaults to correct PWM_AUX behavior for VTOL airframes. Added PWM_AUX_RATE to rc.vtol_default and set parameters directly instead of environment variables. 2018-09-17 20:28:09 -04:00
David Sidrane
2d800885bc NXPHlite: rc.sensors start lis3mdl (#10500) 2018-09-17 13:29:08 -04:00
bresch
740e409016 PWM - Add PWM_MIN and PWM_MAX parameters for MAIN and AUX (#10452) 2018-09-16 18:07:29 -04:00
Daniel Agar
9580cb8d86 SITL plane cut throttle during landing final stage 2018-09-17 00:06:52 +02:00
Beat Küng
84c6b5ac6b fmu-v2: add bootloader binary and SYS_BL_UPDATE param for BL updates
This allows a simple-to-use bootloader update mechanism to switch from
fmu-v2 to fmu-v3 target that has more flash.
2018-09-14 17:06:19 +02:00
mcsauder
e7666aa5d8
Added an imu heater driver, formatted whitespace, standardized comments, and added doxy documentation. 2018-09-06 12:03:26 +02:00
mcsauder
0c08b7035b Edit the init.d-posix files to set MAV_TYPE script variables, and alphabetize lists in a few places. 2018-09-04 10:23:27 +02:00
mcsauder
4ea3306ec2 Set parameters directly rather than script variables in VTOL airframe config files and alphabetize lists. 2018-09-04 10:23:27 +02:00
fredowski
ad6e48c372 cmake - check directory existence before copy_directory (#10402)
Starting with cmake version 3.12 the cmake -E copy_directory
command fails if the source directory does not exist. This results
in a build failure. This fix creates the source directory before
the copy which does not harm if the source directory exists.

Closes: #10368
2018-09-03 20:27:32 -04:00
David Sidrane
19a8c3e49c rcs:Add comment & test 4 Mini test on all px4io init 2018-08-30 19:11:17 +02:00
David Sidrane
c072fefa2c px4fmu_common:rcS:Use tune control, suport FW with no PX4IO
On FW with a px4io bin file, but not a px4io do not error

   Use tune control and have all paths in rcS indicate tunes
2018-08-30 19:11:17 +02:00
David Sidrane
6a7d98229e tap_common rcS:Use tune_control & clean up 2018-08-30 19:11:17 +02:00
David Sidrane
b9a54cb4fd tap_common rc.interface:Use tune_control 2018-08-30 19:11:17 +02:00
David Sidrane
91abb36063 px4fmu_test:rcS:Use tune_control 2018-08-30 19:11:17 +02:00
David Sidrane
a2dde6bc19 rc.mavlink:Use tune_control 2018-08-30 19:11:17 +02:00
David Sidrane
7d3d497831 rc.io:Use tune_control 2018-08-30 19:11:17 +02:00
David Sidrane
f5295d7700 rc.interface:Use tune_control 2018-08-30 19:11:17 +02:00
Matthias Grob
0c6bffb66a commander: make auto disarm timeout float
such that fractions of a second are configurable
2018-08-30 08:05:13 +02:00
Kevin Lopez Alvarez
c10ea132b4 PNI RM3100 magnetometer driver (#10302)
* tested on SPI (px4fmu-v4pro)
 * WIP I2C support
2018-08-28 11:44:34 -04:00
bresch
04c765f497 Failsafe PWM - Add PWM_MAIN/AUX_FAILx parameters to set "failsafe" values. 2018-08-28 11:23:25 -04:00
Jake Dahl
07d606ef83 Added TI PGA460 driver functionality to PX4. 2018-08-27 21:15:04 +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
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
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
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
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
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
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
ce47dc24da rcS:Added unset for TUNE_ERR 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
e892227d1f nxphlite-v3:Fix merge issue 2018-08-14 09:38:15 -04:00
David Sidrane
e35be68fd4 NXPhlite work arround to internal i2c routed to external connector.
Since the only device on the bus is the barro, int or ext does
   not apply. This will be fixed on the rev > RC15.
   This defines an alias that can be used to condition the buss logic
   connection logic px4_i2c_bus_external to return external.
2018-08-14 09:38:15 -04:00
David Sidrane
a4c4449b85 NXPhlite:Dedicate P10 UART as Telem 1 and disable companion 2018-08-14 09:38:15 -04:00
Beat Küng
923f6239e1 posix rcS: automatically find the requested model instead of explicitly enumerating them 2018-08-13 21:50:14 -04:00
Beat Küng
4e860e357c Tools: add run-shellcheck.sh to statically analyze startup scripts
Use './Tools/run-shellcheck.sh ROMFS/px4fmu_common' to run it.
2018-08-13 21:50:14 -04:00
Beat Küng
9712f6b02a mixers: remove unneeded README
This info is on the dev-guide now
2018-08-13 21:50:14 -04:00
Beat Küng
273988c124 SITL: move all models to unified rcS startup and remove old scripts 2018-08-13 21:50:14 -04:00
Beat Küng
5ebd0116de rc.interface: allow setting a custom MIXER_FILE 2018-08-13 21:50:14 -04:00
Beat Küng
e6b9806ee1 SITL: add multi-vehicle support to rcS
This also removes the HIGHRES_IMU mavlink stream to the GCS. I don't see
why it's needed and it adds noticeable CPU load.
2018-08-13 21:50:14 -04:00
Beat Küng
a00f7ebf47 sitl scripts: refactor to use existing rc.vehicle_setup from NuttX 2018-08-13 21:50:14 -04:00
Beat Küng
fcd3a04b07 rc.interface: remove unnecessary fmu start for RC input
RC input is now handled via rc_input module
2018-08-13 21:50:14 -04:00