Skip to content

Commit

Permalink
Removed merge artefacts
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeller authored Sep 7, 2016
1 parent 9d79675 commit edad524
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions js/RateCurve.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,11 @@ var RateCurve = function (useLegacyCurve) {
RateCurve.prototype.rcCommandRawToDegreesPerSecond = function (rcData, rate, rcRate, rcExpo, superExpoActive, deadband) {
var angleRate;
if (rate !== undefined && rcRate !== undefined && rcExpo !== undefined) {
<<<<<<< f9ea2c8ee4e9635ef6191b0d8b160dbb44128d82
if (rcRate > 2) {
rcRate = rcRate + (rcRate - 2) * 14.54;
}
var inputValue = this.rcCommand(rcData, rcRate);
=======

var inputValue = this.rcCommand(rcData, rcRate, deadband);
>>>>>>> Added deadband to curves and model calculations. Also fixed rates curve bug in pre 2.8.
var maxRc = 500 * rcRate;

var expoPower;
Expand Down

0 comments on commit edad524

Please sign in to comment.