Skip to content

Commit

Permalink
add agent_state info to observations
Browse files Browse the repository at this point in the history
  • Loading branch information
msavva committed Jan 14, 2018
1 parent 2da335d commit 660cc7b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions client/js/lib/sim/Simulator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 660cc7b

Please sign in to comment.