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
Beat Küng
888d85008b
rcS: use quotes to set TUNE_ERR variable (ShellCheck complained)
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
a4c4449b85
NXPhlite:Dedicate P10 UART as Telem 1 and disable companion
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
a00f7ebf47
sitl scripts: refactor to use existing rc.vehicle_setup from NuttX
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
a6f93c30d9
Revert "Move px4io firmware update logic block to rc.io."
...
This reverts commit 0928112a80
.
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
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
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
mcsauder
4f937a2ff6
Migrate px4io logic into rc.io.
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
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
2512f6e30e
Format and comment fw, mc, vtol, and ugv vehicle apps and default startup scripts.
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
mcsauder
9386ab6afe
Breakout rc.thermal_cal from rcS and group set/unset parameters at the beginning and end of the rcS script. Revert commit 2a3d66cf45
to reduce px4fmu-v2_default flash size. Standardize tabs/whitespaces across all files in the init.d directory.
7 years ago
Beat Küng
58c8c50174
frsky_telemetry: add scanning timeout parameter, and set it to 15s
...
This frees unused RAM in case frsky telemetry is not connected.
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
Daniel Agar
f208241074
SYS_COMPANION add RTPS client option
7 years ago
DanielePettenuzzo
f49fd2acc7
crazyflie: increase imu reading rate
7 years ago
DanielePettenuzzo
b822966e8e
crazyflie: support for sd card board via SPI
7 years ago
DanielePettenuzzo
56acce4491
rcS: start vl53lxx and pmw3901 drivers
7 years ago
Beat Küng
527070bb35
rcS: update default params for Omnibus F4 SD
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
64aab8a685
rcS: do not reset COM_FLTMODE* on airframe change
...
An airframe change keeps all RC params except the flight modes. This fixes
that.
7 years ago
DanielePettenuzzo
1b7fd5eae7
rcS: initialize TELEM4 on ttyS3 on FMUv5
7 years ago
Mohammed Kabir
f95f4c5f09
UAVCAN : Correct startup sequence and improve parameter description
7 years ago
Daniel Agar
5ef27c5425
mavlink add minimal mode ( #8947 )
7 years ago
Daniel Agar
38f5f60a1e
pwm_out_sim cleanup
...
- move to ModuleBase
- strip down to PWM 8 and 16 modes only
- remove all dead code
- implement missing pwm ioctls (current value, rates, etc)
- default rate 50Hz -> 400Hz
7 years ago
Daniel Agar
4aeb70fcfe
rcS move logger startup to rc.logging and end of init
...
- fixes #8903
7 years ago
Beat Küng
4772a25b77
rcS: add clarifying comment for Pixhawk 3 Pro UART port
7 years ago
Haukanes
35acdfa717
Start frsky_telemetry for PX4FMU_V4PRO
7 years ago
José Roberto de Souza
10df6729f3
ROMFS: aerofc: Do not start MAVLink in telemetry if LeddarOne is in use
7 years ago