-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Race finished after reaching first gate #149
Comments
Hi, not sure though, I think I use to have similar problems. Maybe this could help https://github.com/microsoft/AirSim-NeurIPS2019-Drone-Racing/issues/104#issuecomment-546087098 I change to reset the race using this function and it was working for sometimes (like 0.5 hrs) before the simulation crashed |
By the way, during my project, I noticed that if drone_2 passed the gate faster than drone_1 (which you control, by default). The log won't report the event of drone_1 passing the gate |
Hi, thanks for the reply! I'm trying the same workaround with simResetRace. Before I had a very unstable behavior on the podium after restarting the race multiple times (already from the second iteration I could see the drone shaking a bit), but I've probably fixed it by resetting also the airsim client. And yes, I'm experiencing the same problems with the simulator freezing. I'll give a look to that issue, thanks again :) |
Update: I've successfully avoided the problem of this post by just using simResetRace and resetting the client.
I'll open a new issue about this, since it's creating a lot of problems for my tests. |
Hello,
I'm running multiple instances of Airsim in sequence. Each time I run an instance, I reload the level (to avoid a problem in the stability of the drone by just resetting the race without reloading the level). But, I'm having problems with the simulator interrupting the race after I reach the first gate, outputting that the drone has finished the race. This behaviour does happen every even iteration excluded 0 (2, 4, 6, 8, ...).
Since I monitor the log file for the timings, this is a big problem because it cuts the log file:
I'm using Soccer Field Easy and Tier 1 for my simulations.
Can you point me the part of code where the simulator detects the last gate and interrupts the race?
Thanks in advance
The text was updated successfully, but these errors were encountered: