View unanswered posts | View active topics It is currently Fri Oct 31, 2014 6:15 pm






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

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

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

thx
walldie


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

Joined: Wed Jan 24, 2007 10:44 am
Posts: 440
Location: Pittsburgh, PA
Post 
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 support@robotc.net to put in a support ticket

Robotc.net| Robomatter Store | Robotics Academy | CS2N


Fri Jun 01, 2007 9:34 am
Profile
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.