Does the Ultrasonic sensor give angle?

This is where you talk about the NXJ hardware related topics such as the brick, sensors, LEGO pieces, etc

Moderators: roger, 99jonathan, imaqine

Does the Ultrasonic sensor give angle?

Postby deanwarrenuk » Wed Sep 19, 2012 10:24 pm

Does the Ultrasonic sensor give angle?

The NXJ API support angle but it is always zero.
deanwarrenuk
New User
 
Posts: 1
Joined: Wed Sep 19, 2012 10:21 pm

Re: Does the Ultrasonic sensor give angle?

Postby gloomyandy » Thu Sep 20, 2012 11:02 am

What API are you trying to use? I don't see any methods that return an angle in the Ultrasonic class...
http://lejos.sourceforge.net/nxt/nxj/ap ... ensor.html

Andy
User avatar
gloomyandy
leJOS Team Member
 
Posts: 3003
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK


Return to NXJ Hardware

Who is online

Users browsing this forum: No registered users and 2 guests

more stuff