Skip to content

DurhamAcademy/cgbot-opr

Repository files navigation

OPR Robot Code

Routes

Create a routes.json file in the project root structured as follows:

{
  "coordinates": [
    {
      "label": "location_1",
      "coordinates": "35.977314,-78.9716257",
      "final_heading": 350,
      "duration": 600
    },
    {
      "label": "location_2",
      "coordinates": "35.977974,-78.9715264",
      "final_heading": 90,
      "duration": 600
    },
    {
      "label": "location_3",
      "coordinates": "35.9784304,-78.9696398",
      "final_heading": 270,
      "duration": 600
    }
  ]
}