Azzera filtri
Azzera filtri

Warum findet Roadrunner die laufende Simulation nicht? WARNING: Unable to locate a simulator for actor behavior '{eacc1318​-e64e-4183​-8790-9a13​b128b6e2}'

4 visualizzazioni (ultimi 30 giorni)
Deutsch:
Hallo zusammen,
beim Versuch eine Cosimulation zwischen RoadRunner R2023a Update 2 und Carla unter Ubuntu 18.04 LTS aufzubauen, bekomme ich eine Warnung:
WARNING: Unable to locate a simulator for actor behavior '{eacc1318-e64e-4183-8790-9a13b128b6e2}', applying RoadRunner default behavior to this actor.
Invalid actor behavior:
- Behavior asset: Assets/Vehicles/Behavior/CARLA Bahavior.rrbehavior
- Platform type: External
- Platform name: CARLA
The following simulation clients are active:
- {7945cc99-3821-42e1-9c36-991531d8a974}: RoadRunner
Try updating the MATLAB and CARLA paths in /home/carlaserver2/.local/share/MathWorks/RoadRunner/R2023a/Scenario/Config/SimulationConfiguration.xml
Dabei bin ich nach der Dokumentation unter folgender Adresse vorgegangen: Set Up CARLA on Linux Ubuntu
Dementsprechend habe ich in der SimulationConfiguration.xml unter der Platforms-Sektion folgendes hinzugefügt:
<Platform name="CARLA">
<ExecutablePath>~/carla/Util/BuildTools/BuildCarlaUE4.sh --launch</ExecutablePath>
<StartTimeOut>60000</StartTimeOut>
</Platform>
Dies entspricht zwar nicht der Vorgabe aus der Dokumentation, welche "/Downloads/CarlaInstall/CarlaUE4.sh" vorgibt, würde aber meiner Meinung nach das nähste Äquivalent darstellen, da die Datei CarlaUE4.sh nicht existiert.
Was kann man hier tun, damit die Cosimulation starten kann? Der eingegebene Pfad lässt sich so per Terminal aufrufen.
Vielen Dank.
English:
Hi there.
I'm trying to run a cosimulation between RoadRunner 2023a Update 2 and Carla on a Ubuntu 18.04 LTS machine. Unfortunately I'm getting a warning like this:
WARNING: Unable to locate a simulator for actor behavior '{eacc1318-e64e-4183-8790-9a13b128b6e2}', applying RoadRunner default behavior to this actor.
Invalid actor behavior:
- Behavior asset: Assets/Vehicles/Behavior/CARLA Bahavior.rrbehavior
- Platform type: External
- Platform name: CARLA
The following simulation clients are active:
- {7945cc99-3821-42e1-9c36-991531d8a974}: RoadRunner
Try updating the MATLAB and CARLA paths in /home/carlaserver2/.local/share/MathWorks/RoadRunner/R2023a/Scenario/Config/SimulationConfiguration.xml
I followed the instructions noted in the official documentation located here: Set Up CARLA on Linux Ubuntu
Therefore I added the following into the SimulationConfiguration.xml file accordingly:
<Platform name="CARLA">
<ExecutablePath>~/carla/Util/BuildTools/BuildCarlaUE4.sh --launch</ExecutablePath>
<StartTimeOut>60000</StartTimeOut>
</Platform>
It's not quite the same as in the documentation, since "CarlaUE4.sh" is not available in that folder but the closest thing I would consider appropriate. Unfortunately it doesn't work.
What could I do to make RoadRunner find a simulation to connect to?

Risposta accettata

Simone
Simone il 6 Giu 2023
Hallo,
es sieht so aus, als ob die CARLA Installation noch nicht korrekt ist. Die Datei CarlaUE4.sh sollte vorhanden sein.
Bitte überprüfe die Installation (CARLA 0.9.13, built from source) noch einmal.
Viele Grüße,
Simone
  11 Commenti
