Commit Graph
100 Commits
Author SHA1 Message Date
Mark Whitehorn 7c91aaee64 add generic 250 quad_x config tuned for acro mode 2016-02-19 08:58:19 +01:00
Mark Whitehorn d5d3b63dc8 delete parameter MPC_HOLD_Z_DZ 2016-02-17 15:23:16 +01:00
Mark Whitehorn 8cd4b57c6b add parameters for adjusting ALTCTL deadband 2016-02-17 15:22:28 +01:00
Mark Whitehorn ead3eeda6c expand description of MPC_THR_HOVER parameter 2016-02-17 15:22:28 +01:00
Mark Whitehorn 5de7c7e426 zero altctl deadband 2016-02-17 15:22:28 +01:00
Mark Whitehorn 159abb9b00 add parameter for hover throttle setting
and tighten z deadband
2016-02-17 15:22:28 +01:00
Mark Whitehorn 101ac63737 change altctl throttle deadband to 2 point curve 2016-02-17 15:21:37 +01:00
Mark Whitehorn 12437f1fc6 increase stack size for frsky telemetry daemon 2016-02-16 10:39:30 -07:00
Mark Whitehorn 42e8fe159f run astyle 2016-02-10 09:23:30 +01:00
Mark Whitehorn cca2807ff0 apply 1st order lowpass filter to baro alt 2016-02-10 09:23:30 +01:00
Mark Whitehorn b25a9a45b5 initial add of Vario sensor. 1st difference of baro_alt... need to add a
LPF in front of the difference
2016-02-10 09:23:30 +01:00
Mark Whitehorn 403810c688 disable console print of incoming telemetry data 2016-02-10 09:21:52 +01:00
Mark Whitehorn e25b26e2a8 fix format 2016-02-10 09:21:52 +01:00
Mark Whitehorn de39b63402 fix bug in rssi assignment 2016-02-10 09:21:52 +01:00
Mark Whitehorn 8116f15d95 enable print of incoming telemetry 2016-02-10 09:21:52 +01:00
Mark Whitehorn 47337eb4a5 add parsing of host frames for D type telemetry 2016-02-10 09:21:52 +01:00
Mark Whitehorn 7b7da618b8 format and disable some warnx output 2016-01-29 09:02:34 +01:00
Mark Whitehorn 81ae5cbd0d check for incoming D type telemetry packet (RX also connected to telemetry port) 2016-01-29 09:02:22 +01:00
Mark Whitehorn d96a17adfb missed some name changes from sPort to frsky 2016-01-24 11:22:18 +01:00
Mark Whitehorn cfc3af8374 update fmu-v4 cmake config 2016-01-24 11:22:18 +01:00
Mark Whitehorn 527fe4b374 remove sPort_telemetry directory 2016-01-24 11:22:18 +01:00
Mark Whitehorn c81c34b147 add sPort telemetry handling into frsky_telemetry daemon 2016-01-24 11:22:18 +01:00
Mark Whitehorn 8f8b4485f1 change rcS to start frsky_telemetry daemon for FMUv4 2016-01-24 11:22:18 +01:00
Mark Whitehorn 29d759768e clean up structure 2016-01-24 11:22:18 +01:00
Mark Whitehorn 42f9079683 move sPort_telemetry.c to src/drivers/frsky_telemetry and rename daemon
to frsky_telemetry
2016-01-24 11:22:18 +01:00
Mark Whitehorn 528e2826d5 run astyle 2016-01-24 11:22:18 +01:00
Mark Whitehorn 3b9ef1cef5 reduce reporting frequency for smartport sensors. reduces CPU load to
approx. 1%
2016-01-24 11:22:18 +01:00
Mark Whitehorn 4f55ae5306 add D type telemetry fallback to sPort_telemetry daemon 2016-01-24 11:22:18 +01:00
Mark Whitehorn a402b3beeb change frsky_telemetry default port to USART8 for pixracer
add a 50msec timeout to poll calls in sPort_telemetry to prevent hangs
2016-01-24 11:22:18 +01:00
Mark Whitehorn 8d089d95d4 change baro altitude scaling to 100 to match OpenTX "custom" altitude
mode
2016-01-24 11:22:18 +01:00
Mark Whitehorn 52ebbda5ac add conditional start of sPort_telemetry daemon for FMUv4 to rcS 2016-01-24 11:22:18 +01:00
Mark Whitehorn 99286db832 running astyle inside QtCreator doesn't guarantee that travis will pass
format checks
2016-01-24 11:22:18 +01:00
Mark Whitehorn 6cb631716a corrected scales for OpenTX 2.1.7 as specified in the comments 2016-01-24 11:22:18 +01:00
Mark Whitehorn 4e4d1a98f6 update comments on scale factors 2016-01-24 11:22:18 +01:00
Mark Whitehorn ea4937491b fix scale factor for VFAS: battery voltage report 2016-01-24 11:22:18 +01:00
Mark Whitehorn bbc03731c7 initial implementation of 5 virtual sensors for Bat V,I, Baro alt, Fuel
and GPS speed. Voltage and current scaling can be set in OpenTX. Fuel is
in percent. Alt in meters. Need to look at what OpenTX wants for speed.
2016-01-24 11:22:18 +01:00
Mark Whitehorn 82bb0564e2 fix byte stuffing typo and add comments 2016-01-24 11:22:18 +01:00
Mark Whitehorn 8949a88f25 fix CRC calc and add battery voltage report 2016-01-24 11:22:18 +01:00
Mark Whitehorn ff690dda80 increase priority of sPort_telemetry to 200 2016-01-24 11:22:18 +01:00
Mark Whitehorn bb565f5d6a add sPort_telemetry cmd to fmu-v4 module list and change default port to ttyS6/usart8 2016-01-24 11:22:18 +01:00
Mark Whitehorn 214709dc89 move smartport telemetry to new module 2016-01-24 11:22:18 +01:00
Mark Whitehorn 47dcf71554 initial test of FrSky SmartPort telemetry 2016-01-24 11:22:18 +01:00
Mark Whitehorn 8cb472af31 add RC kill switch 2016-01-18 11:36:11 +01:00
Mark Whitehorn 5a93e68918 fix code style 2016-01-14 17:55:55 +01:00
Mark Whitehorn ab1bbb9ed8 remove extraneous rescan tests 2016-01-14 17:55:55 +01:00
Mark Whitehorn 4d7fe08069 fix code style 2016-01-14 17:55:55 +01:00
Mark Whitehorn 5d588d98be change CMake CONFIG to fmu-v2 and THREADS to 4 2016-01-14 17:55:55 +01:00
Mark Whitehorn df5cb5472d configure GPIO_SBUS_INV for PixRacer R12 2016-01-14 17:55:54 +01:00
Mark Whitehorn ecbcfe838b clean up, change SPI2 clock back to 12MHz and remove debug prints 2016-01-14 17:55:54 +01:00
Mark Whitehorn ab71af6053 fix spi select logic 2016-01-14 17:55:54 +01:00
Mark Whitehorn 4952d05652 debugging ms5611 on spi2 2016-01-14 17:55:54 +01:00
Mark Whitehorn 32626b57a4 add missing #ifdef 2016-01-14 17:55:54 +01:00
Mark Whitehorn 47207b8fc8 set FMU_RC_OUTPUT high for all non-SBUS modes 2016-01-14 17:55:54 +01:00
Mark Whitehorn 5cf78cd450 configure usart6 TX for RC out
add RC_OUT pin to FMUv4 config
2016-01-14 17:55:54 +01:00
Mark Whitehorn e0bbbd356f add SUMD decoder to RCscan 2016-01-14 17:55:53 +01:00
Mark Whitehorn 3d185e18e9 remove warnx in set_rc_scan_state 2016-01-14 17:55:53 +01:00
Mark Whitehorn eb36eac137 reduce scan interval to 100msec 2016-01-14 17:55:53 +01:00
Mark Whitehorn 9eecca6a71 add string value struct for RC_SCAN enum 2016-01-14 17:55:53 +01:00
Mark Whitehorn 425169921c begin adding DSM bind function 2016-01-14 17:55:53 +01:00
Mark Whitehorn ca2e9e7be1 handle PPM input with RC_SERIAL_PORT undefined 2016-01-14 17:55:53 +01:00
Mark Whitehorn 72156d9cd6 add macro to control RC input inverter
remove redundant variable
2016-01-14 17:55:53 +01:00
Mark Whitehorn 71a3e3713c move PPM input disable into scan case for PPM; PPM input is now enabled only while in RC_SCAN_PPM state 2016-01-14 17:55:52 +01:00
Mark Whitehorn 434ce85937 lock RC scan on first detection and fill in default values for fields not in DSM record
pull serial port read out of sbus and dsm input methods

