Exemplo n.º 1
0
/*
 * Function
 *
 *
 * Description
 *
 *
 * Parameters
 *
 *
 * Return
 *
 *
 * Remarks
 *
 */
static void
drive_at(int index, tCarElt* car, tSituation *s)
{
    gps.update(car);
    vec2 myPos = gps.getPosition();
    printf("Players's position according to GPS is (%f, %f)\n", myPos.x, myPos.y);

    robot.drive_at(index, car, s);
}//drive_at
Exemplo n.º 2
0
/*
 * Function
 *
 *
 * Description
 *
 *
 * Parameters
 *
 *
 * Return
 *
 *
 * Remarks
 *
 */
static void
drive_at(int index, tCarElt* car, tSituation *s)
{
    robot.drive_at(index, car, s);
}//drive_at