Project

General

Profile

Revision 451

Added by Jason knichel about 16 years ago

got position map to compile

View differences:

PositionMonitor.cpp
70 70

  
71 71
int PositionMonitor::getRobotPosition(int robot_id, int* xbuf, int* ybuf) {
72 72
  //TODO: figure out what a map returns if the element doesn't exist
73
  if (positionMap[robot_id] == map<int, VisionPosition>::end){
73
  if (positionMap.find(robot_id) == positionMap.end()){
74 74
    return -1;
75 75
  }
76 76

  

Also available in: Unified diff