cjy1992 / gym-carla

An OpenAI gym wrapper for CARLA simulator
MIT License
531 stars 111 forks source link

can the gym-carla env be used to Ubuntu 18.04 and Carla0.9.9? #10

Open zengsh-cqupt opened 4 years ago

zengsh-cqupt commented 4 years ago

Hello, can the gym-carla env be used to Ubuntu 18.04 and Carla0.9.9? Because many new functions of CARLA have released and uodated. Thanks

cjy1992 commented 4 years ago

Hi, I think it should work for ubuntu 18.04, but I haven't checked about that. Currently it's only compatible with Carla0.9.6, we will upgrade it to work with the newest version Carla simulator in the near future.

xzxzxzxz commented 4 years ago

I confirm the package works for ubuntu 18.04. Best, Zhuo

On Tue, Jun 23, 2020 at 7:59 PM Jianyu Chen notifications@github.com wrote:

Hi, I think it should work for ubuntu 18.04, but I haven't checked about that. Currently it's only compatible with Carla0.9.6, we will upgrade it to work with the newest version Carla simulator in the near future.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cjy1992/gym-carla/issues/10#issuecomment-648552600, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGBOOP4TEBPLJ6EFC7VIZPLRYFTZ7ANCNFSM4OE262DQ .

zengsh-cqupt commented 4 years ago

Hi, I think it should work for ubuntu 18.04, but I haven't checked about that. Currently it's only compatible with Carla0.9.6, we will upgrade it to work with the newest version Carla simulator in the near future.

Thanks

zengsh-cqupt commented 4 years ago

I confirm the package works for ubuntu 18.04. Best, Zhuo On Tue, Jun 23, 2020 at 7:59 PM Jianyu Chen @.***> wrote: Hi, I think it should work for ubuntu 18.04, but I haven't checked about that. Currently it's only compatible with Carla0.9.6, we will upgrade it to work with the newest version Carla simulator in the near future. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#10 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGBOOP4TEBPLJ6EFC7VIZPLRYFTZ7ANCNFSM4OE262DQ .

Thanks

bionicles commented 4 years ago

how would the 0.9.9 version be different from the current code?

cjy1992 commented 4 years ago

I haven't checked about that yet, but there are some changes for the carla API, and thus the related code here should be modified.

yasser-h-khalil commented 3 years ago

Have anyone tried using the current code for newer CARLA version?

zengsh-cqupt commented 3 years ago

Sorry,I haven't tried the newer CARLA version.

------------------ 原始邮件 ------------------ 发件人: "cjy1992/gym-carla" <notifications@github.com>; 发送时间: 2020年10月15日(星期四) 凌晨4:59 收件人: "cjy1992/gym-carla"<gym-carla@noreply.github.com>; 抄送: "suhua_zeng"<274009626@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [cjy1992/gym-carla] can the gym-carla env be used to Ubuntu 18.04 and Carla0.9.9? (#10)

Have anyone tried using the current code for newer CARLA version?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

mbelalsh commented 3 years ago

The package is not compatible with Carla 0.9.11. I am having this issue: AttributeError: 'LidarDetection' object has no attribute 'x' I will install 0.9.6 now

DianweiCHEN commented 2 years ago

The package is not compatible with Carla 0.9.11. I am having this issue: AttributeError: 'LidarDetection' object has no attribute 'x' I will install 0.9.6 now

Hi, @mbelalsh Did you finally use the 0.9.6 edition to solve the problem or just change some carla API to make the code can run in the 0.9.11, Because I am using 0.9.10 and faced the same problem. Thanks~

miRemid commented 2 years ago

same problem

miRemid commented 2 years ago

modify the gym_carla/envs/carla_env.py line 496

point_cloud.append([location.x, location.y, -location.z])

to

point_cloud.append([location.point.x, location.point.y, -location.point.z])

carla version: 0.9.11(docker)