Simone
Simone il 19 Giu 2023
Um irgendwelche Fehler durch Altlasten zu vermeiden, würde ich das komplette Setup von Scratch ausführen. Wenn es immer noch nicht funktioniert, würde ich dir empfehlen, dich bei unserem Technischen Support zu melden.
Stefan Waelisch
Stefan Waelisch il 20 Giu 2023
Modificato: Stefan Waelisch il 20 Giu 2023
Hallo Simone. Danke für die Hilfe. Ich habe Carla 0.9.13 Build_from_Source jetzt, nach viel gefrickel, komplett neu mit Python 3.7 aufgespielt und auch das package erstellt.
Außerdem habe ich in der ~/.rcbash die Zeile
export CARLA_ROOT="/CarlaInstall/"
nochmal angepasst auf den konkreten Pfad der packaged Variante. Scheinbar bin an der Stelle mit der Doku von carladocs durcheinander gekommen. Denn nun startet auch die CarlaUE4.sh durch einen Start des Scenario's.
Vielen Dank für die Hilfe :-)
Jetzt bin ich einen Schritt weiter.

Accedi per commentare.

Più risposte (1)

Stefan Waelisch
Stefan Waelisch il 26 Giu 2023
Modificato: Stefan Waelisch il 26 Giu 2023
Deutsch:
Hallo nochmal. Das Problem, wo sich die UnrealEngine mit Carla ("CarlaUE4.sh) nicht startet, wurde behoben. So öffnet sich nun beim Start des Scenarios auch das entsprechende Fenster der Carla Anwendung.
Allerdings gibt es nach wie vor eine ähnliche Warnung / Fehlermeldung.
Einmal mit der internen Package-Konfiguration, dass die Standard-Karte "Town10-HD" geladen wird. Dabei entsteht "nur" eine Warnung.
> Started RoadRunner API server on port 35707.
> Started Simulation API server on port 35706.
> Launch CARLA bridge process for simulation (time out = 60000 ms)
>
> -------------------- Simulation STARTED --------------------
> WARNING: Unable to locate a simulator for actor behavior '{eacc1318-e64e-4183-8790-9a13b128b6e2}', applying RoadRunner default behavior to this actor.
Invalid actor behavior:
- Behavior asset: Assets/Vehicles/Behavior/CARLA Bahavior.rrbehavior
- Platform type: External
- Platform name: CARLA
The following simulation clients are active:
- {18853338-4426-4605-beac-6988a9959539}: RoadRunner
Try updating the MATLAB and CARLA paths in /home/carlaserver2/.local/share/MathWorks/RoadRunner/R2023a/Scenario/Config/SimulationConfiguration.xml
> (id: CARLA Bridge ) : CARLA Bridge: Connected to CARLA at localhost:2000.
> Simulation ended: And condition was satisfied.
> -------------------- Simulation ENDED --------------------
>
Aber im CarlaUE4-Fenster läuft nur diese Standard-Karte. Ich hätte erwartet, dass nach dem Start die Karte geladen wird, die ich aus RoadRunner exportiert und in Carla-Build-From-Souce importiert habe, und anschließend die Co-Simulation startet.
Wenn ich das Package mit der internen Konfiguration neu erstelle, dass standardmäßig beim Start der CarlaUE4.sh, während der Laufzeit des RoadRunner-Scenario's, meine custom-Karte geladen wird, gibt RoadRunner in seiner Console die Warnung plus einen Fehler aus.
> Launch CARLA bridge process for simulation (time out = 60000 ms)
>
> -------------------- Simulation STARTED --------------------
> WARNING: Unable to locate a simulator for actor behavior '{eacc1318-e64e-4183-8790-9a13b128b6e2}', applying RoadRunner default behavior to this actor.
Invalid actor behavior:
- Behavior asset: Assets/Vehicles/Behavior/CARLA Bahavior.rrbehavior
- Platform type: External
- Platform name: CARLA
The following simulation clients are active:
- {57040367-6256-43ad-82b4-58d46145d420}: RoadRunner
Try updating the MATLAB and CARLA paths in /home/carlaserver2/.local/share/MathWorks/RoadRunner/R2023a/Scenario/Config/SimulationConfiguration.xml
> ERROR: (id: CARLA Bridge ) : CARLA Bridge: Error connecting to the CARLA server: RuntimeError('failed to generate map')
> ERROR: Error(s) reported by client.
> -------------------- Simulation ENDED (with errors) --------------------
>
Gibt es hier noch eine best-Practice Herangehensweise? Ansonsten wäre ich über einen Link zu dem technischen Support Dankbar, da ich diesen nicht auf Anhieb gefunden habe.
Vielen Dank.
English:
Hi once more. The problem the CarlaUE4.sh not starting while running the scenario in RoadRunner is fixed. The appropriate window opens reliably once the scenario has been started.
Unfortunately a kind of similar warning message is appearing.
There is only a warning if the package is configured internally to start with the standard map "Town10 HD":
> Started RoadRunner API server on port 35707.
> Started Simulation API server on port 35706.
> Launch CARLA bridge process for simulation (time out = 60000 ms)
>
> -------------------- Simulation STARTED --------------------
> WARNING: Unable to locate a simulator for actor behavior '{eacc1318-e64e-4183-8790-9a13b128b6e2}', applying RoadRunner default behavior to this actor.
Invalid actor behavior:
- Behavior asset: Assets/Vehicles/Behavior/CARLA Bahavior.rrbehavior
- Platform type: External
- Platform name: CARLA
The following simulation clients are active:
- {18853338-4426-4605-beac-6988a9959539}: RoadRunner
Try updating the MATLAB and CARLA paths in /home/carlaserver2/.local/share/MathWorks/RoadRunner/R2023a/Scenario/Config/SimulationConfiguration.xml
> (id: CARLA Bridge ) : CARLA Bridge: Connected to CARLA at localhost:2000.
> Simulation ended: And condition was satisfied.
> -------------------- Simulation ENDED --------------------
>
The expactation is that once the simulation has been started, the map which was exported from RoadRunner and imported to Carla-build-from-source-variant would have been loaded once the scenario has been started inside RoadRunner.
The error message differs when the configuation is changed to load the custom map imported to Carla at runtime.
> Launch CARLA bridge process for simulation (time out = 60000 ms)
>
> -------------------- Simulation STARTED --------------------
> WARNING: Unable to locate a simulator for actor behavior '{eacc1318-e64e-4183-8790-9a13b128b6e2}', applying RoadRunner default behavior to this actor.
Invalid actor behavior:
- Behavior asset: Assets/Vehicles/Behavior/CARLA Bahavior.rrbehavior
- Platform type: External
- Platform name: CARLA
The following simulation clients are active:
- {57040367-6256-43ad-82b4-58d46145d420}: RoadRunner
Try updating the MATLAB and CARLA paths in /home/carlaserver2/.local/share/MathWorks/RoadRunner/R2023a/Scenario/Config/SimulationConfiguration.xml
> ERROR: (id: CARLA Bridge ) : CARLA Bridge: Error connecting to the CARLA server: RuntimeError('failed to generate map')
> ERROR: Error(s) reported by client.
> -------------------- Simulation ENDED (with errors) --------------------
>
Is there any known way to fix this issue? Nevertheless I would be grateful for a link leading to the technical support since I didn't find it in a quick search.
Thank you.
  3 Commenti
Stefan Waelisch
Stefan Waelisch il 3 Lug 2023
Modificato: Stefan Waelisch il 3 Lug 2023
Diese Frage kann geschlossen werden.
Kurze Recap:
Das problem war, dass die Karte nicht gefunden wurde. Dies wurde durch einen erneuten Import behoben.
Weiterhin muss der Actor in Form des Auto's (gesteuert z.B. durch die CarlaEgoVehicle1.py aus den examples) eine Mindestgeschwindigkeit von >=0 besitzen.
Diese Fehler konnten durch Nutzung der CarlaBridge.py im Terminal identifiziert werden.
Außerdem kann dieses Python-Programm genutzt werden um auch direkt im UnrealEditor in der Build-from-Source-Variante (make launch) die Bridge herzustellen, was ja auch das initiale Ziel darstellt. Dazu muss im Vorfeld in der "SimulationConfiguration.xml" im Feld <ExecutablePath> der Pfad entfernt werden, der Carla-Server im Editor mit dem Play-Button gestartet werden, Roadrunner muss gestartet & das Szenario geladen sein, dann muss die CarlaBridge.py gestartet werden und abschließend kann durch drücken des Play-Buttons in RoadRunner die Cosimulation auch im Carla-Editor ausgeführt werden.

Accedi per commentare.

Prodotti


Release

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!