예제 #1
0
void plan_setup_land()
{
    PathDesiredData pathDesired;

    plan_setup_land_helper(&pathDesired);
    PathDesiredSet(&pathDesired);
}
예제 #2
0
void plan_setup_land()
{
    PathDesiredData pathDesired;

    // re-initialise in setup stage
    memset(&pathDesired, 0, sizeof(PathDesiredData));

    plan_setup_land_helper(&pathDesired);
    PathDesiredSet(&pathDesired);
}