View Single Post
  #1   Spotlight this post!  
Unread 14-02-2010, 00:19
umangv620 umangv620 is offline
Programming Captain
AKA: Umang
FRC #1403 (Cougar Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: New Jersey
Posts: 80
umangv620 will become famous soon enoughumangv620 will become famous soon enough
Re: Need help w/ moving Camera Servo motors.

Quote:
Originally Posted by Greg McKaskle View Post
When I look at the code Teleop code at : http://i48.tinypic.com/sqqe8n.jpg I see that each time it is called, 50 times a second, the joysticks are being closed, additionally, the drive is being opened and closed.

Move the Opens to Begin, the Closes to Finish, and see if that helps. By the way, you'll need to name and store the drive.

Greg McKaskle
Thats what we had. We were getting errors, so we deleted that part and opened the joysticks and drive in now robot main(not teleop) and closed it in robot main as well. When we do this, our joysticks function correctly.

When we open the joysticks and the drive in begin.vi and reference them, the joysticks act funny and so does drive. Which is why i was wondering if anyone could post or PM any screenshots or code that could help us out.
__________________
Team 1403 Cougar Robotics

2009-2011 Programming Captain

2010
NJ-Regional - Chairmans Award
Reply With Quote