How do I stop my robot bouncing off the floor?

Typically: "How do I... ", "How can I... " questions
Post Reply
SimonBirrell
Posts: 8
Joined: 05 Apr 2019, 10:21

How do I stop my robot bouncing off the floor?

Post by SimonBirrell »

Hi,

I'm working on a robot simulation and advancing nicely, but I have persistent problems with the robot bouncing off the floor and other objects and zooming off into the void. I've tried adjusting mass, inertia and so on, straying ever further from the real values (it's based on a real, physical robot we've built) and trying different physics engines in search of stability.

Link 1: https://www.icloud.com/iclouddrive/0fnS ... ot-1-floor
Link 2: https://www.icloud.com/iclouddrive/0b86 ... t-2-floors

As an example, I'm linking to two files that are identical except for:
1) Link 1 has a single respondable cuboid object acting as the floor, set beneath the 4 wheels.
2) Link2 has two copies of the same cuboid at the same z height, one beneath each set of wheels.

Logically, the behaviour should be the same. But in the first, the robot is more or less stable. In the second, it bounces off the floor. The robot is dynamic, resopndable and there are no warnings in the scene hierarchy.

Do you have a general strategy for ensuring stability of the robot on a floor, or floor-like surfaces? My goal is to have the robot move on uneven terrain (modeled as heightmaps), but for the moment I can't even get it stable on flat surfaces.

Thanks!

Simon

SimonBirrell
Posts: 8
Joined: 05 Apr 2019, 10:21

Re: How do I stop my robot bouncing off the floor?

Post by SimonBirrell »

I think I've solved this by myself. Some links were outside the main robot model and under the floor. I guess there were some weird collisions going on. Thanks!

Post Reply