View unanswered posts | View active topics It is currently Sun Sep 20, 2020 8:19 pm

Reply to topic  [ 2 posts ] 
EV3 Ultrasonic Sensor 
Author Message

Joined: Tue Jan 13, 2015 11:30 pm
Posts: 10
Post EV3 Ultrasonic Sensor

My EV3 Ultrasonic sensor (Lego) seems to be stuck in centimeters. Regardless of the Sensor Mode (Distance CM, Distance Inch, or Listen) the getUSDistance function seems to return a value in centimeters. Is this normal?


Wed Feb 11, 2015 10:42 pm
Site Admin
Site Admin
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3654
Location: Rotterdam, The Netherlands
Post Re: EV3 Ultrasonic Sensor
The Inch mode should not appear in the menu. I'll make sure it's disabled for the next release. As for getUSDistance(), it will automatically switch to CM, if it's in a mode that is not CM.

I am not sure we're doing a lot with the Listen mode right now.

= Xander

| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]

Sun Feb 15, 2015 2:11 am
Profile WWW
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.