View Single Post
  #5   Spotlight this post!  
Unread 29-03-2015, 14:42
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,574
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: PID & One Second Delay Between Auto and TeleOp

Quote:
Originally Posted by WillNess View Post
GeeTwo:

I tried creating two variables and setting it to the .getAverageVoltage() for each potentiometer on the arm during Auto Periodic and then in TeleOpInit I would set the setPoint for each part of the arm to their respective variable but I didn't seem to get the arm to jump back up to its previous position, and sometimes the first part of the arm had drooped too much and the bin had already fell.
I was referring to the voltage applied to the motor (throttle, PID output value to actuator), not the voltage returned from the potentiometer (PID input value from sensor).
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote