ความคิดเห็น •

  • @michaelcflood
    @michaelcflood 6 ปีที่แล้ว +1

    Hi- we are trying to use encoders with the REV core motor.
    We can run the motors, w/out encoders, using the gamepad.
    But we can net get the motors to do respond to the buttons...
    The program has "A" assigned to "Go to Position 28000"
    and "B" assigned to "Go to Position "500"
    But nothign happens.
    If you have any advice, we'd appreciate it.
    Or even better, if you'd make a video of 'Using encoder to run a motor to a specific location"
    Thank!
    Michael

    • @BruceSchaferORTOP
      @BruceSchaferORTOP 6 ปีที่แล้ว

      For some info on connecting gamepad buttons to actions see th-cam.com/video/75ndVZzZJjU/w-d-xo.html

  • @mistywhitehead9242
    @mistywhitehead9242 3 ปีที่แล้ว

    Can you change from Run_to_Position to something else in order to use the color sensor to stop on the line?

    • @mistywhitehead9242
      @mistywhitehead9242 3 ปีที่แล้ว

      I have run to position above the repeat until and then I have run using encoder under that and a repeat while under that.

    • @BruceSchaferORTOP
      @BruceSchaferORTOP 3 ปีที่แล้ว

      Yes, you can use Run-Using-Encoder as illustrated in the first part of this video and terminate the loop based on what the color sensor detects. See also th-cam.com/video/iQufRF1HFRc/w-d-xo.html and th-cam.com/video/uSEEO3_JVTI/w-d-xo.html

    • @BruceSchaferORTOP
      @BruceSchaferORTOP 3 ปีที่แล้ว +1

      @@mistywhitehead9242 The motor controller can only be in one mode at a time so the last mode you set will be the one used in the blocks that execute after it until the mode is changed again.

  • @bobnunny5999
    @bobnunny5999 4 ปีที่แล้ว

    When trying to test the Run to Position code I get an error: "Fatal error occurred while executing the block labeled "set backleft.Mode to." Please help! I have checked the Configuration file for the motor name, I have checked the encoder cables. I am using a Rev Hex Motor.

    • @BruceSchaferORTOP
      @BruceSchaferORTOP 4 ปีที่แล้ว

      Please send me an image of your program. Display your opmode and then click on “Download Image of Blocks” button toward the top. Email the resulting PNG file to ftcblockshelp@ortop.org

    • @sojunho4082
      @sojunho4082 4 ปีที่แล้ว

      I have a same problem...Did you find out why??

  • @jorgenava2780
    @jorgenava2780 6 ปีที่แล้ว +1

    Can someone help me out with the encoders to rev expansion hub connection?

    • @BruceSchaferORTOP
      @BruceSchaferORTOP 6 ปีที่แล้ว

      See th-cam.com/video/U3E5AM56xzg/w-d-xo.html

    • @BruceSchaferORTOP
      @BruceSchaferORTOP 6 ปีที่แล้ว

      If you are using REV hex motors you can plug them directly into the ports on the Expansion Hub next to where you plug in the motor power cables. If you are using other brands of motors/encoders you'll need a level shifter as described in the video at the link given above. They can be ordered at www.revrobotics.com/REV-31-1389/

    • @BruceSchaferORTOP
      @BruceSchaferORTOP 6 ปีที่แล้ว

      Also see Also see pages 8, 17 and 18 of www.revrobotics.com/content/docs/REV-31-1153-GS.pdf

    • @jorgenava2780
      @jorgenava2780 6 ปีที่แล้ว

      Thanks

  • @bluerooout
    @bluerooout 6 ปีที่แล้ว

    when trying the last part of this program it just gets stuck going forward without stoping...i cant figure out why

    • @BruceSchaferORTOP
      @BruceSchaferORTOP 6 ปีที่แล้ว +1

      Have you double checked that the encoder cables are plugged into the connectors next to the corresponding motor power cables on the motor controller or REV hub?

    • @bluerooout
      @bluerooout 6 ปีที่แล้ว

      just double checked, everything looks good...just odd since the first part of the program/video (going straight 2 rotations) works fine....when I try the second part of the video (run_to_position part) it doesnt

    • @BruceSchaferORTOP
      @BruceSchaferORTOP 6 ปีที่แล้ว +1

      Double check the blocks in the second part. Try adding telemetry blocks in the last loop to report tick counts to driver station to get a better idea of what's going wrong.

    • @bluerooout
      @bluerooout 6 ปีที่แล้ว +1

      i'll see what i can do...thanks

  • @umbrellaj8954
    @umbrellaj8954 6 ปีที่แล้ว +1

    Is there an email i can reach you at?

  • @imih7518
    @imih7518 6 ปีที่แล้ว

    hey man