ROBOTC.net forums
http://robotc.net/forums/

EV3 Ultrasonic Sensor
http://robotc.net/forums/viewtopic.php?f=1&t=10523
Page 1 of 1

Author:  Hobbes [ Wed Feb 11, 2015 10:42 pm ]
Post subject:  EV3 Ultrasonic Sensor

Help,

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?

Jim

Author:  mightor [ Sun Feb 15, 2015 2:11 am ]
Post subject:  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

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/