You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the default r2d2 example that uses https://github.com/socrob/mbot_simulation_environments, I am getting many b3Warnings, among others saying that no inertial data for links is provided. This causes pybullet_ros to crash at start. This seems to be caused by pybullet loading gazebo sdf model which is missing some fields (related issue robotology/icub-models#12). Any suggestions how to fix it?
The text was updated successfully, but these errors were encountered:
Currently the sdf support in pybullet ros is experimental, is not an easy task to integrate as one has to parse the sdf + adapt to the structure of pybullet. Unfortunately, I think this is a larger project, one in which much more effort is needed. For now I have commented out all environment support in pybullet ros and will likely introduce the notion of one time plugin at the beginning, so users can load environments using normal pybullet code. Once I have more time I will definitely look into this in more detail.
As a temporal workaround I have added en environment one time only plugin. This means that you can write python code to load your environment by using functions like self.pb.loadURDF(...) or self.pb.loadSDF(...) . Documentation has been added in the main README.md under "environment" section
When running the default r2d2 example that uses https://github.com/socrob/mbot_simulation_environments, I am getting many
b3Warnings
, among others saying that no inertial data for links is provided. This causespybullet_ros
to crash at start. This seems to be caused by pybullet loading gazebo sdf model which is missing some fields (related issue robotology/icub-models#12). Any suggestions how to fix it?The text was updated successfully, but these errors were encountered: