Home | Tutorials | Wiki | Issues
Ask Your Question
1

DRCSIM: Why such erratic behavior when starting and running simulation?

asked 2013-05-03 16:13:29 -0500

aqiruse gravatar image

updated 2013-05-07 19:57:33 -0500

gerkey gravatar image

First let me take the time to thank those working on drcsim and gazebo. It has alot of wonderful features and I have seen the active improvements at work. Thanks for the hard work and countless hours you have spent making these products.

Now, on to my topic of concern. I am wondering why the simulator seems to have such erratic behavior when starting and running the simulation? The following are the problems we are encountering:

1) When using roslaunch atlas_utils qual_task_x.launch to launch the simulator, you have to launch it 4-5 times before the simulator actually launches and runs alright. There are a number of issues that happen here.

  1. The simulator starts and gets stuck displaying no timing or anything on the window. Just a grey window.
  2. The simulator starts and then writes to the log file and never displays a window.
  3. The simulator starts and does not write to the log file, does not show a window, and yet thinks that it has fully started and is running.

2) When the simulator does actually launch, about 60% of the time, as soon the counter starts running and the atlas robot is initialized into the world, the atlas robot will immediately fall to the ground in a totally random direction without having received any input from the user, no input from any controller through rosrun, no input on keyboard or mouse, the atlas robot just falls in a random direction and crunches up.

3) When the simulator does start, and the atlas robot is successfully standing still waiting for commands, sometimes after using rosrun package_name module_name the atlas robot will stay standing still and not perform any commands at all as though it did not receive the command input. Instead the plugin must be stopped, and re-run and then (without recompiling or making any changes to the code) atlas robot will actually respond to the commands.

4) Sometimes when controlling the atlas robot using rosrun, atlas will execute a few commands and then stop and refuse to continue executing commands. The same controller plugin is able to be ran again without recompiling or altering the code in any way, and the controller will successfully get atlas to perform all the commands. It is just atlas sometimes randomly decides to stop performing commands.

5) When executing certain movement based commands, the atlas robot does not perform the same action any two times in a row even though it has been specifically told to perform the same thing it just did last simulation. For example, if you tell atlas to turn by x degrees, and then stand still, atlas might do the following:

  • Trial 1) Actually Turn X degrees and Successfully Stand Still
  • Trial 2) Actually Turn X degrees and fall to the right
  • Trial 3) Actually Turn X degrees and fall forward
  • Trial 4) Turn Y Degrees and fall backward
  • Trial 5) Turn Y Degrees and fall to the left

I realize that this is the product with which ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-05-07 20:33:37 -0500

gerkey gravatar image

I've broken your question up into 4 pieces:

Please check those questions for answers and comments.

Keeping questions concise and cleanly separated makes them easier to answer and makes this forum more useful to others.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-05-03 16:13:29 -0500

Seen: 446 times

Last updated: May 07 '13