From 0966b3fee67a7c7080b3c90e6ce437c88f9e39a1 Mon Sep 17 00:00:00 2001 From: nsubiron Date: Tue, 7 Nov 2017 14:46:06 +0100 Subject: [PATCH] Fix client documentation --- Docs/release_readme.md | 11 +++++------ PythonClient/carla_example.py | 0 PythonClient/carla_manual_control.py | 0 3 files changed, 5 insertions(+), 6 deletions(-) mode change 100644 => 100755 PythonClient/carla_example.py mode change 100644 => 100755 PythonClient/carla_manual_control.py diff --git a/Docs/release_readme.md b/Docs/release_readme.md index b1aa2e427..63750d597 100644 --- a/Docs/release_readme.md +++ b/Docs/release_readme.md @@ -9,11 +9,10 @@ Linux. Running the Python client ------------------------- -Requires Python 3 and the protobuf module installed, saving images to disk -requires the PIL module too. +Requires Python 3 with some extra modules installed $ sudo apt-get install python3 python3-pip - $ sudo pip3 install protobuf + $ sudo pip3 install protobuf numpy Pillow A sample Python script is provided at `PythonClient/client_example.py`. The script is well commented explaining how to use the client API. @@ -21,14 +20,14 @@ script is well commented explaining how to use the client API. The script can be run and provides basic functionality for controlling the vehicle and saving images to disk. Run the help command to see options available - $ ./client_example.py --help + $ ./carla_example.py --help -A second Python script is provided at `PythonClient/client_manual_control.py`. +A second Python script is provided at `PythonClient/carla_manual_control.py`. The script is pygame dependent and servers as an interactive example where the user controls the car with a keyboard Run the help command to see options available - $ ./client_manual_control.py --help + $ ./carla_manual_control.py --help Running the server ------------------ diff --git a/PythonClient/carla_example.py b/PythonClient/carla_example.py old mode 100644 new mode 100755 diff --git a/PythonClient/carla_manual_control.py b/PythonClient/carla_manual_control.py old mode 100644 new mode 100755