
Re: Programming 3rd party sensors
Yes, there are at least 1 program for each driver included with the suite. Just look in the directory for the files named "*-test*.c", there should be loads of them. The advantage is that the drivers in the suite expose all of the functionality the sensors offer, not a most frequently used subset.
Perhaps showing me what you did will allow me to see what went wrong. Did you take a look at the HTMAG-test1.c program?
Just look at the programs for the HTIRS2 driver (HTITRS2-test1.c). There is no program that shows how to use the HTIRS2 for triangulation. I leave that as an exercise for the reader. Frankly, that kind of thing is a little outside the scope of creating a driver suite and falls more into the application side of things.
Regards,
Xander
_________________|
Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)| My Blog:
I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [
Project Page]