Adds customizable randomness factor to sine wave generator. Fixes #2726

This commit is contained in:
Andrew Henry
2020-03-05 08:29:45 -08:00
parent 47c388450f
commit a1b1fa464e
3 changed files with 26 additions and 11 deletions

View File

@ -122,6 +122,17 @@ define([
"telemetry",
"phase"
]
},
{
name: "Randomness",
control: "numberfield",
cssClass: "l-input-sm l-numeric",
key: "randomness",
required: true,
property: [
"telemetry",
"randomness"
]
}
],
initialize: function (object) {
@ -130,7 +141,8 @@ define([
amplitude: 1,
offset: 0,
dataRateInHz: 1,
phase: 0
phase: 0,
randomness: 0
};
}
});