-
- Notifications
You must be signed in to change notification settings - Fork 7k
Dynamic Movement Primitives Implementation #526
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
Conversation
…tion - relative to the points before and after it- when change in x or change in y along path is 0
…/PythonRobotics into dubins_bug_fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me (but I also wrote this lol so of course it looks good to me). Only thing I didn't add was an entry to the table of contents in the README, but I figured I'd wait on that to see if this PR is approved :)
| Also, all commits before #d5b4361 were merged in with the two length=0 fixes I pushed for dubins planner and reeds shepp planners last week, not really sure why they are showing in this PR too |
| Thank you for your PR again. Is it possible to add an arm navigation simulation using this technique? |
| I think so, do you want me to add those changes to this PR or should I close and re-make it once I've finished adding things? |
| It is ok to add it in this PR. |
| This pull request introduces 4 alerts when merging 4d92252 into ee729d6 - view on LGTM.com new alerts:
|
| @SchwartzCode Thank you for your hard work. I like the animation and the figure, please fix all CI failures and add tests, then I will review it and merge it. |
| This pull request introduces 4 alerts when merging ae50183 into 90c6cfa - view on LGTM.com new alerts:
|
| This pull request introduces 4 alerts when merging 9fefe20 into 90c6cfa - view on LGTM.com new alerts:
|
| This pull request introduces 4 alerts when merging 342dc25 into 90c6cfa - view on LGTM.com new alerts:
|
| @AtsushiSakai passing everything except CodeFactor, which is mad about some for loops in |
AtsushiSakai left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your work. I have some comments. PTAL.
PathPlanning/DynamicMovementPrimitives/dynamic_movement_primitives.py Outdated Show resolved Hide resolved
PathPlanning/DynamicMovementPrimitives/dynamic_movement_primitives.py Outdated Show resolved Hide resolved
PathPlanning/DynamicMovementPrimitives/dynamic_movement_primitives.py Outdated Show resolved Hide resolved
PathPlanning/DynamicMovementPrimitives/dynamic_movement_primitives.py Outdated Show resolved Hide resolved
PathPlanning/DynamicMovementPrimitives/dynamic_movement_primitives.py Outdated Show resolved Hide resolved
PathPlanning/DynamicMovementPrimitives/dynamic_movement_primitives.py Outdated Show resolved Hide resolved
| @@ -0,0 +1,260 @@ | |||
| """ | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a one-line comment to describe this example here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added one to the example_DMP() function toward the bottom of the file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a one-line comment to describe this file here? Like: "Dynamic Movement Primitives examples for robotics".
| This pull request introduces 1 alert when merging 342eb03 into 187b6aa - view on LGTM.com new alerts:
|
| @AtsushiSakai addressed most of your comments (resolved ones where I just did what was suggested, left ones open that I maybe didn't do exactly what was asked), let me know if there are more changes you'd like to see :) |
AtsushiSakai left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. This is the last review. After, addressed these, I will merge it.
PathPlanning/DynamicMovementPrimitives/dynamic_movement_primitives.py Outdated Show resolved Hide resolved
| @@ -0,0 +1,260 @@ | |||
| """ | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a one-line comment to describe this file here? Like: "Dynamic Movement Primitives examples for robotics".
| @AtsushiSakai made the changes you requested, thanks for making this repo! It helped me a ton this summer while prototyping path planners :) |
AtsushiSakai left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I will merge it. Thank you for your work!! @SchwartzCode
What does this implement/fix?
Implements Dynamic Movement Primitives, which is a way of 'learning' a path and being able to stretch or squeeze it in space or time as the user sees fit. The path is learned as a weighted sums of gaussian distributions.
Additional information
I made a file and a few unit tests, but let me know if there is anything else you'd like me to add to this!