daihoshi / frc5666powerup

Labview code for robotics.
2 stars 0 forks source link

Make the shooter work in teleop #2

Closed redbow-kimee closed 6 years ago

redbow-kimee commented 6 years ago

use the immediate command to do things in teleop

redbow-kimee commented 6 years ago

this task is blocked by hardware waiting until the last day to finish the robot so that there is no time for software testing

redbow-kimee commented 6 years ago

the shooter should spin the wheels at the necessary speed, then the pusher should be pulled forward until it hits the front switch. then the pusher should be pushed backwards until it hits the back switch. this is done by the shoot command (and case in the controller).

the immediate command should also be able to spin the wheels up before hand. it is connected to the bottom slidey thing (axis 3) on the operator joystick. In teleop the joystick range is transformed from from -1 to 1 to 0 - 1 as it goes into the spin wheels immediate command, but I think it needs to be transformed as it goes into the shoot command too.