New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
moved physics tutorials to examples under the heading 'Integrate physics using pybullet' #302
Conversation
Hello @tushar5526 , Thank you for creating this PR. As you are currently working on the physics examples, I would request you to work on this problem so that we can close #298 as well. |
Hi @tushar5526, Thank you for doing this! +1 with @Nibba2018 request Thank you |
Sure @Nibba2018 @skoudoro :) |
Also a quick note regarding the installation of pybullet. Most windows versions may or may not have the appropriate wheels for pybullet. Therefore, The same problem doesn't occur for Linux or mac os. So no issues with that. |
@Nibba2018 Thanks, I work on Ubuntu 18.04 LTS so no issues |
Which section do you think is appropriate to add this information @skoudoro ? |
Any version barrier with pybullet @Nibba2018 ? |
That's a very hard question to answer as I was never able to find any changelogs for pybullet. But anything above |
Many packages have this issue when they have a C or cython dependencies. I think it is ok. No need to add this information until we decide that is a mandatory dependency. |
Codecov Report
@@ Coverage Diff @@
## master #302 +/- ##
=======================================
Coverage 88.64% 88.64%
=======================================
Files 21 21
Lines 5073 5073
Branches 656 656
=======================================
Hits 4497 4497
Misses 406 406
Partials 170 170 |
@Nibba2018 No output on running |
@tushar5526 Have you set the value of |
Thanks @Nibba2018 works good ! |
Hello @tushar5526! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2020-08-25 04:26:15 UTC |
Fixed the buggy wrecking ball behavior, the problem was PS : There was some weird behaviour after 100 simulation steps. The ball went crazy and I was having weird stretched lines instead of ropes, I think the code to make the rope has to be redone. |
Great job @tushar5526! do not forget to address the pep8 above |
Do you want the commits to be squashed or is it ok ? @skoudoro |
No need to squash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @tushar5526,
Your PR is almost ready to go. I just generate the documentation and see below the last issue.
After your fixes, we can merge it.
Thank you for this last update
Increasing 'radii' was changing the link's radius instead of the wrecking ball. Fixed some typos in Physics simulation folder. fixed physics demos according to pep8
Thanks, @skoudoro for checking it out, made the changes, and also ran pep8 on other physics demos files. |
Thank you @tushar5526. Merging |
#297
Moved all the Physics tutorials under examples section with a heading 'Integrate physics using pybullet'
Fixed the buggy wrecking ball behavior, the problem was
radii
was the links or rope's radius instead of the wrecking ball. Changing it to 1 was making a cylindrical collider of radius 1 greater than wrecking ball's radius hence the bug.Ball's radius was hardcoded to 0.2, assigned it to the variable
ball_radius
so now you can mess with wrecking ball by changing the radius.Fixed some typos that I found along with it.
PS : There was some weird behavior after 100 simulation steps. The ball went crazy and there were some weird stretched lines instead of ropes, I think the code to make the rope has to be redone.