Loading...
 

PogamutUT2004


Collecting NavPoints?

During the path execution to a distant target I would like to store the individual navigation points that the bot passed into some list in order to try to optimilize the path by myself. But I cannot find any way how to make path executor return me a navpoint it is currently "exectuting". Any idea?

best wishes,
Lukas
This should be quite easy. Just store the path you are obtaining by path planner and giving to PathExecutor. Then in logic method you can check, between which navigation points in the path you are.
PathPlanner is returning this PathHandle type, which is the actual path.

Best,
Michal
Also you may set up a PathEventListener and listen for event types of PathEventType.PATH_ELEMENT_REACHED, that event is sent whenever the executor manage to navigate the bot to another path elemnt from the handle that is passed to it from the path planner.

Best,
Jimmy
Thanks. Works fine.
 

News

News RSS RSS feed for News link



Pogamut

Quarterly RSS RSS feed for quarterly reports

Acknowledgement

This work is supported by GA UK 1053/2007/A-INF/MFF (2007-8), GA UK 351/2006/A-INF/MFF (2006-8), the Ministry of Education of the Czech Republic (grant MSM0021620838) (2008-9), by the Program "Information Society" under project 1ET100300517 (2006-9), and the project Integration of IT Tools into Education of Humanities (2006-8) and by the project CZ.2.17/3.1.00/31162, which are financed by the European Social Fund, the state budget of the Czech Republic, and by the budget of Municipal House Prague.