From 660cc7b17ccc2745b3f0453083405adecac03e7a Mon Sep 17 00:00:00 2001 From: Manolis Savva Date: Sat, 13 Jan 2018 22:36:45 -0800 Subject: [PATCH] add agent_state info to observations --- client/js/lib/sim/Simulator.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/js/lib/sim/Simulator.js b/client/js/lib/sim/Simulator.js index 39fd94e..0eca23b 100644 --- a/client/js/lib/sim/Simulator.js +++ b/client/js/lib/sim/Simulator.js @@ -556,13 +556,13 @@ Simulator.prototype.getObservations = function (callback) { }) }, roomInfo: roomInfo - }//, + }, //reward: 1.0, //done: false//, - // info: { - // agent_state: this.getAgent().getState(), - // goal: this.state.getSerializableGoals() - // } + info: { + agent_state: this.getAgent().getState()//, + //goal: this.state.getSerializableGoals() + } }; if (this.state.navscene) {