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

Spline Computation from Control Points #7

Open
geoeo opened this issue Jul 23, 2024 · 0 comments
Open

Spline Computation from Control Points #7

geoeo opened this issue Jul 23, 2024 · 0 comments

Comments

@geoeo
Copy link

geoeo commented Jul 23, 2024

Hello,

Is it possible to compute a spline for X,Y,Z and SO(3) from some X,Y,Z and rotation measurement at time t explicitly.
I essentially want to create a continuius representation from some data which I want to subsample.

Currently I use Scipy. Can I achieve something similar with Kontiki?
Can kontiki also compute the spline derivatives?

E.g.

 sx = interpolate.InterpolatedUnivariateSpline(time_data, xs, k=3)  # x(u) spline
 sy = interpolate.InterpolatedUnivariateSpline(time_data, ys, k=3)  # y(u) spline
 sz = interpolate.InterpolatedUnivariateSpline(time_data, zs, k=3)  # z(u) spline

 s_rot = RotationSpline(time_data, rotation_data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant