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
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