Replies: 1 comment 11 replies
-
|
It's a good point. The original information for this came from the mechanism of Safety-Gym for observation space, while it sets all ranges to [-inf, inf]. We thought it is not appropriate and then fixed it in our implementation. Thanks for your reminder. We will correct the documentation. After we correct the information, the reason why the observation information from the code is different from that in the documentation is that each environment consists of three main elements: print(env.obs_space_dict)
# Dict('accelerometer': Box(-inf, inf, (3,), float64),
# 'velocimeter': Box(-inf, inf, (3,), float64),
# 'gyro': Box(-inf, inf, (3,), float64),
# 'magnetometer': Box(-inf, inf, (3,), float64),
# 'circle_lidar': Box(0.0, 1.0, (16,), float64)) |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
https://github.com/OmniSafeAI/safety-gymnasium/blob/main/docs/components_of_environments/agents/ant.rst
From the page, I was able to know what state variables and ranges are there for each agent.
However, I noticed that the number of the observation space is not the same as the one that I actually printed with my code.
(See below.)
Where can I find the correct information about what each element of the observation state vector corresponds to?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions