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, thofmann/clips-executive-resources has been updated to 864e60c4eebc0a89d4cba85b9bbd5bfc4b94deb6 (commit) from 6d06273402bbf9d29e54ccc6162fe5995a7f877e (commit) http://git.fawkesrobotics.org/fawkes.git/thofmann/clips-executive-resources 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 864e60c4eebc0a89d4cba85b9bbd5bfc4b94deb6 Author: Till Hofmann <hofm...@kbsg.rwth-aachen.de> AuthorDate: Wed Jun 6 18:50:07 2018 +0200 Commit: Till Hofmann <hofm...@kbsg.rwth-aachen.de> CommitDate: Wed Jun 6 18:50:07 2018 +0200 clips-executive: on wm update, only delete domain objs of the same type If an object is removed from the worldmodel (by removing it of the list of objects of that type), only delete those domain objects that have the correct type. This fixes a bug that would delete all domain objects of a different type if one object is removed from the worldmodel. http://git.fawkesrobotics.org/fawkes.git/commit/864e60c http://trac.fawkesrobotics.org/changeset/864e60c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *Summary* ----------------------------------------------------------- .../clips-executive/clips/wm-domain-sync.clp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) - *Diffs* ------------------------------------------------------------- - *commit* 864e60c4eebc0a89d4cba85b9bbd5bfc4b94deb6 - - - - - - - - - - Author: Till Hofmann <hofm...@kbsg.rwth-aachen.de> Date: Wed Jun 6 18:50:07 2018 +0200 Subject: clips-executive: on wm update, only delete domain objs of the same type .../clips-executive/clips/wm-domain-sync.clp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) _Diff for modified files_: diff --git a/src/plugins/clips-executive/clips/wm-domain-sync.clp b/src/plugins/clips-executive/clips/wm-domain-sync.clp index 116b4a7..751dc60 100644 --- a/src/plugins/clips-executive/clips/wm-domain-sync.clp +++ b/src/plugins/clips-executive/clips/wm-domain-sync.clp @@ -510,7 +510,8 @@ ?wf <- (wm-fact (id ?id) (type SYMBOL) (is-list TRUE) (values $?objs&~:(member$ ?name ?objs))) (test (> (fact-index ?wf) ?wf-idx)) => - (delayed-do-for-all-facts ((?df domain-object)) (not (member$ ?df:name ?objs)) + (delayed-do-for-all-facts ((?df domain-object)) + (and (eq ?df:type ?type) (not (member$ ?df:name ?objs))) (retract ?df) ) (modify ?wm (wm-fact-idx (fact-index ?wf))) -- 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