Closed behradkhadem closed 1 year ago
Found the issue. I should've put env.set_spaces()
at the end like this:
sensor = FullSensor(['position'], ['position', 'size'], variance=0.0)
env.add_sensor(sensor, [0])
env.add_obstacle(movable_obstacle)
env.set_spaces()
ob, *_ = env.reset()
print(f"Initial observation : {ob}")
For the code below, because of the obstacle that I've added I get an error inside the
check_observation
method inside UrdfEnv file.Error is not clear enough. It just says
obstacles
but when I clear thecheck_observation
method and replace it withpass
things work fine. Is there something that I do wrong or there is an issue with the package?