mikeller
57854eefc4
Cleaned up SDK version check.
2018-05-21 13:44:04 +12:00
Michael Keller
0ded96910d
Merge pull request #5904 from mikeller/add_target_independence_check_to_travis
...
Added target independence check to travis 'test' target.
2018-05-20 00:46:47 +12:00
Michael Keller
dd151b3636
Merge pull request #5914 from etracer65/cli_cmd_feedback
...
Add responses for cli commands that were missing them for consistency
2018-05-20 00:31:57 +12:00
Michael Keller
155a71def7
Merge pull request #5913 from etracer65/cli_whitespace_ignore
...
Ignore leading whitespace for cli command parameters
2018-05-20 00:31:24 +12:00
Michael Keller
0b40e1c673
Merge pull request #5912 from jirif/smartport_without_esc_telemetry
...
Smartport not working without USE_ESC_SENSOR
2018-05-20 00:30:55 +12:00
Michael Keller
a14302afe2
Merge pull request #5905 from etracer65/rc_interp_task
...
Break out rc interpolation as a separate task and run before pid controller and motor update
2018-05-18 13:51:53 +12:00
Bruce Luckcuck
119571f77e
Add responses for cli commands that were missing them for consistency
...
Most cli commands give some feedback if the command was successful. However a few did not return a response to provide an indication that the command was successful. This change adds feedback responses for the following commands:
adjrange
color
led
rxrange
serial
servo
vtx
2018-05-17 18:05:40 -04:00
Michael Keller
9bd8ba0673
Merge pull request #5911 from mikeller/remove_unneeded_declaration
...
Removed unneeded declaration of 'updateRcCommands()'.
2018-05-18 09:51:09 +12:00
Bruce Luckcuck
4423bf9018
Ignore leading whitespace for cli command parameters
2018-05-17 15:48:14 -04:00
jirif
1f04d74b62
Smartport not working without USE_ESC_SENSOR
2018-05-17 18:24:43 +02:00
mikeller
60f3f7a8bc
Removed unneeded declaration of 'updateRcCommands()'.
2018-05-17 23:30:41 +12:00
Michael Keller
b5521b927d
Merge pull request #5909 from etracer65/gyro_calib_cleanup
...
Gyro calibration cleanup and use floating point calculations for zero offset
2018-05-17 23:19:43 +12:00
Michael Keller
fccca5220c
Merge pull request #5908 from SteveCEvans/fixmdtypos
...
Fix doc typos
2018-05-17 23:19:24 +12:00
Michael Keller
a786f8edfd
Merge pull request #5903 from mikeller/add_linker_memory_usage_display
...
Added memory usage output to linker.
2018-05-17 23:16:57 +12:00
Michael Keller
82500afb1b
Merge pull request #5902 from mikeller/optimise_gyro_sanity_checks_f7
...
Optimised gyro sanity checks for F7.
2018-05-17 23:16:38 +12:00
Michael Keller
edfa6cfcb0
Merge pull request #5900 from jflyper/bfdev-drop-stale-gyro-support
...
Gradually retire stale/unused acc/gyro support
2018-05-17 23:16:21 +12:00
Bruce Luckcuck
4913099803
Gyro calibration cleanup
...
Data type and variable name cleanup.
Calculate the calibration sum using floats to prevent possibilities of future overflows.
Rename the calibratingG element to cyclesRemaining to be more representative of its purpose. Change its data type to int32_t to avoid calculations with signed and unsigned variables.
Fix the zero offset calculation from the calibration results to return a floating point result rather than using integer math. This may result in slight improvements in reduced gyro drift.
2018-05-16 20:38:34 -04:00
Steve Evans
c05d9ef935
Fix doc typos
2018-05-16 22:13:51 +01:00
Michael Keller
2cb8f7e3e6
Merge pull request #5907 from etracer65/gyro_calib_fix
...
Fix gyro calibration zero offset calculation
2018-05-17 07:11:13 +12:00
Bruce Luckcuck
ce170990a2
Fix gyro calibration zero offset calculation
...
It seems like the gyro calibration sample count overflow fix (#5898 ) caused a downstream problem with the math to calculate the zero offset. Casting the components of the formula to (float) solves the problem.
2018-05-16 13:06:07 -04:00
Bruce Luckcuck
fdee2e5228
Break out rc interpolation as a separate task and run before pid controller and motor update
...
Fixes an issue with motor "spikes" when rc interpolation was enabled for throttle. The problem was that the smoothing was happening too late in the sequence and the earlier process subTaskMotorUpdate() would use the unsmoothed throttle value in the mixer if new rx data had come in between the last and current PID loop. Also because the setPointRate was calculated at the end of the smoothing, the PID controller would always be using the value from the previous loop iteration.
2018-05-16 10:21:29 -04:00
mikeller
09ea369b44
Added target independence check to travis 'test' target.
2018-05-16 23:28:11 +12:00
mikeller
e823920662
Added memory usage output to linker.
2018-05-16 23:17:03 +12:00
Michael Keller
1c605c3842
Merge pull request #5898 from etracer65/gyro_cal_overflow
...
Fix numeric overflow for gyro calibration samples when using 32KHz sampling
2018-05-16 22:55:19 +12:00
Michael Keller
ba1cff8b39
Merge pull request #5889 from jflyper/bfdev-poc-pg-array-resource
...
Add handling for array of PG structures in cli resource command.
2018-05-16 22:54:51 +12:00
mikeller
0263428be7
Optimised gyro sanity checks for F7.
2018-05-16 22:45:50 +12:00
jflyper
6c044829cc
Mark unused acc/gyro support toward retirement.
2018-05-16 14:31:39 +09:00
Bruce Luckcuck
e4e4948c2a
Fix numeric overflow for gyro calibration samples when using 32KHz sampling
...
The current data type was uint16 and that would overflow when using 32KHz sampling. This caused the calibration to only run for about 0.9 seconds instead of the expected 3 seconds. At 32KHz the sample count is 96774 which overflows uint16 so changed the data types to uint32.
2018-05-15 13:24:08 -04:00
jflyper
20b187fea9
Add handling of array of pg structures in cli resource command.
2018-05-16 01:06:29 +09:00
Michael Keller
e405e41d0c
Merge pull request #5897 from jflyper/bfdev-serial-tx-buffer-size-temporary-fix
...
Temporary increase serial TX buffer sizes
2018-05-15 22:00:30 +12:00
jflyper
5877ee1ebf
Temporary increase serial TX buffer sizes
2018-05-15 07:16:51 +09:00
Michael Keller
6995f694a3
Merge pull request #5877 from mikeller/fix_target_dependencies
...
Removed some target dependencies, and added makefile target 'check-target-independence' to find dependencies.
2018-05-14 20:18:48 +12:00
Michael Keller
be3d75512e
Merge pull request #5879 from mikeller/fix_smartaudio_debugging
...
Cleaned up SmartAudio debugging.
2018-05-14 19:31:52 +12:00
mikeller
3a149dd450
Rebased, fixed regex for target name at end of line.
2018-05-14 19:18:20 +12:00
mikeller
4c11c6666b
Fix from review.
2018-05-14 19:13:37 +12:00
mikeller
7a03ead75e
Made SIMULATOR_BUILD a makefile driven option.
2018-05-14 19:13:37 +12:00
mikeller
ede204aa81
Removed some target dependencies, and added makefile target 'check-target-independence' to find dependencies.
2018-05-14 19:13:37 +12:00
Michael Keller
50ff0ddadb
Merge pull request #5878 from mikeller/enable_bidirectional_nmea_gps
...
Enabled bidirectional communication with NMEA GPS for all targets.
2018-05-14 19:08:53 +12:00
mikeller
65ecd84ec5
Removed unused function and invalid conditional.
2018-05-14 19:06:57 +12:00
Michael Keller
6a24c115a8
Merge pull request #5874 from etracer65/osd_warn_cli_parms
...
Add individual OSD warning options as cli parameters
2018-05-14 18:34:19 +12:00
mikeller
a48da6c1ee
Cleaned up SmartAudio debugging.
2018-05-13 02:08:27 +12:00
mikeller
6a605be73b
Enabled bidirectional communication with NMEA GPS for all targets.
2018-05-13 01:56:36 +12:00
Andrey Mironov
eab55fc3ee
Merge pull request #5875 from McGiverGim/add_blackbox_dterm_lpf2
...
Add Dterm filter stage 2 info to blackbox
2018-05-12 13:00:24 +03:00
Miguel Angel Mulero Martinez
0b0751a693
Add Dterm filter stage 2 info to blackbox
2018-05-12 10:37:29 +02:00
jflyper
fc92aea0f6
Merge pull request #5861 from mikeller/optimised_serial_port_t
...
Optimised 'serialPort_t' struct.
2018-05-12 09:56:46 +09:00
jflyper
58ea3a8180
Merge pull request #5860 from mikeller/eliminate_inefficient_serial_runtime_calls
...
Eliminated inefficient serial function calls at runtime.
2018-05-12 09:56:24 +09:00
Bruce Luckcuck
0916d117b8
Add OSD warning options as cli parameters
...
Previously only a single bitmapped parameter was available in the cli but this wasn't very useful as the users would have to understand the bit positions to enable/disable warning options. This change exposes each warning item as a separate parameter.
2018-05-11 20:06:34 -04:00
Michael Keller
9b16bf58ac
Merge pull request #5858 from mikeller/disable_unavailable_osd_characters
...
Disable unavailable OSD characters.
2018-05-12 12:03:51 +12:00
Michael Keller
2c1a4a2c08
Merge pull request #5857 from RolandChen/BF_official
...
FIX: Heli 120 Mixer
2018-05-12 12:02:36 +12:00
Michael Keller
ea8432b941
Merge pull request #5851 from robertlacroix/graveyard
...
Add Paralyze mode support
2018-05-12 12:02:18 +12:00