You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7c6e8a5
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -64,7 +69,7 @@ The simulation is based on the open source robot simulator *Webots*. The applica
64
69
65
70
### How to start?
66
71
67
-
After you built the application, you will find in in ```.pio/build/<APPLICATION-NAME>/program.exe```. It provides several command line arguments to configure certain features. Use -h or --help to get a short user friendly overview about them.
72
+
After you built the application, you will find it in ```.pio/build/<APPLICATION-NAME>/program[.exe]```. It provides several command line arguments to configure certain features. Use -h or --help to get a short user friendly overview about them.
68
73
69
74
The applications are using a configuration file in JSON format to retrieve certain settings. In the very first run, such a configuration file will be automatically be created. If there exists already one, it will be loaded without modifications (regardless of any other program arguments).
In order to simplify this process, the [Launcher](https://github.com/gabryelreyes/Launcher) project is under active development.
80
85
86
+
### Run
87
+
88
+
There are 3 ways how to run now the application. Choose according to your needs.
89
+
90
+
#### Run with Webots launcher (recommended)
91
+
92
+
The Webots launcher is recommended to connect to the simulation.
93
+
94
+
It is mandatory if the simulation contains more than one robot. The robot is identified by its name. Adapt the robot name in the [platformio_override.ini](./platformio_override.ini), see *webots_robot_name*.
95
+
96
+
The Webots documentation has more details about [Single Simulation and Multiple Local Extern Robot Controllers](https://cyberbotics.com/doc/guide/running-extern-robot-controllers?tab-os=windows#single-simulation-and-multiple-local-extern-robot-controllers).
97
+
98
+
It is mandatory too if the simulation does not run locally (e.g. Webots runs on windows host and RadonUlzer in WSL).
99
+
Set the IP address and the port in [platformio_override.ini](./platformio_override.ini), see *webots_ip_address* and *webots_protocol*.
100
+
101
+
Use *ipc* as *webots_protocol* for local connections and *tcp* for remote connections.
This can be chosen in case the simulation waits just for one robot.
114
+
115
+
PlatformIO project tasks --> <APP-NAME> --> General --> Upload
116
+
117
+
#### Run via terminal
118
+
119
+
1. Open a command line (shell) and change to the folder with the built executable in ```.pio/build/<APPLICATION-NAME>```. This folder contains all necessary shared libraries as well.
120
+
2. Start the ```program[.exe]``` executable.
121
+
81
122
## The target
82
123
83
124
The main target of the firmware is the [ZumoComSystem](https://github.com/NewTec-GmbH/ZumoComSystem) from NewTec GmbH, which is a shield for the [Pololu 32U4 Zumo](https://www.pololu.com/product/2510) robot.
@@ -88,7 +129,7 @@ Together with [Radon Ulzer](https://github.com/BlueAndi/RadonUlzer) it can be ru
88
129
89
130
### Installation for target
90
131
91
-
1. Make sure that the hardware version of your [ZumoComSystem](https://github.com/NewTec-GmbH/ZumoComSystem) is supported. Currently, only v1.1 and v1.2are supported.
132
+
1. Make sure that the hardware version of your [ZumoComSystem](https://github.com/NewTec-GmbH/ZumoComSystem) is supported. Currently, v1 (v1.1 and v1.2), v2 and [v3](https://github.com/NewTec-GmbH/ZumoComSystemHW)are supported. Select the hardware version in the ```[target:esp32]``` section of ```platformio.ini```.
92
133
2. Install the [drivers](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads) for the CP2102 USB-UART converter if required. The "CP210x Universal Windows Driver" is recommended, as it enables the automatic bootloader mode.
93
134
94
135
### Build and flash procedure
@@ -104,15 +145,16 @@ In a similar way, not providing a WiFi configuration will force the target into
0 commit comments