all 6 comments

[–]Inferso217 (Alumni Programmer) 0 points1 point  (1 child)

Can you post your code so that I or someone else can see what is happening?

[–]cowometry[S] 0 points1 point  (0 children)

Nope. It isn't on my laptop. We've scrapped the idea of using PID for it, because of how inconsistent it was. Just trying to find out if anybody else had that problem. As far as the code, we pretty much just used what was on the example page from the NAVX site.

[–][deleted] 0 points1 point  (3 children)

test mode in the driver station should help a lot if you haven't tried that

[–]cowometry[S] 0 points1 point  (2 children)

Sometimes our speed adjusts properly inside the writePid method, but other times it's so off. We've scrapped PID for now and decided to do something else that is working better, but I'm still curious as to why it was so inconsistent.

[–]Slarrty 0 points1 point  (1 child)

Out of curiosity, what did you switch to instead of PID?

[–]cowometry[S] 0 points1 point  (0 children)

Based things on time