Skip to content

Commit

Permalink
Add Bullet physics engine support
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Jun 29, 2021
1 parent 976c4cf commit 4b6b0ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scenario/src/gazebo/include/scenario/gazebo/World.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ namespace scenario::gazebo {
/// The physics engine included in the Dynamic Animation and Robotics
/// Toolkit.
Dart,

/// The physics engine included in Bullet Physics SDK.
Bullet,
};
} // namespace scenario::gazebo

Expand Down
2 changes: 2 additions & 0 deletions scenario/src/gazebo/src/World.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ bool World::setPhysicsEngine(const PhysicsEngine engine)
switch (engine) {
case PhysicsEngine::Dart:
return "ignition-physics-dartsim-plugin";
case PhysicsEngine::Bullet:
return "ignition-physics-bullet-plugin";
}
return "";
}();
Expand Down

0 comments on commit 4b6b0ce

Please sign in to comment.