Project

General

Profile

Revision 92d4adda

ID92d4adda96e773ef6c22696bdbf25ddebf4c6c0e

Added by Priya about 12 years ago

added get worst case time to wh_robot

View differences:

scout/libscout/src/behaviors/WH_Robot.cpp
9 9
    scheduler = Scheduler(scoutname);
10 10
}
11 11

  
12
Time WH_Robot::get_wc_time(State dest)
12
Duration WH_Robot::get_wc_time(State start_state, State target_state)
13 13
{
14
    //TODO: integrate Lalitha's code
15
    return 0.0;
14
  return nav_map.get_worst_case_time(start_state, target_state);
16 15
}
17 16

  
18 17
int WH_Robot::exec_task()

Also available in: Unified diff