Announcement

Collapse
No announcement yet.

ZeroPowerBehavior.BRAKE ?!?!?!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ZeroPowerBehavior.BRAKE ?!?!?!

    We have set our motors to BRAKE with the following statement in our hardware program:

    FrontLeft.setZeroPowerBehavior(DcMotor.ZeroPowerBe havior.BRAKE);
    BackLeft.setZeroPowerBehavior(DcMotor.ZeroPowerBeh avior.BRAKE);
    FrontRight.setZeroPowerBehavior(DcMotor.ZeroPowerB ehavior.BRAKE);
    BackRight.setZeroPowerBehavior(DcMotor.ZeroPowerBe havior.BRAKE);

    However, in our TELEOP program this seems to reduce the power down about 50%. If you comment it out it goes back to operating normal?

    Any help would be appreciated.

  • #2
    Certainly you would expect slower starts from joystick-zero, compared to the default behavior of FLOAT (continuing to coast with momentum).

    If you are also observing lower maximum power with constant joystick-max, examine your TeleOp code for intermittently setting Power to zero within the main TeleOp loop. Under FLOAT your team might never have noticed such 'interruptions'. Feel free to post a link to that code.

    Comment

    Working...
    X
    😀
    🥰
    🤢
    😎
    😡
    👍
    👎