huawei-noah / SMARTS

Scalable Multi-Agent RL Training School for Autonomous Driving

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Help Request] Can not find lane_position from observations

JiyuanTHU opened this issue · comments

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.

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

#2143 fixes this.