le-liang / MARLspectrumSharingV2X

Spectrum sharing in vehicular networks based on multi-agent reinforcement learning, IEEE Journal on Selected Areas in Communications
226 stars 93 forks source link

关于环境中车道模型的问题 #4

Closed rain1001 closed 3 years ago

rain1001 commented 4 years ago

梁老师,您好,看到您文章中的车道模型是基于36.885 R14的,但我不太理解为什么要再除以2,即i/2.0width = 750/2 height = 1298/2想请教您一下,非常感谢!

up_lanes = [i/2.0 for i in [3.5/2,3.5/2 + 3.5,250+3.5/2, 250+3.5+3.5/2, 500+3.5/2, 500+3.5+3.5/2]]
down_lanes = [i/2.0 for i in [250-3.5-3.5/2,250-3.5/2,500-3.5-3.5/2,500-3.5/2,750-3.5-3.5/2,750-3.5/2]]
left_lanes = [i/2.0 for i in [3.5/2,3.5/2 + 3.5,433+3.5/2, 433+3.5+3.5/2, 866+3.5/2, 866+3.5+3.5/2]]
right_lanes = [i/2.0 for i in [433-3.5-3.5/2,433-3.5/2,866-3.5-3.5/2,866-3.5/2,1299-3.5-3.5/2,1299-3.5/2]]

width = 750/2
height = 1298/2
le-liang commented 4 years ago

Hi 你好,

我们只生成了4辆车,因而刻意将仿真环境缩小了一点,以使车车距离不至于太远, pathloss不会太大。

祝好, 梁乐

-- Dr. Le Liang Research Scientist Intel Labs

On Mon, Mar 30, 2020 at 5:49 AM rain1001 notifications@github.com wrote:

梁老师,您好,看到您文章中的车道模型是基于36.885 R14的,但我不太理解为什么要再除以2,想请教您一下,非常感谢!

up_lanes = [i/2.0 for i in [3.5/2,3.5/2 + 3.5,250+3.5/2, 250+3.5+3.5/2, 500+3.5/2, 500+3.5+3.5/2]]

down_lanes = [i/2.0 for i in [250-3.5-3.5/2,250-3.5/2,500-3.5-3.5/2,500-3.5/2,750-3.5-3.5/2,750-3.5/2]]

left_lanes = [i/2.0 for i in [3.5/2,3.5/2 + 3.5,433+3.5/2, 433+3.5+3.5/2, 866+3.5/2, 866+3.5+3.5/2]]

right_lanes = [i/2.0 for i in [433-3.5-3.5/2,433-3.5/2,866-3.5-3.5/2,866-3.5/2,1299-3.5-3.5/2,1299-3.5/2]]

width = 750/2

height = 1298/2

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/le-liang/MARLspectrumSharingV2X/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVFRY7MHKSV63SWOTEQXFDRKCINZANCNFSM4LWR2SOA .

rain1001 commented 4 years ago

我明白了,谢谢梁老师!