Closed VenusPasandi closed 2 years ago
The first and simple solution to extend the current simulator structure for the motion on the inclined surface is to assume that the world frame is aligned with the surface (so the normal axis of the surface is aligned with the z axis of the world frame) and define the gravity vector in this world frame. This is a simple, fast and lovely trick :heart_decoration: for the cases that the normal axis of the surface is constant. The extension of this method for the cases that the normal axis of the surface is not constant (for example a curved surface or V-shaped surface) is not straightforward. :disappointed:
So, I decided to define two frames, the World frame which is constant and the Contact frame. The Contact frame has the same origin as the World frame and its z axis is aligned with the normal axis of the surface.
Now I assume that:
We need to modify the contact model, impact model and contact status model considering the above assumptions.
Currently, in the simulator, we assume that the surface is flat. But, it will be useful to extend the simulator for the inclined surfaces.