Go to Post That's for us to know, and you to lose sleep over finding out! - Austin [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 09-02-2011, 22:18
stormyweathers stormyweathers is offline
Registered User
FRC #3653
 
Join Date: Feb 2011
Location: US
Posts: 10
stormyweathers is an unknown quantity at this point
Line Following Help

I have carefully looked at the framework auto ind code, but I am still a bit fuzzy.
the driverstation inputs that are fed into the "Left Right Straight" case stucture; how do I pick which one is set?

also just using the default framework, the robot ALWAYS runs in reverse
any ideas on how to fix this?

my team is using mecanum wheels (which run perfectly in teleop), how do I adjust the code to use this drive system?

for reference, our IR sensors are rigged to connect the white cable to DIO, but I have tried the auto code negating the IR input already to no avail.

I have tried doing a complicated alternate drive system as follows:
in "open.vi" I open 3 drive motor control VI's "MainDrive"(4motor) "AutoFront"(2 motor) and "AutoRear" (2 motor)
the four motors are wired appropriately.
In teleop, I run the MainDrive to mecanum cartesian
In Auto, I pass the X axis control to the X input on AutoFront and AutoBack, and pass the Y axis control to the Y input on AutoFront and AutoBack

I expected this to work somewhat, but by doing this, not only did it not work, it prevented my teleop code from working AND shortened the run time in auto to less than 4 seconds.

can anyone help me?
I am coding this alone and have never used labview before
I
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:20.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi