View Single Post
  #2   Spotlight this post!  
Unread 06-02-2013, 14:15
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,112
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: Moving Only the Back Wheels

I can think of three ways to do it. One is probably more complicated and hackish than anyone should try. One involves completely ignoring the "Drive" functions and building your own out of regular Motor VIs.

The one that I'd actually try implementing myself is something like this:

Open each drive motor separately. Pass the motors' RefNums into an Open 4 Motor Drive function that's been set to the "existing motor" variant. Pass the rear motors's RefNums into a similar Open 2 Motor Drive function. Now you can choose to invoke the Arcade Drive function of either the 4-motor or the 2-motor Drive set. You'll have to disable the safety on the one you're not actively controlling.


I'm curious -- why do you want to do this?
Reply With Quote