View Single Post
  #39   Spotlight this post!  
Unread 26-02-2015, 14:36
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: functions for auto

Quote:
calling forwardMove didn't move
0.25 is INCREDIBLY slow, it probably could be ~0.6-0.7.

Quote:
Originally Posted by curtis0gj View Post
I think this is because I would enter a value of 3000 or 450 into the parameters of forwardMove when it should be negative (our encoder only likes negatives I don't know if that's normal...)
Only? As in, it measures distance instead of displacement? That would be bad. I'm assuming you just have your encoder mounted backwards, in which case you can just say
Code:
double encoder = -encoder.get();
or smth.


Quote:
Also I noticed that there was a long delay in between functions, almost 3 - 5 seconds. I thought this was odd seeing as I only have a 0.5 timer delay between functions.
Can't say with any idea since I have no access to your robot
Reply With Quote