I made a port of the ROBOTC driver to NXC. The function calls are pretty much identical. The zip file includes the driver and a test program.
You can download it here: [LINK]. Enjoy!
I made a port of the ROBOTC driver to NXC. The function calls are pretty much identical. The zip file includes the driver and a test program.
You can download it here: [LINK]. Enjoy!
Tags dGPS GPS Mindstorms NXC
Infrastructure architect by day, and robotics enthusiast by night. Xander builds and programs robots and sensors. He is also one of the founders of the Mindboards forums. As a member of the LEGO MCP, he helps spread the word about the LEGO Mindstorms robotics platform.
Copyright © 2013 Bot Bench. All Rights Reserved.

[...] just released NXC drivers for the dGPS. Thanks Xander! Now in [...]
[...] This post was mentioned on Twitter by Dexter Industries, Xander Soldaat. Xander Soldaat said: NXC Driver for dGPS: http://wp.me/pgwgr-c0 [...]
We have been a busy boy! Well done. All I need now is dSensor.
Hie Xander ,i need your help ,i bought a dexter gps and also a dexter compass ,i am trying to make an NXT robot that is gps guided using NXC ,The drivers you provided are registering an error when i try to compile ,ami doing something wrong ? .How do i get the two sensors working ?,please help ,anyone
Are you using the latest version of BrixCC and the firmware? If not, please upgrade. Use one of the test releases.
Thanks
I just got the test release.The examples given to me by Dexter Industries on their website for d-GPS are working but the d-Compass is not working ,however i think that maybe i may be the one doing something wrong because i dont know how to incorporate drivers into the enviroment of NXC ,when i try to simply copy and paste the code then compile it ,it says that there is no main task ,and a couple of other errors.Please let me know how to handle the drivers.
You haven’t really told me what kind of errors you were getting.
Well the drivers were failing but that’s because i was using outdated firmware on my nxt ,now i got the updated firmware ,the dGPS and the dCompass are working just fine .Thanks so much for the help,came in handy ,John from Dexter industries provided me with other code. Do you know how i can store navigational data and then export it to google maps to give something like a map of where my robot went?
Take a look here
http://www.mastincrosbie.com/Marks_LEGO_projects/LEGO_Street_View_Car.html