0
$\begingroup$

Rosanswers logo

Hello,

I'm evaluating whether I can use the stage simulator out of the box or if I have to build a new one for the 2D simulator project I'm working on. I thought it would be better to ask before digging into the code/manual myself.

In addition to simulating the robot (which might be composed of multiple body parts connected by joints), the project requires the obstacles to be arbitrarily shaped and dynamic. It should be possible to model the interaction of the robot with the obstacle and after-effects using attributes like friction/restitution/collision velocity, etc. Can it be done in stage?

Thanks!


Originally posted by delphinus on ROS Answers with karma: 21 on 2012-04-24

Post score: 2

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Stage does not do physics-based modeling or simulation of a robot with multiple joints (e.g. by applying forces to those joints). Stage in general assumes a very simple model for the vehicle, simply integrating the linear and angular velocities with respect to the configured timestep to update the position. I don't think it can model collision after-effects at all.

You should look at the Gazebo simulator if you want a simulator that actually runs a physics engine to do the simulation (allowing you to e.g. specify a force on a joint and Gazebo will figure out, based on friction and inertial constants and such, how that force affects the robot). I'm not sure if Gazebo handles things like what happens if your robot impacts something and could cause it to slide off in a different direction, but it definitely has a better chance of supporting that than Stage.


Originally posted by Eric Perko with karma: 8406 on 2012-04-24

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.