View unanswered posts | View active topics It is currently Thu Apr 17, 2014 6:24 pm






Reply to topic  [ 3 posts ] 
Wait1Msec turning when under 1 second 
Author Message
Rookie

Joined: Wed Mar 07, 2012 4:47 pm
Posts: 2
Post Wait1Msec turning when under 1 second
I work with an after school group, and we just got robotC for our NXT devices. We have been working through the RobotC curriculum provided by Carnegie Mellon. We have seemingly run into a wall when trying to make our robot do simple 90 degree turns in which we should utilize the wait1Msec command with a value under 1000.

No matter what we do (turning the power down on the motors, shortening the time, e.g.) our robot will always turn for about a second and for at least 180 degrees. Turning the time way down (in the area of 100 Msec or less) results in our robot not turning at all.

This didn't seem to be the issue the first time we tried some programs, but it now remains a constant.

I was beginning to think that it might be a firmware issue since we seem to have a firm grasp on the concepts of how things should be working, but out robot doesn't seem to be executing the commands properly.

Has anyone run into any similar issues? Have any ideas? I'm at a loss.


Wed Mar 07, 2012 5:00 pm
Profile
Rookie

Joined: Fri Jan 27, 2012 6:57 pm
Posts: 40
Post Re: Wait1Msec turning when under 1 second
Are you sure that the program you are running is the program that you think you are running?
Are you using the Simulator, or are you able to download to the real NXT?
Check the program names on the computer and NXT.
Try backing out of the program's menu and see if there are any others in there.
Also try adding something else into the code, like displaying a number on the screen, and see if that works after downloading to the NXT.


Wed Mar 07, 2012 6:10 pm
Profile
Rookie

Joined: Wed Mar 07, 2012 4:47 pm
Posts: 2
Post Re: Wait1Msec turning when under 1 second
We upgraded to the trial version of RobotC 3.0 and the newest firmware today. This seemed to have resolved all of our issues.

We'll be purchasing the full version of 3.0 now.


Wed Mar 07, 2012 9:56 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.