示例#1
0
void navigator_start_moving(void) 
{
  if (!carmen_navigator_go())
    carmen_verbose("Said go!\n");
  else
    carmen_verbose("could not say go!\n");
    
}
示例#2
0
static void pick_random_place(void)
{
  carmen_map_point_t map_pt;
  carmen_world_point_t world_pt;
  map_pt.map = c_space;

  do {
    map_pt.x = carmen_uniform_random(0, c_space->config.x_size);
    map_pt.y = carmen_uniform_random(0, c_space->config.y_size);
  } while (c_space->map[map_pt.x][map_pt.y] < 0);

  carmen_map_to_world(&map_pt, &world_pt);
  carmen_navigator_set_goal(world_pt.pose.x, world_pt.pose.y);
  carmen_navigator_go();
  up_to_speed = 0;
}
示例#3
0
void Carmen_Thread::go() {
    carmen_rrt_planner_go();
    carmen_navigator_ackerman_go();
    carmen_navigator_go();
}