Skip to content
Jeremie Deray edited this page Jan 10, 2019 · 2 revisions

manif provides three interpolation algorithms in the subfolder algorithms.
They are:

  1. Slerp interpolation
  2. Cubic interpolation
  3. CN-smooth interpolation

A brief usage example is shown in examples/se2_interpolation.cpp, which produces the following results:



To reproduce the figures:

cd manif/build/examples
./se2_interpolation 9 0 40 > se2_interp_slerp.csv
./se2_interpolation 9 1 40 > se2_interp_cubic.csv
./se2_interpolation 9 2 40 > se2_interp_cnsmooth.csv

Then open Matlab and edit the visualization script examples/scripts/plot_interpolation.m.
One should edit both the path and file_base variables. Run the script to visualize the plot.

Clone this wiki locally