View unanswered posts | View active topics It is currently Sat May 18, 2013 6:00 am






Reply to topic  [ 3 posts ] 
Need Help!!! 
Author Message
Rookie

Joined: Mon Aug 06, 2012 10:09 pm
Posts: 1
Post Need Help!!!
We are trying to programme our nxt robot on RobotC, and we are trying to use untillTouch but it does not like it, it says "**Error**:Undefined procedure 'untilTouch'."
Can anyone help?? thanks


Mon Aug 06, 2012 10:11 pm
Profile
Senior Roboticist
User avatar

Joined: Wed Sep 28, 2011 10:13 pm
Posts: 509
Location: Totally not spying on Hassenplug to see what he has for the Brickworld Chicago 2013 sumo contest.
Post Re: Need Help!!!
That is a NXC command. Here's how you'd do it in RobotC.

Code:
while(SensorValue(SensorPort) == 0);

_________________
A.K.A. inxt-generation
Self-proclaimed genius, and future world dominator.
My Brickshelf Folder
"Don't they teach recreational mathematics anymore?" - The Tenth Doctor
Bow down to Nikola Tesla, King of the Geek Gods.


Mon Aug 06, 2012 10:51 pm
Profile WWW
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 2858
Location: Rotterdam, The Netherlands
Post Re: Need Help!!!
It's a valid "Natural Language" command. Are you sure the platform is set correctly?
Verify using the image below.
Attachment:
2012-08-07_06-34-23.png
2012-08-07_06-34-23.png [ 21.35 KiB | Viewed 568 times ]

Regards,
Xander

_________________
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)

| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Tue Aug 07, 2012 12:34 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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.