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
Copy file name to clipboardexpand all lines: README.md
+6-11
Original file line number
Diff line number
Diff line change
@@ -123,21 +123,16 @@ Example for **LineFollowerSim** application:
123
123
2. Now the keyboard keys a, b and c can be used to control the robot according to the implemented application logic.
124
124
125
125
## Communicate with the DroidControlShip
126
-
For the communication with the DroidControlShip a socket server needs to be enabled, which is disabled by default.
126
+
The communication with the DroidControlShip goes via a Webots serial connection, which is disabled by default.
127
127
128
-
Use the -s flag to enable it with default port 65432. Note, this will disable the standard logging, because the serial communication will automatically be routed over the socket. The SerialMuxProt protocol is used to exchange data in both directions.
128
+
Use the -c flag to enable it with default channels (see _webots_robot_serial_rx_channel_ and _webots_robot_serial_tx_channel_ in [platformio.ini](./platformio.ini)). Note, this will disable the standard logging, because the serial communication uses the SerialMuxProt procotol for data interchange.
129
129
```bash
130
-
$ program.exe -s
130
+
$ program.exe -c
131
131
```
132
132
133
-
The port can be changed via command line parameters, please use -? to get more details.
134
-
```bash
135
-
$ program.exe -?
136
-
```
137
-
138
-
For simplicity a Platformio project task was added, which start the socket server as well.
133
+
For simplicity a Platformio project task was added, which enables the Webots serial connection as well.
@@ -159,7 +154,7 @@ Example for the **LineFollowerTarget** application:
159
154
| Calib | Application used for motor speed calibration. | Yes | No | ./webots/worlds/LargeTrack.wbt ./webots/worlds/LineFollowerTrack.wbt |
160
155
| ConvoyLeader | A line follower, providing information to the [DroidControlShip](https://github.com/BlueAndi/DroidControlShip) in a convoy leader role. | No | Yes | ./webots/worlds/GridWithMarkers.wbt ./webots/worlds/HeadingCalculation.wbt |
161
156
| LineFollower | Just a line follower, using a PID controller. | Yes | No | ./webots/worlds/ETrack.wbt ./webots/worlds/LargeTrack.wbt ./webots/worlds/LineFollowerTrack.wbt |
162
-
| RemoteControl | The robot is remote controlled by e.g. the [DroidControlShip](https://github.com/BlueAndi/DroidControlShip) in a convoy follower role. | No | Yes |Any|
157
+
| RemoteControl | The robot is remote controlled by e.g. the [DroidControlShip](https://github.com/BlueAndi/DroidControlShip) in a convoy follower role. | No | Yes |./webots/world/zumo_with_com_system/*|
163
158
| SensorFusion | The robot provides odometry and inertial data to the [DroidControlShip](https://github.com/BlueAndi/DroidControlShip), which calculates the sensor fusion based location information. | No | Yes | ./webots/worlds/SensorFustion.wbt |
164
159
| Test | Only for testing purposes on native environment. | Yes | No | N/A |
0 commit comments