View Single Post
  #1   Spotlight this post!  
Unread 01-02-2017, 12:52
FRC2501's Avatar
FRC2501 FRC2501 is offline
Registered User
FRC #2501 (Bionic Poalrs)
 
Join Date: Jan 2015
Rookie Year: 2008
Location: Minnesota
Posts: 54
FRC2501 is an unknown quantity at this point
PIDController Issues

Hello, this year our team decided to try and implement the PIDController to regulate the speed at which our shooter is running.

I have a simple code for just the shooter (VictorSP in PWM 4) and the AMT103-V encoder (in DIO 0 & 1). I have been able to get input from the encoder and run the motor manually, but I haven't been able to get the PIDController to actually turn on the motor.

Here is a screenshot of the smartdashboard output:


I was wondering if anyone here on ChiefDelphi had any ideas on how to get the motor to run, the code can be found here:
https://github.com/FRCTeam2501/2017-.../src/Robot.cpp
Reply With Quote