Files
openvehicle-api/examples/auto_headlamp_example/simulation_artifacts/vapi2doorload.scr

22 lines
720 B
Plaintext
Raw Normal View History

IF (get_process_state (..\CarlaBridge\carlabridge_coupecar.fmu) == 0)
MESSAGE (Starting Carla Bridge fmu with 2 door scenario)
START_PROCESS (..\CarlaBridge\carlabridge_coupecar.fmu)
ENDIF
IF (get_process_state (carlabridge_coupecar.fmu) != 0)
MESSAGE(2 door fmu started!)
SET_BBVARI(CARLAin__toggle_view = 1)
SET_BBVARI(CARLAin__operation_mode = 4)
SET_BBVARI(CARLAin__toggle_display = 1)
ENDIF
IF (get_process_state (..\vapifmus\Doors2ExampleFMU.fmu) == 0)
MESSAGE (Starting VAPI 2 door Example fmu)
START_PROCESS (..\vapifmus\Doors2ExampleFMU.fmu)
ENDIF
START_EQUATION(1,vapiexamplestriggerfile.tri,Before,Doors2ExampleFMU.fmu)
IF (get_process_state (Doors2ExampleFMU.fmu) != 0)
MESSAGE(2 door fmu started!)
ENDIF