Open mattmazzola opened 2 months ago
The issue seems to be for geodesic
reward_types
_get_geodesic_potential
get_shortest_path_to_goal
env.scene.get_shortest_path(self._floor, start_xy_pos, self._goal_pos[:2], entire_path=entire_path, robot=env.robots[self._robot_idn])
When attempting to run the Reinforcement Learning demo described in the docs here: https://behavior.stanford.edu/omnigibson/getting_started/examples.html#reinforcement-learning-demo
Exception
Source
https://github.com/StanfordVL/OmniGibson/blob/cc0316a0574018a3cb2956fcbff3be75c07cdf0f/omnigibson/reward_functions/potential_reward.py#L44-L45
From what I can tell
self._potential_fcn
is set toomnigibson\tasks\point_navigation_task.py
so there is likely some condition of the environment which causes it to return Nonehttps://github.com/StanfordVL/OmniGibson/blob/cc0316a0574018a3cb2956fcbff3be75c07cdf0f/omnigibson/tasks/point_navigation_task.py#L281-L298
Full Stack Trace