2-axis joystick simulation: 2 joints and a dummy link

Typically: "How do I... ", "How can I... " questions
baxter
Posts: 4
Joined: 03 Apr 2017, 17:18

2-axis joystick simulation: 2 joints and a dummy link

Postby baxter » 12 Apr 2017, 15:36

Hi all,

I am simulating two-axis joysticks as 2 revolute joints connected via a tiny plane as the picture below shows.
The plane is only a workaround to make the simulation possible: a Dummy would be better here, but it breaks the dynamics chain.

Is there any way to replace this plane by a dummy somehow, or eventually to limit the impact of the plane in the simulation?

The plane could be moved far away from the scene to make sure it does not collide any other object. But since the mass can't be zero, moving the plane also moves the center of mass and unbalances the joystick.

Image

coppelia
Site Admin
Posts: 5811
Joined: 14 Dec 2012, 00:25

Re: 2-axis joystick simulation: 2 joints and a dummy link

Postby coppelia » 13 Apr 2017, 13:26

Hello,

the best would be to use a small sphere or cuboid, that is not respondable. This way it won't interfere with the other respondable objects. Additionally you can also hide it in a different layer.
Finally, the mass and inertia of that intermediate body is important and will directly influence the stability of your dynamic simulation (mainly Bullet and ODE, since they are very sensitive to large mass/inertia ratios). Make sure you have read the design considerations 6-8 on this page.

Cheers


Return to “General questions”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 27 guests