RCX Rotation Sensor

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: imaqine, 99jonathan, roger

Posts: 78
Joined: Tue Feb 27, 2007 3:07 am

RCX Rotation Sensor

Postby mdsmitty » Mon Sep 17, 2007 4:40 am

Hi all,
I have a robot that plays checkers thats being upgraded to the NXT platform. There are two rotation sensors and RCX motors in the things belly i would prefer to keep as they are really a pain to replace.
As i was looking though the API i noticed that the rotation sensors were not yet implemented. I started looking into how the rotation sensors work and i can see the voltage changes by reading the raw value from the sensor port on the NXT. I can reliably tell which direction its turning by reading the raw value. Before i start writing a class for the rotation sensors is reading the raw value the best way to do this or is there a better way to go about doing this. Or has work already been done for the rotation sensor?


Return to “NXJ Software”

Who is online

Users browsing this forum: Bing [Bot] and 3 guests