Pixy cam and GPS for autonomous vehicle

Hey everybody, as the subject says, have any of you tried putting together the pixy cam and a GPS?

I did so and found out something about it or is it just for me?
the pixy doesnt seems to get along with the gps for some reason… I’m using the NMEA library and pixy library for this.

pixycode:

Serial.print("x = ");
    Serial.println(pixy.blocks[0].x);
    Serial.print("y = ");
    Serial.println(pixy.blocks[0].y);
    delay(1000);
           if (pixy.blocks[0].x < 120){// if the object is at the left side, which is 80
           // then turn left.
           turnLeft();
           }
}

gps code:

if (gpsW.available() > 0 ) {
    // read incoming character from GPS
    char c = gpsW.read();

    // check if the character completes a valid GPS sentence
    if (gps.decode(c)) {
      // check if GPS positioning was active
      if (gps.gprmc_status() == 'A') {
        // calculate relative direction to destination
        //d = degrees, meaning the gps doesnt guide by coordinates but by cardinal degrees
        d = gps.gprmc_course_to(dest_latitude1, dest_longitude1) - gps.gprmc_course();
        currentDegrees = gps.gprmc_course();
         Serial.print("waypoint 1 degrees from loc:"); Serial.println(d);
         Serial.print("current course in degrees:"); Serial.println(currentDegrees);  
          
      if (d < 0) { d += 360; }
        if (d > 180) { d -= 360; }
        // set LEDs accordingly
        if (d < 5) {
          turnLeft();
        } 
        else if (d > -5) {
          turnRight();
        } else {
          forward();
        }
      }
    }
}
  }

any idea what causes this?

I did so and found out something about it or is it just for me?

It's just you.

I'm using the NMEA library and pixy library for this.

Did you get these at KMart?

any idea what causes this?

Causes what? Snippets? I have a real good idea what causes that!

come on man, I'm not an expert like you are, you expect me to just snap a finger and know what the heck is going on with my code?

excuse my french.

I get something in the serial monitor saying:

waypoint 1 degrees from loc:53.74
current course in degrees:0.00
x = y = reorder cs error hello $GPRMC, nan inf ovf
...(and some gibberish raw GPRMC mixed with random letters)

you expect me to just snap a finger and know what the heck is going on with my code?

That would be nice, but its unrealistic. What I expect is for you to say where you got the libraries and post ALL of your code.

And the rest of us expect you to read the "How to use this forum" stickys at the top of the forum. So

  1. Post your code,

  2. Post links to every thing your using

  3. Post a schematicof your hardware.

  4. Remember you want us to help you!

Mark

Hey everybody, as the subject says, have any of you tried putting together the pixy cam and a GPS?

Both of those devices scream "large data sets" at me.