View Single Post
  #9   Spotlight this post!  
Unread 14-02-2007, 19:54
jdejoannis jdejoannis is offline
Registered User
FRC #1845
 
Join Date: Feb 2006
Location: Atlanta,GA
Posts: 48
jdejoannis will become famous soon enoughjdejoannis will become famous soon enough
Re: Where do I begin to get the robot to move using the camera?

That won't work because the next time around the fork lift is going to be reconnected to the joystick.

This does not do what you think it does:
pwm03 != p1_y;

Lets say p1_y is equal to 200 at the moment, so we have
pwm03 != 200;

Which means pwm03 is going to be set to 0 (for the moment). You will need an if or switch statement for your joystick.

Also you might want to put a \r\n in your print statements. Keep up the good work!!

Jason