Changes have been pushed for the repository "fawkes.git". (Fawkes Robotics Software Framework)
Clone: g...@git.fawkesrobotics.org:fawkes.git Gitweb: http://git.fawkesrobotics.org/fawkes.git Trac: http://trac.fawkesrobotics.org The branch, common/current-clips-executive-rcll has been updated to a3b3b86410487e683844c37c3d0ee99d2f583480 (commit) from 649f4921a769b9663a110cd0f452ded74c23c18b (commit) http://git.fawkesrobotics.org/fawkes.git/common/current-clips-executive-rcll Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - *Log* --------------------------------------------------------------- commit a3b3b86410487e683844c37c3d0ee99d2f583480 Author: Tim Niemueller <niemuel...@kbsg.rwth-aachen.de> AuthorDate: Mon Mar 26 20:46:40 2018 +0200 Commit: Till Hofmann <hofm...@kbsg.rwth-aachen.de> CommitDate: Fri Apr 13 13:34:28 2018 +0200 pddl-planner: reset action list early to indicate failure If FF failed, the respective function would immediately return. However, this would not reset the action list and in turn not set failure on the planner interface. This way, the executive would still end up with stale plans from the last successful run. http://git.fawkesrobotics.org/fawkes.git/commit/a3b3b86 http://trac.fawkesrobotics.org/changeset/a3b3b86 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *Summary* ----------------------------------------------------------- src/plugins/pddl-planner/pddl-planner_thread.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) - *Diffs* ------------------------------------------------------------- - *commit* a3b3b86410487e683844c37c3d0ee99d2f583480 - - - - - - - - - - Author: Tim Niemueller <niemuel...@kbsg.rwth-aachen.de> Date: Mon Mar 26 20:46:40 2018 +0200 Subject: pddl-planner: reset action list early to indicate failure src/plugins/pddl-planner/pddl-planner_thread.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) _Diff for modified files_: diff --git a/src/plugins/pddl-planner/pddl-planner_thread.cpp b/src/plugins/pddl-planner/pddl-planner_thread.cpp index 0da5bf3..a562bd6 100644 --- a/src/plugins/pddl-planner/pddl-planner_thread.cpp +++ b/src/plugins/pddl-planner/pddl-planner_thread.cpp @@ -134,6 +134,8 @@ PddlPlannerThread::ff_planner() //Parse Result and write it into the robot memory logger->log_info(name(), "Parsing result"); + action_list_.clear(); + size_t cur_pos = 0; if(result.find("found legal plan as follows", cur_pos) == std::string::npos) { logger->log_error(name(), "Planning Failed: %s", result.c_str()); @@ -144,7 +146,6 @@ PddlPlannerThread::ff_planner() result.erase(result.find("time spent:", cur_pos)); cur_pos = result.find("step", cur_pos) + 4; - action_list_.clear(); while(result.find(": ", cur_pos) != std::string::npos) { cur_pos = result.find(": ", cur_pos) + 2; size_t line_end = result.find("\n", cur_pos); -- Fawkes Robotics Framework http://www.fawkesrobotics.org _______________________________________________ fawkes-commits mailing list fawkes-commits@lists.kbsg.rwth-aachen.de https://lists.kbsg.rwth-aachen.de/listinfo/fawkes-commits