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
mcsauder
ec16a4d063
Migrate LOGGER_BUF argument to rc.logging, group OUTPUT_MODE instances closer together by relocating UAVCAN logic block in rcS, and alphabetize hardware specific logic in rc.sensors.
7 years ago
Matthias Grob
cc0bc05156
mc_att_control: remove useless parameter MC_YAW_FF
...
It scales the yawspeed setpoint arbitrarily by default with 0.5.
This makes no sense because when you give a setpoint of 1rad/s then
you expect the setpoint to get executed. If you want manual yawspeed
response to be less agressive on the stick use the scaling parameter
for the stick MPC_MAN_Y_MAX.
7 years ago
mcsauder
4f937a2ff6
Migrate px4io logic into rc.io.
7 years ago
mcsauder
bccda56ed3
Re-order hardware specific logic in rc.interface.
7 years ago
mcsauder
6f63553824
Move MNT_MODE_IN / MOUNT_MODE_OUT logic block to rc.interface and move dataman, send_event, and load_mon startup just below uorb and tone_alarm startup in the rcS script.
7 years ago
mcsauder
1fa2a6d26e
Continued work to group/condense/consolidate logic in rcS.
7 years ago
mcsauder
1d7dbdddca
Add pwm failsafe -c argument to rc.interface, reference issue #9775 .
7 years ago
mcsauder
71ceb0cfd6
Copy/paste logic in rc.interface to group MIXER and MIXER_AUX logic, alphabetize hardware list in rc.interface, alphabetize set/unset lists in rcS, and add -p argument to pwm failsafe calls per issue #9775 .
7 years ago
mcsauder
f9a6c13d55
Group instances of UAVCAN logic into a single block and copy/paste/regroup OUTPUT_MODE logic to form on block of code handling OUTPUT_MODE.
7 years ago
mcsauder
e2eb84042e
Group hardware specific logic in rcS, deprecate the MODE parameter from rcS, and update comments.
7 years ago
mcsauder
ab788ceba7
Update sd card logic statment and comment.
7 years ago
mcsauder
f2970071a7
Acronym correction.
7 years ago
mcsauder
2512f6e30e
Format and comment fw, mc, vtol, and ugv vehicle apps and default startup scripts.
7 years ago
Daniel Agar
8537863848
delete sdlog2
7 years ago
Mark Sauder
72de9a901d
Move additional logic block to rc.vehicle_setup, add rc.vehicle_setup to init.d/CMakeLists.txt, and relocate sd card logic block higher up in rcS. ( #9896 )
7 years ago
Mark Sauder
bb86c5f200
Breakout rc.vehicle_setup from rcS. ( #9892 )
7 years ago
mcsauder
e12acc4b28
Migrate hardware specific mavlink stream cases to rc.mavlink.
7 years ago
mcsauder
8b71bb4562
Breakout rc.mavlink from rcS script.
7 years ago