How to set time of day for the evening?
I want drones to fly in the evening. In file settings.json, I set
"TimeOfDay": { "Enabled": true, "StartDateTime": "%2018-%04-%12 %18:%30:%00" }
But the drone still flies during the daytime. How to set time of day for the evening? Thanks.
I think you want:
"TimeOfDay": {
"Enabled": true,
"StartDateTime": "2018-04-12 18:30:00"
}
Thank you for your response. I use "StartDateTime": "2018-04-12 20:00:00" in file settings.json. The scene does not change. The drone still flies during the daytime. Can you help me? Thanks.
It's working for me:
{
"SeeDocsAt": "https://github.com/Microsoft/AirSim/blob/master/docs/settings.md",
"SettingsVersion": 1.0,
"TimeOfDay": {
"Enabled": true,
"StartDateTime": "2018-04-12 18:30:00"
}
}

@dehuachen2017 Do you solve the problem? Whatever the StartDateTime I set, it is always the current time of my PC.
Any update on this? it uses the current time not the StartDateTime.
This a bug. Working on fix.
This should be fixed now with the pull request 1581