-
Notifications
You must be signed in to change notification settings - Fork 7
PWM Prints Out Negative Values #462
Copy link
Copy link
Open
Labels
Description
When using the PWM method, the values printed are negative.
Ex)
motor(0,50);
motor(3, 100);
msleep(6000);
console.log("0 PDM: " + scene.nodes['robot'].state.motors[0].pwm);
console.log("3 PDM: " + scene.nodes['robot'].state.motors[3].pwm);
Output:
0 PDM: 198
3 PDM: -400
Reactions are currently unavailable