View Single Post
  #6   Spotlight this post!  
Unread 26-03-2009, 19:56
Mushrooshi Mushrooshi is offline
Registered User
FTC #3033
 
Join Date: Mar 2009
Location: San Antonio
Posts: 44
Mushrooshi has a spectacular aura aboutMushrooshi has a spectacular aura about
Re: [FTC]: Compass Sensor

Quote:
Originally Posted by basicxman View Post
Mine works perfectly with RobotC, I just wish it gave relative values as well as absolute values. Your compass sensor should be 8-10" away from the NXT, motors, and controllers. Make sure the sensor wire isn't wrapped or curled around the sensor, it should be smoothly distancing away from the sensor. Make sure the black nose of the sensor is facing a wall, not the ceiling. The sensor should be in horizontal orientation, not vertical.

Run the sample code "Compass_Sensor_Demo.c" found in C:\Program Files\Robotics Academy\ROBOTC for Mindstorms\Sample Programs\NXT\FTCTraining Programs
As for relative, I suppose you could do something where you take the reading, and make a variable with the value of the reading.
__________________

FTC World Championship participant 2008-2009
Reply With Quote