tud-hri / joan

JOAN is an software package that allows to perform human-in-the loop experiments in the open source driving simulator CARLA. JOAN facilitates communication between human input devices and CARLA, the implementation of haptic feedback, systematically storing experiment data, and the automatic execution of experiments with multiple experimental conditions.
Other
11 stars 7 forks source link

JOAN with Carla packaged version #30

Open StijnOosterlinck opened 10 months ago

StijnOosterlinck commented 10 months ago

Hi, me again.

Is it possible to combine JOAN with a packaged version of Carla?

So instead of doing 'make launch' and pressing play in UE, I would run 'make package' as well and then use the resulting .exe file to run UE4Carla.

But I'm not sure if the state machine of JOAN still works well in this scenario? (for example: stopping the simulation, changing a setting - initialize - get ready - run again...)

Thanks in advance!

OlgerSiebinga commented 10 months ago

Yes, that will work fine. Just make sure that your packaged game starts with the correct map and game mode (JOAN game mode). Alternatively, you can use a startup script with the command line command to start the unreal editor.

StijnOosterlinck commented 10 months ago

Is there a reason that only the 'unreal editor' method is explained in the documentation?

Because I thought that making a packaged version could improve the performance, or am I wrong?

OlgerSiebinga commented 10 months ago

I believe this is just meant for debugging and quick evaluation during development. We have (indeed) seen better performance with packaged versions, but I've never measured this.

StijnOosterlinck commented 10 months ago

Makes sense, thanks for the quick replies!