Changeset 8770 for code/branches/ai2/src/orxonox
- Timestamp:
- Jul 21, 2011, 6:07:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai2/src/orxonox/controllers/ArtificialController.cc
r8769 r8770 1166 1166 { 1167 1167 //get POI by string: Possible POIs are PICKUPSPAWNER, FORCEFIELDS (!analyse!), ... 1168 // if(it->isA(Pickupable)) //distance to POI decides wether it is added (neither too close nor too far away)1169 // To Think: how should POI's be managed? (e.g. if there are no real moving target or if thecan be taken "en passant".)1168 //distance to POI decides wether it is added (neither too close nor too far away) 1169 //How should POI's be managed? (e.g. Look for POIs if there are no real targets to move to or if they can be taken "en passant".) 1170 1170 waypoint = *it; 1171 if(waypoint->getIdentifier() == ClassByString(name)) 1172 {//TODO: check distance, 1173 // PickupSpawner: adjust waypoint accuracy to PickupSpawner's triggerdistance 1174 // ForceField: analyze is angle between forcefield boost and own flying direction is acceptable 1175 break; 1176 } 1177 1171 1178 /*const Vector3 realDistance = it->getPosition() - this->getControllableEntity()->getPosition(); 1172 1179 if( realDistance.length() < distance)
Note: See TracChangeset
for help on using the changeset viewer.