Go to Post The code won't compile if you violate the rules of the programming language...but English is more robust, it seems to work pretty well no matter how we engineering nerds mangle it! - MrForbes [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FTC]: Compass Sensor Interference. ttldomination FIRST Tech Challenge 3 02-02-2009 20:19
[FTC]: Lego compass sensor and pucks KayyPii FIRST Tech Challenge 3 23-11-2008 10:59
Devantech CMPS03 compass sensor eagleslg Programming 1 24-05-2008 22:00
Where can I get a digital compass sensor? EHaskins Technical Discussion 6 26-09-2007 18:33
Compass/direction sensor Frank(Aflak) Technical Discussion 10 06-04-2003 09:18


All times are GMT -5. The time now is 08:12.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi