Skip to content

PWM Prints Out Negative Values #462

Description

@erinharrington-12

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglowLow priority

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions