|
Re: PID crossing 0
it does use vectors.
I do not know c or c++ for the record.
it *should* work... but I currently do not have access to robot and if i did, it needs its crio re-installed among other control system parts. bottom line is that It may be a while until I can test it.
I used sin and asin since it always puts it in the correct range. you could also use cos and acos.
__________________
Dean's List Semi-finalist 2010
1747 Harrison Boiler Robotics 2008-2010, 2783 Engineers of Tomorrow 2011, Event Volunteer 2012-current
DISCLAIMER: Any opinions/comments posted are solely my personal opinion and does not reflect the views/opinions of FIRST, IndianaFIRST, or any other organization.
|