Beat Küng
a6f93c30d9
Revert "Move px4io firmware update logic block to rc.io."
...
This reverts commit 0928112a80 .
2018-08-03 10:46:12 -04:00
mcsauder
0928112a80
Move px4io firmware update logic block to rc.io.
2018-08-02 12:19:23 +02:00
Daniel Agar
ad41744670
wind_estimator add param to enable and start
2018-08-02 08:07:01 +02:00
mcsauder
1fe526b8eb
Updated and added full stops to comments and did some comment/whitespace formatting in the startup scripts.
2018-07-31 09:06:03 +02:00
Daniel Agar
658237f36a
px4fmu move RC input to new rc_input driver
2018-07-30 10:32:56 -04:00
mcsauder
8da1e67050
Move OUTPUT_MODE logic from rcS to rc.interface.
2018-07-26 08:17:52 +02:00
Daniel Agar
5ec010372c
rcS preserve accel, gyro, and temp cal parameters
2018-07-25 07:48:19 +02:00
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.
2018-07-24 18:44:55 +02:00
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.
2018-07-20 19:01:33 +02:00
mcsauder
4f937a2ff6
Migrate px4io logic into rc.io.
2018-07-19 13:56:03 +02:00
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.
2018-07-19 10:35:18 +02:00
mcsauder
1fa2a6d26e
Continued work to group/condense/consolidate logic in rcS.
2018-07-19 10:35:18 +02:00
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 .
2018-07-18 08:05:31 +02:00
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.
2018-07-17 09:33:50 +02:00
mcsauder
e2eb84042e
Group hardware specific logic in rcS, deprecate the MODE parameter from rcS, and update comments.
2018-07-16 16:43:01 +02:00
mcsauder
ab788ceba7
Update sd card logic statment and comment.
2018-07-13 11:02:26 +02:00
mcsauder
2512f6e30e
Format and comment fw, mc, vtol, and ugv vehicle apps and default startup scripts.
2018-07-13 11:02:26 +02:00
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 )
2018-07-12 16:45:19 -04:00
Mark Sauder
bb86c5f200
Breakout rc.vehicle_setup from rcS. ( #9892 )
2018-07-12 14:50:47 -04:00
mcsauder
e12acc4b28
Migrate hardware specific mavlink stream cases to rc.mavlink.
2018-07-12 08:10:59 +02:00
mcsauder
8b71bb4562
Breakout rc.mavlink from rcS script.
2018-07-11 09:38:58 +02:00
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.
2018-07-10 08:59:38 -04:00
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.
2018-07-08 23:24:17 +02:00
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
2018-05-28 19:03:33 +02:00
Daniel Agar
f208241074
SYS_COMPANION add RTPS client option
2018-05-22 20:37:37 -04:00
DanielePettenuzzo
f49fd2acc7
crazyflie: increase imu reading rate
2018-05-22 12:21:45 +02:00
DanielePettenuzzo
b822966e8e
crazyflie: support for sd card board via SPI
2018-05-22 12:21:45 +02:00
DanielePettenuzzo
56acce4491
rcS: start vl53lxx and pmw3901 drivers
2018-05-22 12:21:45 +02:00
Beat Küng
527070bb35
rcS: update default params for Omnibus F4 SD
2018-05-20 11:54:17 +02:00
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.
2018-05-20 11:54:17 +02:00
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.
2018-04-17 14:17:20 +02:00
DanielePettenuzzo
1b7fd5eae7
rcS: initialize TELEM4 on ttyS3 on FMUv5
2018-04-04 12:08:34 +02:00
Mohammed Kabir
f95f4c5f09
UAVCAN : Correct startup sequence and improve parameter description
2018-03-10 23:09:19 -05:00
Daniel Agar
5ef27c5425
mavlink add minimal mode ( #8947 )
2018-03-04 17:50:28 -05:00
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
2018-03-04 14:12:15 -05:00
Daniel Agar
4aeb70fcfe
rcS move logger startup to rc.logging and end of init
...
- fixes #8903
2018-02-17 18:09:50 +01:00
Beat Küng
4772a25b77
rcS: add clarifying comment for Pixhawk 3 Pro UART port
2018-02-08 14:48:49 +01:00
Haukanes
35acdfa717
Start frsky_telemetry for PX4FMU_V4PRO
2018-02-08 14:46:55 +01:00
José Roberto de Souza
10df6729f3
ROMFS: aerofc: Do not start MAVLink in telemetry if LeddarOne is in use
2018-02-08 11:26:26 +01:00
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)
2018-01-31 11:36:06 +01:00
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
2018-01-29 09:45:59 -05:00
ChristophTobler
a63fce86d4
rcs: mention wifi mapping on v4
2018-01-27 00:41:44 +01:00
ChristophTobler
5cfe0e9a0f
rcS: update comment on mavlink for FMUv4
...
Comment was a contradiction
2018-01-27 00:41:44 +01:00
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)
2018-01-10 07:59:32 +01:00
Beat Küng
48a6a98071
rcS: merge 'ver hwcmp' for different boards, add V5 to px4flow
2018-01-10 07:59:32 +01:00
Daniel Agar
992db1f415
delete snapdragon_rc_pwm and passthrough config
2018-01-08 03:07:10 -05:00
Lorenz Meier
1cfb441527
ROMFS: Reduce verbosity level
2018-01-06 11:35:53 +01:00
Lorenz Meier
dd5524da3d
Make boot slightly less verbose
2018-01-05 22:45:12 +01:00
Lorenz Meier
fa8222e188
Logger: Free some RAM to leave space for mag calibration
2017-12-30 11:24:03 +01:00
Sander Smeets
423241e7e2
Add forwarding on telem2 normal telemetry option ( #8434 )
2017-12-09 19:45:47 -05:00