-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Provide Derivatives in FunctionHandleTrajectory #22076
Comments
Actually, maybe this is more complicated than I thought, since I don't think we can use AutoDiffXd to get higher order derivatives. Would love to hear if people have other ideas. I know Russ suggested allowing a user to provide a function if the derivatives are known. Or we could provide a finite-difference approximation. |
@RussTedrake do you have any thoughts on how we should handle the user providing a function to give derivatives? I'm guessing the signature should be |
That seems basically right to me. We should decide/recommend if it's ok for methods to throw if e.g. they don't support all positive orders.
That's true, and I think we're on the same page but just to make sure: you only need to support |
The interaction between |
Assigning to @hongkai-dai for further triage and delegation. |
#21093 introduced a way for the user to specify trajectories as the image of an arbitrary function, completing the feature request in #20699. However, it does not yet support computing derivatives of the trajectory, which is needed for trajectory processing algorithms like Toppra. I think this should be pretty straightforward to implement, so I'll self-assign (and ask for help if I get stuck).
The text was updated successfully, but these errors were encountered: