voxcraft / voxcraft-sim

a GPU-accelerated voxel-based physics engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unexpected behaviors

scarlettwei opened this issue · comments

While we applied MAP-Elites to discover the capability of certain morphology, we find some unexpected behavior, such as explosion and detachment. Two sample runs are recorded and attached, and hope by comparing them can find what parameter leads to these unexpected behaviors.

1596.mov
973.mov
  1. Base.VXA and robot.VXD for the morphology
    Base.txt
    bot.VXD.txt

  2. History Files for the recorded behaviors
    sim_run1596.txt
    sim_run973.history.txt

  3. VXA Files for the recorded behaviors
    sim_run1596.VXA.txt
    sim_run973_VXA.txt

  4. Experiments are done in Google Colab
    GPU 0: Tesla T4 (UUID: GPU-452ef5d1-2fc3-a1c9-d071-f9a5bf107b18)

I only read the robot file and watch the videos but the voxels look pretty soft (the elastic modulus divided by the density is a low ratio). What happens when you try a density of 1 and elastic modulus of 10?

But also I've never used different signed CTE in voxels right next to each other. It looks unstable right away. You shouldn't need a dtfrac of 0.5 for something so simple. I guess the system hasn't been tested for a few number of voxels pulling in opposite directions. What happens if the entire thing is one material? Is it stable?

When I raised the elastic modulus to 10, the behavior of the voxels in VIZ is less severe. I'll run simulations with MAP-Elites and check the history files.
CTE is one of the parameters we are using, so same material will have the same value. In this case, materials are scattered around the whole robot, so adjacent voxels have different CTE. When the entire thing is just one material, I got explosion when it was all 'flexible' material, but also stable behavior with less flexible materials.
I'll run few more tests and see what parameters can be used to make the robots more stable.

Were you able to resolve this @scarlettwei?

It is not fully solved, we are still getting some unexpected behaviors even with only one material and higher elastic modulus values. But in general the simulations are much stabler than before and we are getting less unexpected behaviors.

Ok @scarlettwei I am going to close this issue. Please open a new one, if necessary, for specific examples