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
ChristophTobler
acaf7cd267
rcS: automate tfmini start
...
disable mavlink on aero telemetry if tfmini enabled and start on mavlink companion device for others (needs SYS_COMPANION to be 0)
7 years ago
Simone Guscetti
402ad9f48f
rcS: partially change rcS to start the modified tone driver
...
- Start tone_alrm driver after uorb
- Replace tone_alarm $TUNE_ERR with tune_control play -m ${TUNE_ERR}
- TUNE_ERR is a string
7 years ago
ChristophTobler
a63fce86d4
rcs: mention wifi mapping on v4
7 years ago
ChristophTobler
5cfe0e9a0f
rcS: update comment on mavlink for FMUv4
...
Comment was a contradiction
7 years ago
Beat Küng
5fe203a510
rcS: cleanup defaults for SYS_FMU_TASK & FMUv5 params
...
- SYS_FMU_TASK is now enabled for PX4FMU_V4 PX4FMU_V4PRO PX4FMU_V5, but
it's only set on autoconf
- v5 companion is now TELEM2 (same as all other boards)
7 years ago
Beat Küng
48a6a98071
rcS: merge 'ver hwcmp' for different boards, add V5 to px4flow
7 years ago
Daniel Agar
992db1f415
delete snapdragon_rc_pwm and passthrough config
7 years ago
Lorenz Meier
1cfb441527
ROMFS: Reduce verbosity level
7 years ago
Lorenz Meier
dd5524da3d
Make boot slightly less verbose
7 years ago
Lorenz Meier
fa8222e188
Logger: Free some RAM to leave space for mag calibration
7 years ago
Sander Smeets
423241e7e2
Add forwarding on telem2 normal telemetry option ( #8434 )
7 years ago