Skip to main content

pamoja_sim_robot_pose

Function pamoja_sim_robot_pose 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_sim_robot_pose( robot: *const PamojaSimRobot, ) -> PamojaPose
Expand description

Reads where the robot has got to.

§Arguments

  • robot - the robot.

§Returns

The pose reached so far, or an all-zero pose if robot is null.

§Safety

robot must be a live handle from pamoja_sim_robot_new, or null.