|
I'll try using a bool to check if running and, if not, I'll use _endthread(). I actually don't mind multithreading. It was just starting with it that took some getting used to. I got the program to get input today but it seems to be giving me strange numbers... Example: the p2wheel variable goes from -2 to -127 (up to mid-way) and then from 127->2 (mid-way to down).. I have no clue...
__________________
Mentor to Teams 555, 1929, and 2070!
Currently working in hardware design at Cisco.
Cornell University DARPA Urban Challenge - http://www.cornellracing.com
Co-Captain Team 555 - 2003,2004,2005
Trust, Love, and Magic
|