Commit Graph

61 Commits

Author SHA1 Message Date
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
Daniel Agar 00c34d8a2b AV-X board support 2018-07-08 10:18:13 -04: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
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 06df2fcb65 rc.interface: disable AUX mixer on NXPHLITE_V3 2018-03-12 11:56:59 +01:00
Beat Küng 37a082255a rc.interface: enable aux mixer for FMU-v5 2018-02-16 07:58:40 +01:00
Beat Küng a56d2ab981 rc.interface: merge 'ver hwcmp' for different boards 2018-01-10 07:59:32 +01:00
Daniel Agar 4e6ca271e7 more px4fmu-v1 cleanup (#7981) 2017-09-20 00:04:23 -04:00
David Sidrane 62a2351a72 ROMFS:Removed FMUv1 from rcS etal 2017-09-10 13:37:23 -04:00
sanderux 220bd82b93 Per channel PWM disarmed values 2017-08-09 22:28:05 +02:00
Beat Küng 0668d61665 SYS_FMU_TASK: add param to start fmu as task (default=work queue) 2017-07-18 20:06:10 +02:00
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.
2017-07-14 11:57:11 +02:00
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
2017-04-24 16:46:28 +02:00
Beat Küng ce2502a74c rc.interface: fix indentation 2017-04-18 11:58:18 +02:00
Lorenz Meier 494d2c9ecf ROMFS: Enable robust PWM command mode during startup 2016-12-26 15:34:53 +01:00
Lorenz Meier cbe04d5f9b FMUv5: Not supporting AUX yet 2016-12-23 23:24:52 +01:00
Lorenz Meier 9e2eac41ff ROMFS startup: Fix variable expansion for new NuttX scheme 2016-12-23 09:30:37 +01:00
Lorenz Meier a777cad102 ROMFS: output cosmetics on startup script 2016-12-21 08:34:22 +01:00
David Sidrane dd2fe5d42f Document and fix '${varname}' usage 2016-12-21 08:34:21 +01:00
Lorenz Meier f60bde9edd Protect variables correctly during expansion 2016-12-13 09:18:59 +01:00
David Sidrane 4494182bfc Update rc.interface 2016-12-10 12:49:25 +01:00
Lucas De Marchi f51595ab16 Fix setting output mode in the wrong place
Make it common with other boards
2016-11-28 09:21:12 +01:00
José Roberto de Souza 8f0322b8aa aerofc: Dirty hack to start mixer with the correctly output device 2016-11-28 09:21:12 +01:00
Lucas De Marchi f5c65cf206 aerofc: disable mixer aux 2016-11-28 09:21:12 +01:00
Bart Slinger 79d8d580b1 Append AUX mixer for HITL simulation (#5457) 2016-09-07 12:09:22 +02:00
Dennis Shtatnov 5100785f51 MPU9250 I2C mode
Fixes for other boards

Functioning sensors
2016-09-04 19:12:08 +02:00
Julian Oes c87f9a1f8a init: make echo consistent with printfs 2016-06-07 22:10:56 +02:00
Felix Hu bd580e09bf supports MindPXv2 borad which is a product from AirMind. 2016-03-30 19:45:39 +02:00
Lorenz Meier 0cab404cb8 Recuperate 1.7K RAM with leaner startup scripts 2016-03-28 14:48:14 +02:00
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 2016-02-15 12:06:27 +01:00
Lorenz Meier 55790d0beb ROMFS: Optimize boot sequencing to work with LL40 and camera trigger or just LL40 and 4 servos 2015-08-13 11:40:14 +02:00
Lorenz Meier c717e72dde ROMFS: Set up LL40S startup to reserve the pins it uses 2015-08-13 09:45:33 +02:00
Lorenz Meier f57d09aca0 FMUv1: Do not load AUX outputs 2015-08-11 09:45:49 +02:00
Lorenz Meier 003a3b0b36 Fix file presence operator (thanks to @sjwilks) 2015-08-06 09:38:15 +02:00
Lorenz Meier 9918ff9bd4 Fix AUX ports, still retain successful boot for systems without IO 2015-08-06 00:12:14 +02:00
Lorenz Meier fc1924deec Support the SYS_USE_IO=0 operation mode even with AUX mixer file present 2015-08-04 23:26:54 +02:00
Simon Wilks bf23ca70c5 Added log entries for the rc.interfaces file as well. 2015-05-07 10:18:03 +02:00
Roman Bapst 05847fd4c7 improve serial output during loading of mixers 2015-04-21 13:22:57 +02:00
Roman Bapst 851a66135f fixed syntax of auxiliary mixer file 2015-04-20 17:05:59 +02:00
Anton Matosov e191958ce6 Made aux output pwm rate, min, max, disarmed and failsafe values configurable the same way as for the main outputs 2015-03-06 18:57:38 -08:00
Anton Matosov db6ad147d5 Removed extra space 2015-03-06 18:57:37 -08:00
Atsunori Saito 77dbb285ca rc.interface: Fix syntax error. 2015-02-16 06:47:12 +01:00
Ban Siesta cc1482c894 rc.interface: don't try to load an auxiliary mixer without IO 2015-02-15 16:27:21 +01:00
Lorenz Meier 3036ad034d Adjust updated paths for devices 2015-02-09 22:56:21 +01:00
Thomas Gubler 450d8ee452 remove/unset startup script variables 2015-01-08 17:03:51 +01:00
Anton Matosov e405fafe88 Applied code review comments (newline at end of file, whitespaces in empty lines) 2015-01-08 13:35:02 +02:00
Anton Matosov 25054d389a Broke down the elif into else and if as nsh doesn't support elif
Fix invalid set of the variable
2015-01-08 12:55:50 +02:00
Anton Matosov 08062e6546 Changed naming of the mixers to get rid of umbiguity as outputs are actually going to be driven by io, not fmu
Implemented automatic lookup for the .aux.mix file if it exists
2015-01-08 00:53:52 +02:00
Lorenz Meier 74b63d08e1 Mixer load: Be less chatty 2015-01-06 19:53:52 +01:00
Roman Bapst 7ab58a8bc1 allow to specify secondary mixer which drives fmu PWM outputs 2015-01-06 19:51:04 +01:00