|
Here, I'll walk you through the java source code, responsible for starting the [ESP32 Controller](What-am-I-looking-at-here#esp32-controller). Additional startup procedures are explained in the documentation for the `start_component.sh` and the `run_demo.sh` scripts.
|
|
Here, I'll walk you through the java source code, responsible for starting the [ESP32 Controller](What-am-I-looking-at-here#esp32-controller). Additional startup procedures are explained in the documentation for the [`start_component.sh`](implementation/start_component.sh) and the [`run_demo.sh`](implementation/run_demo.sh) scripts.
|
|
|
|
|
|
The discussed file can be found [here](https://gitlab.hrz.tu-chemnitz.de/vws-demo/vws-spielwiese/-/blob/6d65d24412bda2e555e70a4f9581eb142096bd49/basyx.lichterkette/src/main/java/de/olipar/basyx/lichterkette/ProprietaryLightstrand.java).
|
|
The discussed file can be found [here](https://gitlab.hrz.tu-chemnitz.de/vws-demo/vws-spielwiese/-/blob/64e67bdaae14ef6945ab3e73b5a9c70c9c1ced67/basyx.lichterkette/src/main/java/de/olipar/basyx/lichterkette/ProprietaryLightstrand.java).
|
|
|
|
|
|
We'll skip the license headers, imports and comments, as they are either pretty much self explanatory or not the product of conscious development effort.
|
|
We'll skip the license headers, imports and comments, as they are either pretty much self explanatory or not the product of conscious development effort.
|
|
This class uses the [Eclipse Paho MQTT Client](https://www.eclipse.org/paho/index.php?page=clients/java/index.php).
|
|
This class uses the [Eclipse Paho MQTT Client](https://www.eclipse.org/paho/index.php?page=clients/java/index.php).
|
|
|
|
|
|
This has quite a bit of overlap with the startup of [ordinary lights](Light-host-walkthrough). The first method `getLightAmount` is infact the same one, so please check out the documentation for ordinary lights for this method.
|
|
This has quite a bit of overlap with the startup of [ordinary lights](implementation/Light-host-walkthrough). The first method `getLightAmount` is infact the same one, so please check out the documentation for ordinary lights for this method.
|
|
|
|
|
|
```java
|
|
```java
|
|
public static void main(String[] args) {
|
|
public static void main(String[] args) {
|
... | | ... | |