question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Step physics seems to not work properly

See original GitHub issue

❓ Questions and Help

Hi, I’m following the tutorial at https://aihabitat.org/docs/habitat-sim/rigid-object-tutorial.html, but the ball don’t fall to the ground even if “step_physics” is properly called. It seems that sim.step_pyhsics is not actually simulating physics, and therefore the result is a ball still in mid-air in all the observations. Am I forgetting something? Thank you 😃 My environment: python 3.8 habitat_sim 0.1.6 installed with conda

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
gianscarpecommented, Dec 15, 2020

Hi @aclegg3, Thanks! I solved by build with this (the following code will build two wheels, both with and without display)

# Checkout the latest stable release                                                                                                                                                              
cd dev                                                                                                                                                                                            
git clone --branch stable https://github.com/facebookresearch/habitat-sim.git                                                                                                                     
cd habitat-sim                                                                                                                                                                                    
                                                                                                                                                                                                        
# We require python>=3.6 and cmake>=3.10                                                                                                                                                          
conda create -n habitat python=3.8 cmake=3.14.0                                                                                                                                                   
conda activate habitat                                                                                                                                                                            
pip install -r requirements.txt                                                                                                                                                                   
                                                                                                                                                                                                        
python setup.py bdist_wheel --with-cuda --bullet                                                                                                                                                  
python setup.py bdist_wheel --with-cuda --bullet --headless # Headless, for cluster     
0reactions
aclegg3commented, Dec 14, 2020

I see. The “withbullet” build for habitat-nightly does not appear to be up-dating correctly at this time. You should in this case build from source or use the previous version tag (e.g. use -c aihabitat instead).

Edit: more specifically, headless build with bullet should be ok. However bullet build with display is not available on nightly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Don't Panic! 10 Steps to Solving (Most) Physics Problems
1. Don't Panic. Sounds obvious, right? · 2. Try to Understand the Situation. What is going on in this problem? · 3. Read...
Read more >
Physics Sub-Stepping Not Working in 4.16? - World Creation
Just installed and set up my project to be used in 4.16, and noticed my physics for jiggle physics and other things were...
Read more >
working around FixedUpdate-Physics Step execution order
Obviously this doesn't work because the physics step won't update the contact points until after fixedupdate is done running.
Read more >
Fix Your Timestep! | Gaffer On Games
What if the display framerate is 200fps? Well in this case it we need to take half a physics step each display update,...
Read more >
Why can't I solve physics problems even after trying so ... - Quora
Physics doesn't “skim” well. Also remember that facts & formulas are not what you need in Physics. It's all about concepts!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found