Commit Graph

1455 Commits

Author SHA1 Message Date
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
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
mcsauder
a1af7ffdcf Remove whitespaces to quiet git commit trailing whitespace warnings. 2018-09-21 23:28:31 +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
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
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
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
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
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
Beat Küng
888d85008b rcS: use quotes to set TUNE_ERR variable (ShellCheck complained) 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
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
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
Beat Küng
9ba2e91fa1 ROMFS: avoid empty 'then else' clause, it's an error in bash
Use 'if ! <cmd>' instead.
2018-08-13 21:50:14 -04:00
Beat Küng
f414d0c413 SYS_COMPANION: add 1500000 baud to metadata & increase the data rate 2018-08-10 07:11:07 +02:00
acfloria
4a08003952 Change warnings to error in case the iridium driver start failed 2018-08-08 21:13:56 +02:00
acfloria
eb59407586 Fix starting the iridium driver in the start script 2018-08-08 21:13:56 +02:00