-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The /normal command does not reset constraint states #70
Labels
Comments
Steps to reproduce:
|
Steps to investigate using the dual REPL:
boot.user> (in-ns 'planviz.server)
#namespace[planviz.server]
planviz.server> (visualize {:verbose 2 :log-level :warn
:input ["isr-htn.main.htn.json" "isr-htn.main.tpn.json"]})
17-Jun-29 09:06:44.193 cerise WARN [planviz.server:288] -
PLANVIZ server ready
nil
planviz.server>
planviz.actions> (remove-fn (dissoc (st/plans-get-edge :isr-htn.main.tpn:tc-8) :plans/ui-opts))
{:edge/type :temporal-constraint,
:edge/value [20 30],
:edge/state :failed,
:edge/from
{:plan/plid :isr-htn.main.tpn,
:node/id :node-10,
:node/x 25,
:node/y 300},
:edge/id :tc-8,
:plan/plid :isr-htn.main.tpn,
:edge/hidden false,
:edge/weight 0,
:edge/to
{:plan/plid :isr-htn.main.tpn,
:node/id :node-15,
:node/x 123,
:node/y 300}}
planviz.actions> (:edge/state (st/plans-get-edge :isr-htn.main.tpn:tc-8))
:failed
planviz.actions>
planviz.actions>(st/plans-merge-edge {:plan/plid :isr-htn.main.tpn, :edge/id :tc-8, :edge/state :normal})
nil
planviz.actions>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A network reset (as dispatched) will reset constraint states, but not issuing the /normal command.
The text was updated successfully, but these errors were encountered: