Skip to main content

pamoja_odometry_new

Function pamoja_odometry_new 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_odometry_new( start: PamojaPose, ) -> *mut PamojaOdometry
Expand description

Creates an odometry estimate starting from a known pose.

§Arguments

  • start - the starting pose; its heading is wrapped into (-pi, pi].

§Returns

A handle the caller must release with pamoja_odometry_free.

§Safety

The returned handle must be freed exactly once.