Skip to content
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

Very big robot apear then vanish in pybullet #96

Open
FrGe2016 opened this issue Feb 1, 2023 · 1 comment
Open

Very big robot apear then vanish in pybullet #96

FrGe2016 opened this issue Feb 1, 2023 · 1 comment

Comments

@FrGe2016
Copy link

FrGe2016 commented Feb 1, 2023

Hi

I have tried a very big robot basically a gantry crane with a few arms ( 30m X 10 m X 10m ) moving along a 60m rail.
It apears in bullet for about 1 second then vanishes.

If i use ros2
The robot is displayed in rviz and every joint move perfectly
But i also have simulation problems with gazebo. ( the robot definition is available but no display )

I have found a partial solution
Increasing the ground_plane surface in the file .../.local/lib/python3.10/site-packages/onshape_to_robot/bullet/plane.obj

This way the robot is on the ground plane as long at no joints moves.
From this moment, the robot flip over and fall below the ground plane ?

Since the robot moves on rails is the any way to lock the rails on the ground ?

@FrGe2016 FrGe2016 changed the title Very big robot apear the vanish in pybullet Very big robot apear then vanish in pybullet Feb 1, 2023
@Gregwar
Copy link
Contributor

Gregwar commented Feb 1, 2023

Hello,

Do you pass -f to onshape-to-robot-bullet ?
This makes the robot "fixed" (else, it is considered as floating base, like a mobile robot)

https://onshape-to-robot.readthedocs.io/en/latest/commands.html#onshape-to-robot-bullet-running-bullet-simulation-to-test-your-robot-urdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants