|
|
|
Junior Member
      
Group: Forum Members
Last Login: Thursday, April 03, 2008 8:22 PM
Posts: 16,
Visits: 24
|
|
| I am experimenting with my CMPS03. Using compass.Heading() gets me a number between 0 and 255, which you are pulling from I2C register 1, according to my manual for this sensor. However, there is a higher-resolution compass bearing (0 to 3599) available in registers 2 and 3 (divide by 10 to get actual compass bearing, in degrees). That value (in actual degrees) seems more useful. Any chance you could add that to the Serializer.NET class? I'd suggest just creating a new property, maybe HighResolutionHeading() or HeadingInDegrees() or something like that, so as not to affect anyone who may have programmatically used the regular Heading() already in their code. In the meantime, that gives me an excuse to tinker with the I2C Generic you showed me in a previous post. I'm going to see if I can pull this high resolution reading using that, to hone my skills for when I get a power supply for my MD23. 
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: Tuesday, September 02, 2008 9:05 AM
Posts: 270,
Visits: 400
|
|
We'll have to modify the Serializer firmware in addition to the .NET lib. I'll put it on our TODO list. In the meantime, you can just do it yourself w/ the Generic I2C instead of waiting on us, as you suggest.  Best Regards!
Jason Summerour President, Summerour Robotics Corporation Microsoft MVP www.roboticsconnection.com
|
|
|
|