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

Port stochastic scenarios #13251

Closed
jwnimmer-tri opened this issue May 7, 2020 · 3 comments · Fixed by #13991
Closed

Port stochastic scenarios #13251

jwnimmer-tri opened this issue May 7, 2020 · 3 comments · Fixed by #13991
Assignees
Labels

Comments

@jwnimmer-tri
Copy link
Collaborator

The Drake developers at TRI have the following capabilities in our internal repositories:

  • specify random distributions and transforms in C++, Python, and YAML,
  • specify constraints on pose, generalized position, and vector direction in C++, Python, and YAML,
  • populate these values into a simulation's initial conditions and diagram-level constraints.

In principle, we are happy to share it, but making it public takes time and we have not yet prioritized it. Please upvote it by adding a "thumbs up" reaction to this comment if you want us to know that you are keen.

Here's an illustration of how it could be used to specify a simulation:

# An example scenario for acrobot, with randomness.
one_example:
  controller_params: !UniformVector
    min: [4, 40, 4, 0.9e3]
    max: [6, 60, 6, 1.1e3]
  initial_state: !UniformVector
    min: [1.1, -0.1, -0.1, -0.1]
    max: [1.3, 0.1, 0.1, 0.1]
  t_final: 30.0
  tape_period: 0.05
@jwnimmer-tri jwnimmer-tri self-assigned this May 7, 2020
@jwnimmer-tri jwnimmer-tri added the type: TRI anzu wishlist TRI-internal software potentially available to open-source label May 8, 2020
@jwnimmer-tri jwnimmer-tri changed the title Pull in stochastic scenarios Port stochastic scenarios May 8, 2020
@hzyjerry
Copy link

I am very interested in this for my research. Would love to see progress on it :)
Also happy to chat more and potentially contribute.

@jwnimmer-tri
Copy link
Collaborator Author

Bumping to high because Russ wants #13282 and this is a prereq.

@jwnimmer-tri
Copy link
Collaborator Author

I believe everything we need is now available on master, without restriction. I still some a few clean-ups to follow up, but the feature should be fully operable now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants