Problems with code "compassPilot"

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

Moderators: 99jonathan, roger, imaqine

Problems with code "compassPilot"

Postby Gosthrizo » Tue Apr 02, 2013 6:39 pm

Hello, good I want to use the sensor htCompass to do that my robot comes to different points of a Cartesian plane. found this code, but it remains in an infinite loop when it comes to the judgment " pilot.calibrate (); " and i dont know the reason.
the code.
http://lejos.sourceforge.net/nxt/nxj/tutorial/WheeledVehicles/CompassPilotTst.java

Someone can help me to integrate the compass sensor in my code to be able to correct the diversions? Or that help me to create a code that allows him the robot to return to his path if it is turned aside for some reason of the way. Thanks

PS: i use traductor :C
Gosthrizo
New User
 
Posts: 6
Joined: Thu Mar 28, 2013 5:40 pm

Re: Problems with code "compassPilot"

Postby Gosthrizo » Fri Apr 05, 2013 3:12 am

any idea? :/
Gosthrizo
New User
 
Posts: 6
Joined: Thu Mar 28, 2013 5:40 pm


Return to NXJ Software

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests

more stuff