Turn ratio field editor (#225)
* Turn ratio field editor (initial draft) * Add field turn ratio editor * Fix arrow rotation * Fix left and right direction, remove unnecessary SVG circles. * Update UI a little. add marker. * updated math for turnratio angle * slightly cuter * cleanup * consistent naming * more cleanup * fixing motor node issue * updated package version
This commit is contained in:
@ -40,6 +40,10 @@ namespace pxsim {
|
||||
}
|
||||
|
||||
setSpeedCmd(cmd: DAL, values: number[]) {
|
||||
if (this.speedCmd != cmd ||
|
||||
JSON.stringify(this.speedCmdValues) != JSON.stringify(values))
|
||||
this.setChangedState();
|
||||
// new command TODO: values
|
||||
this.speedCmd = cmd;
|
||||
this.speedCmdValues = values;
|
||||
this.speedCmdTacho = this.angle;
|
||||
|
Reference in New Issue
Block a user