|
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
|