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
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
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
mcsauder
8da1e67050
Move OUTPUT_MODE logic from rcS to rc.interface.
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
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
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
Daniel Agar
00c34d8a2b
AV-X board support
7 years ago
Beat Küng
77cea8844f
ROMFS: fix SYS_USE_IO==0
...
When SYS_USE_IO was disabled, px4io would not start and thus there was no
RC. SYS_USE_IO=0 is interesting on Quads to avoid the IO and reduce output
latency.
Tested on Pixhawk 1 and Pixhawk 4
7 years ago
nathan
f754d092f8
Initial omnibusf4sd target support
...
Flight tested: ekf2 w/ mag and compass by @nathantsoi : https://logs.px4.io/plot_app?log=79b81031-cf1e-41f0-890b-d6cd7d559766
NOTE: external I2C devices need a pullup. I have tested with a 3.3v 2.2k pullup.
Working:
- mpu6000, bench tested and verified via nsh
- fmu
- all 6 ch output bench tested w/ pwm and oneshot via nsh
- ppm input bench tested
- dsm input bench tested
- bmp280, bench tested and verified via nsh
- hmc5883, bench tested and verified via nsh, but requires an external i2c pullup
- gps on uart6
- startuplog, nsh, mavlink on uart4, but params are not sent for some reason. RSSI pin is TX, MOTOR 5 is RX (normal mode, 57600 baud)
- rgbled over i2c, bench tested and workingp
- sbus via the shared sbus/ppm pin (which includes an inverter to the mcu SBUS in pin), remove the solder bridge or jumper to the ppm pin before use
Not yet implemented:
- ADC
- OSD: passthrough video is untested, use at your own risk until a basic driver is implemented.
7 years ago
Beat Küng
06df2fcb65
rc.interface: disable AUX mixer on NXPHLITE_V3
7 years ago
Beat Küng
37a082255a
rc.interface: enable aux mixer for FMU-v5
7 years ago
Beat Küng
a56d2ab981
rc.interface: merge 'ver hwcmp' for different boards
7 years ago
Daniel Agar
4e6ca271e7
more px4fmu-v1 cleanup ( #7981 )
8 years ago
David Sidrane
62a2351a72
ROMFS:Removed FMUv1 from rcS etal
8 years ago
sanderux
220bd82b93
Per channel PWM disarmed values
8 years ago
Beat Küng
0668d61665
SYS_FMU_TASK: add param to start fmu as task (default=work queue)
8 years ago
Beat Küng
9e4d1235ac
pwm command: fix -e param (it was just ignored)
...
to keep the behavior the same, remove the -e flags from all pwm commands
that use it in the scripts.
8 years ago
Beat Küng
3f3ac414e3
fix rc.interface: do not append .mix when setting MIXER_AUX
...
Because further down the mixer file is set as:
set MIXER_AUX_FILE /etc/mixers/${MIXER_AUX}.aux.mix
8 years ago
Beat Küng
ce2502a74c
rc.interface: fix indentation
8 years ago
Lorenz Meier
494d2c9ecf
ROMFS: Enable robust PWM command mode during startup
8 years ago
Lorenz Meier
cbe04d5f9b
FMUv5: Not supporting AUX yet
8 years ago
Lorenz Meier
9e2eac41ff
ROMFS startup: Fix variable expansion for new NuttX scheme
8 years ago
Lorenz Meier
a777cad102
ROMFS: output cosmetics on startup script
8 years ago
David Sidrane
dd2fe5d42f
Document and fix '${varname}' usage
8 years ago
Lorenz Meier
f60bde9edd
Protect variables correctly during expansion
8 years ago
David Sidrane
4494182bfc
Update rc.interface
8 years ago
Lucas De Marchi
f51595ab16
Fix setting output mode in the wrong place
...
Make it common with other boards
8 years ago
José Roberto de Souza
8f0322b8aa
aerofc: Dirty hack to start mixer with the correctly output device
8 years ago
Lucas De Marchi
f5c65cf206
aerofc: disable mixer aux
8 years ago
Bart Slinger
79d8d580b1
Append AUX mixer for HITL simulation ( #5457 )
9 years ago
Dennis Shtatnov
5100785f51
MPU9250 I2C mode
...
Fixes for other boards
Functioning sensors
9 years ago
Julian Oes
c87f9a1f8a
init: make echo consistent with printfs
9 years ago
Felix Hu
bd580e09bf
supports MindPXv2 borad which is a product from AirMind.
9 years ago
Lorenz Meier
0cab404cb8
Recuperate 1.7K RAM with leaner startup scripts
9 years ago
Lorenz Meier
17e77535bf
Enable new PWM disarmed setting which allows to pick the single throttle channel. Servos stay unpowered until safety is disabled, ESC gets a standby pulse
9 years ago
Lorenz Meier
55790d0beb
ROMFS: Optimize boot sequencing to work with LL40 and camera trigger or just LL40 and 4 servos
10 years ago
Lorenz Meier
c717e72dde
ROMFS: Set up LL40S startup to reserve the pins it uses
10 years ago
Lorenz Meier
f57d09aca0
FMUv1: Do not load AUX outputs
10 years ago
Lorenz Meier
003a3b0b36
Fix file presence operator (thanks to @sjwilks )
10 years ago
Lorenz Meier
9918ff9bd4
Fix AUX ports, still retain successful boot for systems without IO
10 years ago
Lorenz Meier
da4d8a5c2b
Support the SYS_USE_IO=0 operation mode even with AUX mixer file present
10 years ago
Lorenz Meier
fc1924deec
Support the SYS_USE_IO=0 operation mode even with AUX mixer file present
10 years ago
Simon Wilks
bf23ca70c5
Added log entries for the rc.interfaces file as well.
10 years ago
Roman Bapst
05847fd4c7
improve serial output during loading of mixers
10 years ago