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
13 stars 8 forks source link

JOAN with Carla packaged version #30

Open StijnOosterlinck opened 1 year ago

StijnOosterlinck commented 1 year 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 1 year 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 1 year 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 1 year 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 1 year ago

Makes sense, thanks for the quick replies!