Yes, I've tried everything. It appears the byte order from the sensor responses is incorrect. The sample program, which should display distance and heading info when started, always show a heading of 68, and a distance of -9800

* $Id: dexterind-gps-test1.c 123 2012-11-02 16:35:15Z xander $ */

/** * dexterind-gps.h provides an API for the Dexter Industries GPS Sensor. This program * demonstrates how to use that API. * * Changelog: * - 0.1: Initial release * - 0.2: Removed common.h from includes * * Credits: * - Big thanks to Dexter Industries for providing me with the hardware necessary to write and test this. * * License: You may use this code as you wish, provided you give credit where it's due. * * THIS CODE WILL ONLY WORK WITH ROBOTC VERSION 3.54 AND HIGHER. * Xander Soldaat (xander_at_botbench.com) * 20 February 2011 * version 0.2 */

Hi Zander,Tried the upgrade, same result. Tried the NXC driver port, similar result. The time, lat and log are fine but the relative heading and distance to waypoint functions don't work. Or, apparently the house across the street is 13,000,000 miles due north. Too bad there is no technical documentation on the Dexter website I.e. register numbers for reference. Is something a byte off?

In any event, the NXT-G block works fine. Is there an issue with the SetDestinaion function?. The fact that the NXT-G block works let's me know the unit is fine, but also makes me want to chuck it in the trash compactor!

Do you think you could mail me the NXT-G program that you know is working correctly? I will run the thing through my protocol analyser and see where my driver is going wrong. The email address to send it to can be found in all of the drivers

Also, mail me the ROBOTC program you're using to try and do the same thing.

Who is online

Users browsing this forum: No registered users and 2 guests

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