Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help Request] Can not find lane_position from observations #2142

Closed
JiyuanTHU opened this issue Feb 28, 2024 · 2 comments · Fixed by #2143
Closed

[Help Request] Can not find lane_position from observations #2142

JiyuanTHU opened this issue Feb 28, 2024 · 2 comments · Fixed by #2143
Labels
help wanted Extra attention is needed

Comments

@JiyuanTHU
Copy link

High Level Description

I want to use the lane_position information for RL training. But, even if I have set the lane_position=True, explicitly, I still not get the lane_postion from the env output variables.

Version

1.4.0

Operating System

ubuntu20.04

Problems

image
I want to use the lane_position information for RL training. But, even if I have set the lane_position=True, explicitly, I still not get the lane_postion from the env output variables.

@JiyuanTHU JiyuanTHU added the help wanted Extra attention is needed label Feb 28, 2024
@Gamenot
Copy link
Collaborator

Gamenot commented Feb 28, 2024

Hello @JiyuanTHU, apologies for this oversight, the formatted observations do not yet contain lane position. You can still still currently get that information from the unformatted observations that are included in info:

info[AGENT_ID].env_obs.ego_vehicle_state.lane_position

@Gamenot
Copy link
Collaborator

Gamenot commented Feb 28, 2024

#2143 fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants