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
gz-sim: lrauv_control_demo.sdf #299
Comments
Thanks @matosinho, It looks like it worked well during the simulation. It does sound weird to me that after you finished recording the process just aborted. Would you mind trying it out again with other values? |
Ok, I managed to replicate the issue. The value used for the topic |
For me even with this value it crashed. It just took longer. It seems that the vehicle goes faster and faster until the sim breaks. It should reach a maximum speed instead of always speedup, no? For me with -0.1 and 1 for thrust took like 3 minutes but eventually went to a very high velocity and broke the simulation. |
I think I found out where the problem is. During the test of THIS EXAMPLE, I saw that the sim didn't brake. Comparing LRAUV sdf from both simulations, I saw the difference that made the code crash. This is how the crashing hydrodynamis are being declared in this example:
And here is how the non crash version is being declared on the
|
Thanks for the investigation @matosinho I'll try it out and get back to you. |
I tried it out for a while now and it seems to be working just fine with the modification, I'll create the related PR. |
Setup
Links
Checks
You can find the code used to generate this test case here
The text was updated successfully, but these errors were encountered: