-
Notifications
You must be signed in to change notification settings - Fork 92
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
AirSimExe raises SIGABRT on incorrect vertices size #114
Comments
Are you using moveOnSpline? If you are passing an empty waypoint (first argument), this can be a cause. |
I use moveOnSpline() only during takeoff. Thereafter, I use moveByVelocity(). The termination has occurred only 2-3 times now; I sense the behaviour is very erratic. Will still try to reproduce it and upload the script here. |
Hmm, try putting an assert to whatever you are sending to moveOnSpline and make sure the waypoint makes sense. Also, see comment here #116 (comment) |
@layman-n-ish any news? If you can give us a reproducible script, it would really help in nailing this down, or else the cause should be similar to my comment in issue 116 (linked above) |
Sorry for the late reply, was away. Are you sure this assertion fail is from moveOnSpline()? Because, as I said, I use moveOnSpline() only in the takeoff API - takeoff_with_moveOnSpline() (that has the takeoff_with_moveOnSpline() is called on reset which is similar to the
On the otherhand, I'll work on the reproducible script. |
@layman-n-ish see my last 3 comments in this thread #123 . It should fix your issue as well. Please try using the reset function I added in the gist here https://gist.github.com/madratman/e617b53ec20c5f38a7d10633ba3a42c9#file-airsim_neurips_reset_episode_crash_repro-py-L43 self.airsim_client.reset()
self.airsim_client.simResetRace()
time.sleep(1.0)
self.airsim_client.simStartRace(tier=1) |
Thank you for the solution. I am trying it out now. Seems promising till now. Will let you know how it goes. |
Unfortunately, I get the same error and this time, even earlier into my training. This is the suggested reset_episode() I used:
If the error message, as you hypothesised (#123 (comment)), is coming from drone_2 (when it calls moveOnSplineAsync()), then disabling drone_2 (#71 (comment)) can prove this hypothesis if the crash stops. Else, I can safely assume the crashes occur during resetting of an episode (in my case) when I call moveOnSplineAsync() in takeoff_with_moveOnSpline(). I tried disabling drone_2 and execute my code; no crashes yet. Will let you know how it proceeds. |
AirSimExe raises signal 6 (SIGABRT) on an assertion fail:
F1106 23:44:11.933295 31485 vertex.cpp:257] Check failed: vertices.size() >= 2 (1 vs. 2)
This signal is raised well into the execution of my code i.e. after ~3-4 hrs of training and I fail to recognise the source. Any help would be appreciated.
Please find attached the complete log and crash files.
GoD_crash.log
Diagnostics.txt
The client side ceases with:
Just to confirm, the timeout raised here is due to the server side being terminated, right?
The text was updated successfully, but these errors were encountered: