Log in

View Full Version : Autonomous not loading fast enough


siggy2xc
06-03-2011, 13:53
For our autonomous mode I am using a program that will playback what you have previously recorded. I made it so that it runs within teleop so all we would have to do is run teleop in the autonomous independent vi and after autonomous was over it would allow the user to control the robot. It took about 10-12sec to start playing back. I modified my autonomous independent code to run only the necessary files instead of teleop. I am unable to test this until tomorrow, but if this doesn't start playback fast enough what should I do?

Greg McKaskle
06-03-2011, 20:01
It is not at all clear what is calling what. Please post images or code so that people can give better advice.

Greg McKaskle

mwtidd
06-03-2011, 20:02
For our autonomous mode I am using a program that will playback what you have previously recorded. I made it so that it runs within teleop so all we would have to do is run teleop in the autonomous independent vi and after autonomous was over it would allow the user to control the robot. It took about 10-12sec to start playing back. I modified my autonomous independent code to run only the necessary files instead of teleop. I am unable to test this until tomorrow, but if this doesn't start playback fast enough what should I do?

One option is to load it in robot init. That way when you robot is just sitting there it loads the file, rather than in autonomous...