01-24-2010 12:57 AM
Hi everyone--
Thank you for viewing this thread. Hopefully, you'll be able to help us figure this out.
We've been trying to run the autonomous code that came with Wind River to no avail.
The iterative operation mode is working (with our own code), but NOT the sample autonomous.
Since we're able to control the robot in teleop, we believe that we've done all the necessary steps
to make sure our cRIO is properly updated, etc. Can anyone out there point us to the right direction
in order to run the sample autonomous code?
Thanks again,
RoboBOB369
p.s.
Attached is the C++ file we're working on.
01-25-2010 01:28 PM
The problem is that you are waiting 2000 seconds before telling the robot to move... The wait parameter takes a floating point number in seconds.
-Joe
01-25-2010 09:31 PM
Was the 2000 from the example, or did you add that?
01-31-2010 12:11 AM
Thank you to those of you who replied.
The attached code was inherited from last year's robot. I wasn't part of the team, yet, at that time.
The new programming group for our team is under the impression that WAIT(2000) means 2 seconds. DO'H! 🙂
We will definitely try to REDUCE that number dramatically to test the code on using the 2010 Control System parameters.
Thanks again!