Hello from New Zealand
I have looked through the forum and various places online but found nothing. Is there an API/instructions for how to use the navigation aspects of the dGPS with Brickpi3 and in python? I’m building a robot to track over a list of waypoints and would prefer to use the inbuilt methods rather than write my own. Particularly around the:
"DGPS_CMD_DIST = 0x08 # Fetch distance to destination" and,
"DGPS_CMD_ANGD = 0x09 # Fetch angle to destination"
functions of the dGPS. How do you set the destination and then how do you call to find the distance and direction?
(I’m guessing the distance/direction retrieval is BP.transact_i2c(GPS_PORT, DGPS_I2C_ADDR, [DGPS_CMD_DIST], 3)
then value = BP.get_sensor(GPS_PORT)
but thought I’d ask as well)
Thanks