-
Notifications
You must be signed in to change notification settings - Fork 10
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
Creating a minimal example to tackle 'ValueError: The truth value of an array with more than one element is ambiguous' when building JaxSimModelData instance #176
Comments
Hi @lorycontixd, can you please post the result from |
I updated the original comment with the output of the diff. I have a feeling the code block has a length limit so I uploaded a file for it. |
@lorycontixd can you please add snippets of MRE in code boxes wrapped by a details HTML environment? The repositories you linked are mostly private and people reading this issue have no access. |
Sure, do code boxes have a maximum limit? Because the code is 400+ lines and most of the times I have difficulties wrapping code in the appropriate boxes. |
There are no significant limits AFAIK. However, in order to help other people providing you support, the shorter the MRE is, the better. |
I updated the original comment to state that the code makes use of #156 @diegoferigo |
Closed by #177 |
This issue starts from my robot implementation which uses code from #156 , where building a JaxSimModelData instance inside a loop raises the following error:
As of now, I tried recreating a minimal working example that attempts to recreate the problem, but this example runs correctly.
Code
Code link here.
Code file (txt): minimal.txt
Conda env
requirements.txt
File diff
diff.txt
Next step is to add more lines from the original file to try to break the code with the traceback found above.
CC: @flferretti
Tasks
The text was updated successfully, but these errors were encountered: