|
Re: Victors not working please help
Well, the first part looks funky and strange to me, as its still a bit out of scope (referring to, we need the code around the lines too), but what really caught my eye was the last few. Your "if" code makes no sense; what it's doing right now is getting the Y value off the joystick and checking whether its centered or not... that, and the Set command requires a capital S. Why not just remove the if statement altogether? It's useless.
All Victor 884's are the same; to my knowledge they haven't changed since they came out.
At the top of your code you have
vicshoulder(6,1);
For one thing, the S isn't capitalized again, and.... you need to initialize the Victor object in the class initilization section above the braces.
I'll put some of my similiar code here later.
__________________
Attending: MN Duluth Regional
|