Beat Küng
eb30b5b73e
mc_pos_control_params: remove unused MPC_MANTHR_MAX params
2018-10-04 15:09:02 +02:00
Beat Küng
09563c94ce
rcS: fix typhoon_h480
...
The typhoon has a 6011_typhoon_h480.post script that got matched as well.
Now we exclude all files that contain a dot (apparently it's not so easy
to do generic pattern matching in a portable way, but this works).
2018-10-04 09:38:59 +02:00
Beat Küng
b972651a06
posix shell: use /bin/sh instead of bash
...
This uses the systems default shell:
- Ubuntu: dash
- Fedora: bash
Since bash is invoked via /bin/sh, it operates in POSIX mode:
https://tiswww.case.edu/php/chet/bash/POSIX
- remove '# Ignore the expand_aliases command in zshell.'
Not needed because the shell operates in POSIX mode
- [[ is bashism -> use [
- autostart_files=( $autostart_file_match )
is not supported in dash, so use 'ls'
- shellcheck runs the dash flavor, since dash is a minimalistic shell.
Tested on dash & bash.
2018-09-27 23:39:20 +02:00
Beat Küng
37338e442f
NuttX shell scripts: replace operator == with =
...
- NuttX supports both versions
- POSIX shell only supports '='
2018-09-27 23:39:20 +02:00
David Sidrane
45cf4d49f9
rcS:FMU V5 mini disable px4io
2018-09-26 23:27:23 +02:00
Beat Küng
c2ff0b1052
rcS: start frsky_telemetry on Pixracer if not enabled already
2018-09-25 14:31:47 -04:00
mcsauder
c390d02f1c
Tidy up an OUTPUT_DEV set/unset in rc.interace and rcS.
2018-09-25 07:55:03 +02:00
Daniel Agar
078f5ea198
serial generate config add 10 generic serial ports
2018-09-25 07:53:29 +02:00
Beat Küng
39db2a6bf9
shellcheck: ignore SC2154 on NuttX
...
This is because NuttX uses a different assignment for variables.
2018-09-25 07:53:29 +02:00
Beat Küng
300e66ae6a
SYS_COMPANION: deprecate this param
...
Replaced with the more generic serial config params.
rc.mavlink contains automatic transition support that can be removed after
the next release.
2018-09-25 07:53:29 +02:00
Beat Küng
f0c0b6f6e8
params: remove unused SENS_EN_* params
...
Replaced with the more general serial config params.
2018-09-25 07:53:29 +02:00
Beat Küng
dae292631c
Tools/serial: use per-module serial port config params, instead of per-port
2018-09-25 07:53:29 +02:00
Beat Küng
c237221a81
cmake: add serial param & ROMFS generation to the build system
...
- only a few configs done yet
2018-09-25 07:53:29 +02:00
mcsauder
a1af7ffdcf
Remove whitespaces to quiet git commit trailing whitespace warnings.
2018-09-21 23:28:31 +02:00
Kunal Shah
7f016b5fd4
ROS multi-vehicle simulation: fixed udp port overlap issues
2018-09-21 09:01:47 +02:00
mcsauder
0ecf6436f8
Modify 500001_axialracing_ax10 to utilize rc.ugv_defaults to allow deprecating rc.axialracing_ax10_apps and rc.axialracing_ax10_defaults and update CMakeLists.txt.
2018-09-19 14:07:30 -04:00
Roman
e1992a5036
ROMFS: enable weathervane by default for VTOL
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-19 13:30:32 -04:00
mcsauder
39ee1926a2
Alphabetize hardware type logic blocks and sensor specific logic blocks in rc.sensors.
2018-09-19 13:17:10 -04:00
mcsauder
31f3bcfc3a
Remove logic from rc.vehicle_setup that resulted in redundantly setting the MAV_TYPE to the same initial default value set within the script.
2018-09-18 22:49:01 -04:00
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