Skip to main content

pamoja_sim_robot_new

Function pamoja_sim_robot_new 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_sim_robot_new( start: PamojaPose, dt: f32, ) -> *mut PamojaSimRobot
Expand description

Creates a robot that moves only in arithmetic.

§Arguments

  • start - the pose it begins at.
  • dt - the seconds each command advances it; its magnitude is used.

§Returns

A handle the caller must release with pamoja_sim_robot_free.