clean up scanning code and add STM24
2016-01-14 17:55:52 +01:00
Mark Whitehorn 02030d9b36 scan working for SBUS and DSM 2016-01-14 17:55:52 +01:00
Mark Whitehorn 0f3878a48a DSM input tested OK with DX7 2016-01-14 17:55:52 +01:00
Mark Whitehorn af42f454f7 fix sbus for pixracer beta 2016-01-14 17:55:52 +01:00
Mark Whitehorn bf1a510611 init sbus uart in full duplex mode 2016-01-08 08:00:21 +01:00
Mark Whitehorn f18afc47cb revert short PWM ramp interval 2016-01-04 10:54:38 -07:00
Mark Whitehorn 1b860f0b31 fix code style 2016-01-04 10:51:45 -07:00
Mark Whitehorn e6155d64ae fix fmu arming bug 2016-01-04 10:37:17 -07:00
Mark Whitehorn f36669723d add rotation for stryker vtol 2015-12-24 10:14:58 +01:00
Mark Whitehorn a6ba6eb2e4 reduce Z control deadband from 40% to 5% 2015-11-08 20:42:17 +01:00
Mark Whitehorn b54a149b90 reduce PID rollrate P and D in QAV250 config 2015-11-07 00:22:25 +01:00
Mark Whitehorn fc62461e5b lower default PWM_MIN to 1075 2015-11-06 10:49:06 +01:00
Mark Whitehorn 256f81fe4d add new config for QAV250 racing quad 2015-11-06 10:48:57 +01:00
Mark Whitehorn d08f4c747e revert Eclipse project change 2015-08-21 14:53:53 +02:00
Mark Whitehorn 9526f7c677 fix rc_input_s ref 2015-08-21 14:53:41 +02:00
Mark Whitehorn c0d2b22d00 cosmetic: fix typos in comments 2015-08-02 16:07:32 +02:00
Mark Whitehorn dd48b950ef fix units metadata for SENS_BOARD_?_OFF parameters 2015-07-20 07:55:46 -06:00
Mark Whitehorn 7e48c66c22 add is_hil_setup() 2015-06-10 12:13:49 -06:00
Mark Whitehorn 71da3976ab add HIL autostart ID range macros and remove warnx 2015-06-10 12:13:49 -06:00
Mark Whitehorn e224441ac1 special treatment and warning message for HIL platform arming 2015-06-10 12:13:49 -06:00
Mark Whitehorn 05f935cd77 inhibit more sensor checks 2015-06-06 08:53:56 -06:00
Mark Whitehorn 9588e6fc68 whitespace 2015-06-05 21:23:35 -06:00
Mark Whitehorn e9634fbe47 suppress preflight check failure for HIL autostart_ids 2015-06-05 21:18:25 -06:00
Mark Whitehorn 1f3c5d00e4 fix posctl heading hold 2015-06-05 22:45:07 +02:00
Mark Whitehorn 61904d3106 fix type mismatch 2015-05-29 10:05:29 -06:00
Mark Whitehorn db7d0ef51f add a new rotation to lib/conversion 2015-05-26 15:28:25 -06:00
Mark Whitehorn 2142fcddd3 add comment that EKF_att_estimator does not run on FMUv1 2015-05-21 12:41:50 -06:00
Mark Whitehorn 71e40c2e16 compile in ekf_att_pos and Q att estimators 2015-05-21 10:28:35 -06:00
Mark Whitehorn aa4bdd2af3 change fmuv1 default config to INAV and att_estimator_q 2015-05-21 10:28:35 -06:00
Mark Whitehorn f23bc38d3e increase default roll/pitch rate limits to 360dps 2015-04-18 11:19:06 +02:00
Mark Whitehorn 77771b2bbf fix comment on MC att controller rate limits 2015-04-18 11:19:06 +02:00
Mark Whitehorn 7f418445f2 add new parameters for roll and pitch angular rate limits 2015-04-18 11:19:06 +02:00
Mark Whitehorn a07712bb1e apply roll/pitch acro_rate_max in MC attitude controller 2015-04-18 11:19:06 +02:00
Mark Whitehorn f1b2efeeaf increase default roll/pitch rate limits to 360dps 2015-04-11 08:10:58 -06:00
Mark Whitehorn 6ccfc222d3 fix comment on MC att controller rate limits 2015-04-11 08:04:37 -06:00
Mark Whitehorn b356508f6b add new parameters for roll and pitch angular rate limits 2015-04-11 08:04:37 -06:00
Mark Whitehorn 6b26594697 apply roll/pitch acro_rate_max in MC attitude controller 2015-04-11 08:04:37 -06:00
Mark Whitehorn 1cc8b6eefc add cpu load to STAT log message 2015-03-17 16:35:51 -06:00