View Single Post
  #3   Spotlight this post!  
Unread 30-01-2010, 19:24
Doc Wu's Avatar
Doc Wu Doc Wu is offline
Registered User
AKA: Al Gritzmacher
FRC #1507 (Warlocks)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Lockport NY
Posts: 207
Doc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant future
Re: Holonomic Drive Example?

Here's a very oversimplified way to do it.

You need to open four motors in begin.vi (Open4Motors.vi) instead of the 2 motors.

You need to make the refnums agree as well.

The following would be what your teleop.vi would look like. The case structure would be the inner case that already exists and the open and get blocks would be outside the outer case.

I don't show anything connected to the rotate input, but you can add that pretty simply. Generally, you'd connect the Y-axis to the rotate input and keep both the other inputs set to 0 to use the rotate. Just add another case and feed it with a button.



This is not meant to be complete. It's more an idea what you might change within teleop.vi.
__________________
-= Mentor Lockport Warlocks -=- Team 1507 =-
Amateur Radio Callsign: AE2T

2016 Robot Inspector - Fingerlakes, Pittsburgh
2015 Robot Inspector - Pittsburgh, Champs. Judge Observer - Champs
2014 Robot Inspector - Tech Valley, Fingerlakes, Buckeye, Championship
2013 Robot Inspector - Fingerlakes, Buckeye, Championship
2012 Robot Inspector - Fingerlakes, Buckeye, Championship - Website Evaluator - Fingerlakes, Buckeye, Championship
2011 Robot Inspector - Fingerlakes 2011 Safety Advisor - Fingerlakes

Reply With Quote