FTC11940 / 2023-PowerPlay

BSD 3-Clause Clear License
0 stars 0 forks source link

Setup claw-grabber in hardware and teleop #2

Closed JediScoy closed 2 years ago

JediScoy commented 2 years ago

Servo motor is mentioned in the Hardware map, but I'm not seeing its actions/functions listed anywhere

JediScoy commented 2 years ago

Setup servo motor actions #2

JediScoy commented 2 years ago

Using REV Robotiocs Smart Robot Servo. Claw will start in the open position and be coding to close. Close is a value of zero.

JediScoy commented 2 years ago

Resources

  1. Servo Usage Tips page
  2. Rotate Servos - Java video
JediScoy commented 2 years ago

Ruby has the servo on dev-servo branch. She is woking on the hardware file and mecanum file to integrate the servo. For proof of concept: Button A to open and Button Y to close.

JediScoy commented 2 years ago

Robot configuration was setup in the Drive Hub to have "grabby" servo on port 1 of the hub. Code deployed without error, but assigned buttons did not operate as expected.