Integrating Lego and Google Earth with RobotC

SatShotofTrip

Ever wanted to plot your path on a roadtrip or walk through the woods?

Wanted to see where your robots went while you were asleep?

We just made it super easy . . .

Using RobotC, you can download this program, drag it all over the earth, and then snap! open the file in Google Earth and see where you went.  In five easy steps.

  1. Upload our program.  (Can you do better?  Send us something!)
  2. Attach the dGPS, get a signal.
  3. Start the program and proceed to wander.
  4. Stop roaming.  Download the file “Path.txt” to your desktop.
  5. Rename the file to “Path.kml”.  Double click the file.  Voila.

We made a quick video below.

Later in the week, we’ll release the NXT-G drivers for those of you who don’t use RobotC.

You can:

2 Comments

  1. Tai Ton That February 16, 2011

    Hi Guys

    may I check with you, that with a dGPS sensor, I can ask Lego Mindstorms run from a drawing curve, or from a point to another point on a Goodle MAP? How to do this so? Thanks for your help

    Cheers
    Tai

    • Administrator February 18, 2011

      Hey Tai,

      I think what you’re asking is whether the dGPS sensor calculates distance over a straight line or over the surface of a sphere?

      The dGPS uses the Haversine formula to calculate the distance over an assumed sphere (slightly oblong sphere). For example, if you calculate the distance from one side of the earth to the other, it will be the distance over the surface of the earth, not straight through.

Leave a reply

{"cart_token":"","hash":"","cart_data":""}