carlanet / pycarlanet

MIT License
1 stars 1 forks source link

server host hardcoded to 'marine' should be 'localhost' and port 2000, #1

Open chris-redfield opened 1 month ago

chris-redfield commented 1 month ago

Hi ! This project seems inactive for a while, but I just want to give a small contribution as I'm trying to reuse pycarlanet for my research, I had two problems trying to run the sample code:

  1. host and port different than a default value are set in here: https://github.com/carlanet/pycarlanet/blob/main/example/car_light_control/main.py#L211 I suggest changing it to 'localhost' and port '2000' as 2000 is the default port when running carla
  2. also, WORLD01 does not exist at carla 0.9.13 linux instalation, I figured it would be TOWN01 as I saw that at the hd maps folder

After I made these 2 changes, I was able to run the car light control sample

Thanks! edit: Great code by the way, I've been able to do small traffic monitoring experiments with data collected from agents heavy-traffic

christianquadri commented 1 month ago

Thank you for your message. We have just started a long process of revising and refactoring both carlanet components and we are going to fix hardcoded strings.

Thanks