View unanswered posts | View active topics It is currently Sat Nov 28, 2015 4:39 am

Reply to topic  [ 2 posts ] 
Sonar Sensor Value 
Author Message

Joined: Sun Apr 29, 2007 6:23 am
Posts: 2
Post Sonar Sensor Value

Is the standard value for the NXT- Ultrasonic-Sensor Inch or cm?
And how can I change the standard value?


Fri Jun 01, 2007 8:56 am
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:44 am
Posts: 441
Location: Pittsburgh, PA
The standard value for the NXT ultrasonic sensor (in ROBOTC) is in cm. Unfortunately, there is no built-in function that can convert this. However, what you can do is create a variable and convert the cm to inches, and use that result for a condition to work in inches if that's what you prefer.

Vu Nguyen
Software Training Development Team | Webmaster
Need more support? Email ROBOTC Support at to put in a support ticket| Robomatter Store | Robotics Academy | CS2N

Fri Jun 01, 2007 9:34 am
Display posts from previous:  Sort by  
Reply to topic   [ 2 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.