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

Refactor GazeboSimulator class #163

Merged

Conversation

diegoferigo
Copy link
Member

As discussed in #158, we only support the deterministic mode of the simulator. The refactored GazeboSimulator class has some logic that I used to test the non-deterministic mode that could be used in the future if we plan to put more effort to implement it.

In general, the assumptions are:

  • Non-deterministic mode is not supported (that means iterations=0)
  • World files loaded with GazeboSimulator::loadSdfWorld can contain only one world

@diegoferigo diegoferigo force-pushed the refactor/new_gazebo_simulator branch 2 times, most recently from 2ef6f6e to 497fa96 Compare March 31, 2020 10:04
@diegoferigo diegoferigo marked this pull request as ready for review March 31, 2020 10:13
@diegoferigo
Copy link
Member Author

Ready to be reviewed @traversaro @raffaello-camoriano @paolo-viceconte

@diegoferigo diegoferigo force-pushed the refactor/new_gazebo_simulator branch from 497fa96 to 4ac1c19 Compare March 31, 2020 11:32
Copy link
Member

@traversaro traversaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor typo


// Setup signals callbacks.
// It must be done after the creation of the simulator since
// we oveeride override their callbacks.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// we oveeride override their callbacks.
// we override their callbacks.

Copy link
Member Author

@diegoferigo diegoferigo Mar 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@diegoferigo diegoferigo force-pushed the refactor/new_gazebo_simulator branch from 4ac1c19 to 8eb5705 Compare March 31, 2020 14:16
@diegoferigo diegoferigo force-pushed the refactor/new_gazebo_simulator branch from 8eb5705 to 7c80ee6 Compare March 31, 2020 14:21
@diegoferigo diegoferigo merged commit 4f5052f into robotology:refactoring Mar 31, 2020
@diegoferigo diegoferigo deleted the refactor/new_gazebo_simulator branch March 31, 2020 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants