-
Notifications
You must be signed in to change notification settings - Fork 10
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
GPMP2 fails to solve custom WAM problems #25
Comments
@riordan45 Have you evaluated the error associate with the obstacle factor in the graph when you give the success and failure cases? Also it is important to remember that this is unconstrained optimization approach, so there are no guarantees that this optimization will find a collision-free trajectory... although it should... |
@mattking-smith To report success and failure cases I took the joint angles GPMP2 gives and tried them in my simulation in PyBullet which is a 1 to 1 reconstruction of your environment. The error the script reports have magnitude between 1e+3 to 1e+4 although GPMP2 reports convergence. Think you could try running the code I gave here? I have a feeling that the SDF does not take into account the robot position correctly for whatever reason but I'm not sure. |
Did you know you can specify to look at the error of a particular factor in the graph given some optimized result? I would start by looking at the trajectories which are see as a success and the errors associated with the obstacle factor and the trajectories which fail. |
Hey,
I tried running the WAM example in python with the following parameters for some benchmarks:
And the rest of the code is the same. You can range
k
from 0 to 19. I'm not sure why but GPMP2 seems to not solve any of the problems and if I change the parameters I can get at most 3/20 problems solved. I know how the hyperparameters affect the algorithm but I find the behavior strange as I was expecting close to 100% with the slight elevation added.The
indices
list shows the pairs to be taken from thestates
to define the start and end configuration.Here's how the first pair should look, the top config is the start and bottom is the end.
When running with the parameters in the paper the trajectory just goes straight through the shelf.
The text was updated successfully, but these errors were encountered: