diff --git a/README.md b/README.md index 989fd64..877fe78 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Build the docker image -'''bash +```bash docker build -t exwayz_test:v1.0 -f exwayz_test.dockerfile . -''' +``` ## TODO Building with docker secrets We need to improve our handling of secrets and figure out a safer way to include them in the docker file/image @@ -12,24 +12,23 @@ We need to improve our handling of secrets and figure out a safer way to include 2. Share the volume with our current code so we can access it in the container 3. start a shell -'''bash +```bash docker run -it \ --env="DISPLAY=$DISPLAY" \ --env="QT_X11_NO_MITSHM=1" \ --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \ -v "$(pwd):/app" \ exwayz_test -''' +``` Then, run the exways slam on a bag to test everything is workign correctly. -'''bash + +```bash exwayz_slam --bag data/exwayz_sample_data_slam_01.bag --bag-hesai /hesai/pandar_packets --hesai-model PandarXT-32 --d-write 0.1 -o ./slam_session_tutorial --no-date -''' +``` + Naturally, change the path to the bagfile for the parameter '--bag' Hopefully, you will see something like this: ![Working Exwayz Demo¨¨](media/Exwayz_slam_demo_working.gif) - -# may have to: -source /opt/ros/$ROS_DISTRO/setup.bash \ No newline at end of file