FRC4946 / 2020Robot

3 stars 0 forks source link

Set hood and shooter speed command #82

Open Jacob4649 opened 4 years ago

Jacob4649 commented 4 years ago

We need a command that sets the hood angle setpoint and the shooter speed setpoint, but does not enable the PID on, or require either subsystem

matthew-reynolds commented 4 years ago

I imagine that this is for the manual mode preset buttons on the operator stick, correct?

matthew-reynolds commented 4 years ago

Isn't the intent of those buttons to:

  1. Set and spin up the shooter to a preset speed, and
  2. Display the desired hood angle on the SmartDashboard

I think that this command should require the shooter subsystem, and should enable the PID on that subsystem. I agree with not enabling PID or requiring the hood though - That will be controller open-loop by the operator stick.

Jacob4649 commented 4 years ago

Yeah sorry I was thinking we would spin up with the existing spin up button on the operator stick, but that seems unnecessarily complicated, this is definitely better