View Single Post
  #2   Spotlight this post!  
Unread 24-02-2009, 19:16
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Help with Autonomous...

Quote:
Originally Posted by elbuo View Post
PS: You didn't tell me if the screenshot I posted works for keeping 2 motors on for the whole period.
Both Motor Opens are configured for the same PWM output. That right there will keep it from controlling two motors.

I can't tell from the section you posted what the loop structure is surrounding it, but I suspect the Motor Close VIs are misplaced. They should go outside everything, in the same realm as the Motor Opens (but on the right instead of the left).

You don't need to do anything fancy with timing if you just want the motors to run during the whole autonomous period. Just turn them on and forget them; the parallel drive sequence will make it so that everything inside the loop runs for as long as your Delay and Feed VIs total.
Reply With Quote