-
Notifications
You must be signed in to change notification settings - Fork 72
Description
Hello there, I'm trying to create custom scenario with custom scene made in Roadrunner. The scene is displayed below.

And main problem is - no matter how I change parameters or lane configs - vehicles always drive on the same lane, as shown on the picture.
The road configuration is: road 0 starts at top left side and road 1 starts right about the turn at the bottom. So what i did recently is changed lane configs for left and right lane, so road ids are [0,1] and [1,0] for left_lane and right_lane respectively. That help me to spawn vehicles on different ends of the road(s). However, no matter how i chnge lane_corridor_id, or source and sink position, vehicles refused to spawn correctly. The code I used for lane confiigs is displayed below. I was trying to comment something and change numbers here, however, as I said, it didn't lead to any progress. Hope You can help me understand, what's going on!
left_lane = LaneCorridorConfig(params=param_server, source_pos=[1, 48], sink_pos=[1, 2], road_ids=[0,1], lane_corridor_id=1, behavior_model=BehaviorIDMClassic(param_server), min_vel=5., max_vel=5., ds_min=8., ds_max=10., s_min=15., s_max=35.) right_lane = LaneCorridorConfig(params=param_server, #source_pos=[30,-3], #sink_pos=[1, -3], road_ids=[1,0], lane_corridor_id=-1, behavior_model=BehaviorIDMClassic(param_server), controlled_ids=True, max_vel=5., ds_min=8., ds_max=10., s_min=15., s_max=35.)
