Daniel Agar
52e1b59e60
cmake add nuttx shellcheck helper
7 years ago
Daniel Agar
096c41b041
init.d-posix/rcS replace bashism 'source' with '.'
7 years ago
Daniel Agar
642aff9786
init.d-posix replace bashism '==' with '='
7 years ago
Daniel Agar
72792cef43
posix-configs shell scripts use /bin/sh to maximize compatibility ( #10292 )
...
- fix ocpoc line endings
7 years ago
David Sidrane
454d175617
rc.mavlink:Seperate sys compaion init dependant on MAVLINK_COMPANION_DEVICE
7 years ago
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.
7 years ago
David Sidrane
2c282d0e0e
rc.mavlink:Fix syntax errors
7 years ago
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.
7 years ago
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
7 years ago
Beat Küng
888d85008b
rcS: use quotes to set TUNE_ERR variable (ShellCheck complained)
7 years ago
Beat Küng
b3a25bb2bb
posix rcS: use sed instead of grep -P
...
The -P argument seems not to be supported on OSX
7 years ago
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.
7 years ago
David Sidrane
ce47dc24da
rcS:Added unset for TUNE_ERR
7 years ago
David Sidrane
8d14f9db52
rcS:Fix missing TUNE_ERR
7 years ago
David Sidrane
c46a405e0c
rcS:NXPhlite add back UxASRT usage
7 years ago
David Sidrane
e892227d1f
nxphlite-v3:Fix merge issue
7 years ago
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.
7 years ago
David Sidrane
a4c4449b85
NXPhlite:Dedicate P10 UART as Telem 1 and disable companion
7 years ago
Beat Küng
923f6239e1
posix rcS: automatically find the requested model instead of explicitly enumerating them
7 years ago
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.
7 years ago
Beat Küng
9712f6b02a
mixers: remove unneeded README
...
This info is on the dev-guide now
7 years ago
Beat Küng
273988c124
SITL: move all models to unified rcS startup and remove old scripts
7 years ago
Beat Küng
5ebd0116de
rc.interface: allow setting a custom MIXER_FILE
7 years ago
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.
7 years ago
Beat Küng
a00f7ebf47
sitl scripts: refactor to use existing rc.vehicle_setup from NuttX
7 years ago
Beat Küng
fcd3a04b07
rc.interface: remove unnecessary fmu start for RC input
...
RC input is now handled via rc_input module
7 years ago
Beat Küng
9ba2e91fa1
ROMFS: avoid empty 'then else' clause, it's an error in bash
...
Use 'if ! <cmd>' instead.
7 years ago
Beat Küng
d4c7dbc93d
posix rcS: automatically find matching autostart file based on SYS_AUTOSTART
7 years ago
Beat Küng
1318e614ad
SITL: handle 'make posix_sitl_shell' via unified rcS
...
The command is now: 'make posix none_shell'
which means: don't start a simulator and run a minimal shell only.
7 years ago
Beat Küng
ab7f68f2ad
ekf2 replay: refactor to use unified rcS scripts
7 years ago
Beat Küng
f414d0c413
SYS_COMPANION: add 1500000 baud to metadata & increase the data rate
7 years ago
acfloria
4a08003952
Change warnings to error in case the iridium driver start failed
7 years ago
acfloria
eb59407586
Fix starting the iridium driver in the start script
7 years ago
Beat Küng
4703f22d4e
mixers: remove unnecessary output settings (reduce flash usage)
7 years ago
Beat Küng
7822e5b5c3
posix shell: lots of cleanup and fixes
...
- move posix-configs/SITL/init/{rcS,10016_iris,6011_typhoon_h480} to ROMFS/px4fmu_common/init.d-posix
allows for easier unification, only one symlink is required.
- rcS: add AUTOCNF support. Update scripts to match with behavior of PX4
master (parameter values, some sitl driver got removed)
- add alias to allow 'set variable value' syntax in scripts to px4-alias.sh
- use px4_getopt
- use separate argument for the test_data directory
- append PATH from within the px4 binary: this simplifies the usage
w/o the sitl_run.sh script.
- add 'source px4-alias.sh' to all existing sitl startup scripts
- move sitl mixers to ROMFS/px4fmu_common/mixers-sitl
makes it easier to use existing mixers and sitl-specific ones.
- remove unused rcS_gazebo_delta_wing
7 years ago
Beat Küng
6a49d78c4b
logger: remove last references to SYS_LOGGER
7 years ago
Beat Küng
a6f93c30d9
Revert "Move px4io firmware update logic block to rc.io."
...
This reverts commit 0928112a80
.
7 years ago
Beat Küng
5437d55518
rc.sensors: try to start ist8310 on PX4FMU_V2
...
The Pixhack v3 comes with an external IST8310 in the GPS.
7 years ago
Beat Küng
8ef4f12b61
rc.sensors: fix BOARD_FMUV3, it was unset too early
...
It's used further down again.
7 years ago
mcsauder
0928112a80
Move px4io firmware update logic block to rc.io.
7 years ago
Daniel Agar
ad41744670
wind_estimator add param to enable and start
7 years ago
mcsauder
1fe526b8eb
Updated and added full stops to comments and did some comment/whitespace formatting in the startup scripts.
7 years ago
Daniel Agar
658237f36a
px4fmu move RC input to new rc_input driver
7 years ago
Daniel Agar
4e05f26659
ms4525 driver extend to support ms4515
7 years ago
mcsauder
ac8f44268b
Added remaining two channels of PWM_AUX_DIS disarm parameter set commands, remove trailing whitespace from pwm_params_aux.c and pwm_params_main.c, gps/params.c and added block comment headers to separate sections instead of whitespace.
7 years ago
Daniel Agar
28610a2b62
AV-X lps22hb only start on SPI
7 years ago
mcsauder
8da1e67050
Move OUTPUT_MODE logic from rcS to rc.interface.
7 years ago
Daniel Agar
5ec010372c
rcS preserve accel, gyro, and temp cal parameters
7 years ago
mcsauder
ee3e34cd06
Move UART mapping comments back to top level rcS script. Deprecate PWM_ACHDIS and replace with PWM_AUX_OUT and set PWM_AUX_DIS value directly in vtol airframe config files. Replace tone_alarm instances with tune_control and default tune enums, and relocate an OUTPUT_MODE == fmu logic block in rcS.
7 years ago
Beat Küng
3f03288a95
omnibus: add support for Hobbywing XRotor F4 G2
...
It has an ICM-20602 IMU
7 years ago