Shuijing725 / CrowdNav_DSRNN

[ICRA 2021] Decentralized Structural-RNN for Robot Crowd Navigation with Deep Reinforcement Learning
https://sites.google.com/illinois.edu/crowdnav-dsrnn/home
MIT License
95 stars 23 forks source link

evaluation.py #7

Closed evantancy closed 3 years ago

evantancy commented 3 years ago

Hi I was just wondering in evaluation.py, should it be obs['robot_node'][0, 0, 0:2] instead of obs['robot_node'][0, 0, 1:3] to get x,y position?
Based off line 49 in crowd_sim_dict.py: ob['robot_node'] = self.robot.get_full_state_list_noV()

Also is chc the total change in heading for an episode?

PeixinC commented 3 years ago

Yes. Thanks for pointing it out. I have fixed the issue and updated the code.

Shuijing725 commented 3 years ago

Yes, chc is the cumulative heading change of the robot in each episode.