I see that there is an
AnchorageDecember.json environment file. I would like to load this and try running my scenario under those conditions. I see that there is an
HowTo-EnvironmentChange.cpp, but it shows how to programmatically set environmental conditions, whereas I’d like to load the ones from the existing file. How can I do that? I tried this in Java:
SEChangeEnvironmentalConditions env = new SEChangeEnvironmentalConditions(); env.setEnvironmentalConditionsFile("environments/AnchorageDecember.json"); this.pulseEngine.processAction(env);
But this is what gets printed in the log:
[INFO ] [2020-11-21 20:18:18,293] [JavaFX Application Thread] [CppPulseEngine] : [0(s)] [Action] 0(s), Environment Action : Change Environmental Conditions SurroundingType: NullSurrounding Air Velocity: Not Set Ambient Temperature: Not Set Atmospheric Pressure: Not Set Clothing Resistance: Not Set Emissivity: Not Set Mean Radiant Temperature: Not Set Relative Humidity: Not Set Respiration Ambient Temperature: Not Set
Seems like it didn’t work. What’s the right way to do this?