View unanswered posts | View active topics It is currently Sat Jul 26, 2014 1:09 am






Reply to topic  [ 4 posts ] 
Hitechnic Compass Sensor Calibration 
Author Message
Rookie

Joined: Tue Mar 08, 2011 5:55 pm
Posts: 1
Post Hitechnic Compass Sensor Calibration
I was wondering if anyone knew if their is a specific function that needs to be called in order to calibrate the compass sensor.
The Hitechnic site only gives specific directions for nxt-G, which are useless to me. The problem I have encountered is that while the program I have works fine on the field we have in our shop, but acts weirdly when placed on another field. My guess, is that I may need to calibrate the sensor on the new field for the program to function properly, but I could be mistaken. Any help that can be provided would be greatly appreciated.

_________________
Lead Programmer FTC team 3769 - Crusading Cucumbers
"Ad Astra Per Aspera"


Tue Mar 08, 2011 6:07 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3163
Location: Rotterdam, The Netherlands
Post Re: Hitechnic Compass Sensor Calibration
If you download my driver suite (in my signature) and take a look at HTMC-test2.c it should be a little clearer what should be done.

- Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Wed Mar 09, 2011 1:10 pm
Profile WWW
Rookie

Joined: Wed Apr 06, 2011 10:58 pm
Posts: 1
Post Re: Hitechnic Compass Sensor Calibration
Is it possible to logically erase the calibration of the HiTechnic compass? I do not mean recalibrating far away from anything magnetic, but resetting the calibration table in the memory back to a clean slate. I don't suppose that there are data sheets for these sensors ... :-)

Thanks.


Wed Apr 06, 2011 11:21 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3163
Location: Rotterdam, The Netherlands
Post Re: Hitechnic Compass Sensor Calibration
There are, as far as I am aware of, no I2C calls to do this. I have access to far more detailed documentation than what is currently publicly available.

- Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Thu Apr 07, 2011 3:59 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.