From ab4705c5417c6886e4e7bb010faecbd45d81742a Mon Sep 17 00:00:00 2001 From: Minjun Xu Date: Sat, 26 Sep 2020 22:21:45 +0800 Subject: [PATCH] update CarlaViz doc --- Docs/plugins_carlaviz.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Docs/plugins_carlaviz.md b/Docs/plugins_carlaviz.md index 4c2479f68..e5975a5ad 100644 --- a/Docs/plugins_carlaviz.md +++ b/Docs/plugins_carlaviz.md @@ -17,8 +17,8 @@ The carlaviz plugin is used to visualize the simulation in a web browser. A wind ### Support -* __Linux__ — CARLA 0.9.6, 0.9.7, 0.9.8, 0.9.9. -* __Windows__ — CARLA 0.9.9. +* __Linux__ — CARLA 0.9.6, 0.9.7, 0.9.8, 0.9.9, 0.9.10. +* __Windows__ — CARLA 0.9.9, 0.9.10. * __Build from source__ — Latest updates. --- @@ -40,13 +40,14 @@ docker pull mjxu96/carlaviz:0.9.6 docker pull mjxu96/carlaviz:0.9.7 docker pull mjxu96/carlaviz:0.9.8 docker pull mjxu96/carlaviz:0.9.9 +docker pull mjxu96/carlaviz:0.9.10 # Pull this image if working on a CARLA build from source -docker pull carlasim/carlaviz:latest +docker pull mjxu96/carlaviz:latest ``` !!! Important - Currently in Windows there is only support for 0.9.9. + Currently in Windows there is only support for 0.9.9 and 0.9.10. CARLA up to 0.9.9 (included) is set to be single-stream. For later versions, multi-streaming for sensors is implemented. @@ -68,10 +69,14 @@ __1. Run CARLA.__ __2. Run carlaviz.__ In another terminal run the following command according to the Docker image that has been downloaded. -Change `` for the name of the image previously downloaded, e.g. `carlasim/carlaviz:latest` or `mjxu96/carlaviz:0.9.9`. +Change `` for the name of the image previously downloaded, e.g. `mjxu96/carlaviz:latest` or `mjxu96/carlaviz:0.9.10`. ```sh +# On Linux system docker run -it --network="host" -e CARLAVIZ_HOST_IP=localhost -e CARLA_SERVER_IP=localhost -e CARLA_SERVER_PORT=2000 + +# On Windows/MacOS system +docker run -it -e CARLAVIZ_HOST_IP=localhost -e CARLA_SERVER_IP=host.docker.internal -e CARLA_SERVER_PORT=2000 -p 8080-8081:8080-8081 -p 8089:8089 ``` If the everything has been properly set, carlaviz will show a successful message similar to the following.