Code is not running due to inertia values
Posted: Tue Nov 08, 2022 8:34 am
Greetings Everyone,
I am new to SimBody and thus learning SimBody with basic examples.
In one such example, I have defined a body that rotates freely with a motor attached to it via a Pin Mobilizer.
I have successfully attached a motor with the body using the Pin Mobilizer and the simulation runs fine in my system. However, once I transfer and try running the code in the PC of my fellow enthusiast, I face the following error.
Please Note: I do not get any error and thus my code compiles successfully in my personal laptop. I am using a virtual-box for Linux Ubuntu and my colleague has root Linux Ubuntu installation.
Please find the inertia definition of the body in the below image. Please note: No inertia values are defined any where else in the code.
Request for help on the same.
Also I was thinking of rotating the body along the Y axis instead of the Z axis(default axis with the Pin Mobilizer). I understand that I need to rotate the Mobilizer axis using Transform() function and thus I went through the documentation but could not figure out the implementation of the same.
I am new to SimBody and thus learning SimBody with basic examples.
In one such example, I have defined a body that rotates freely with a motor attached to it via a Pin Mobilizer.
I have successfully attached a motor with the body using the Pin Mobilizer and the simulation runs fine in my system. However, once I transfer and try running the code in the PC of my fellow enthusiast, I face the following error.
Please Note: I do not get any error and thus my code compiles successfully in my personal laptop. I am using a virtual-box for Linux Ubuntu and my colleague has root Linux Ubuntu installation.
Please find the inertia definition of the body in the below image. Please note: No inertia values are defined any where else in the code.
Request for help on the same.
Also I was thinking of rotating the body along the Y axis instead of the Z axis(default axis with the Pin Mobilizer). I understand that I need to rotate the Mobilizer axis using Transform() function and thus I went through the documentation but could not figure out the implementation of the same.