View Single Post
  #2   Spotlight this post!  
Unread 04-02-2009, 23:43
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: Single Motor Drive

The Basic Robot Main.vi almost does what you want out of the box in Arcade drive. I would suggest hooking your single motor to one of the PWM channels, let's say PWM 1.

Prior to making any changes to the Basic Robot Main.vi you should be able to run it and control the motion using the joystick back and forth motion (ignore side to side for the time being).

So if you really would rather have the behavior that you describe, you may want to set it up like the attached image.
Attached Thumbnails
Click image for larger version

Name:	button_drive.gif
Views:	55
Size:	4.3 KB
ID:	7318  
Reply With Quote