private Vector3 GetPosition(NavigationOdometry message) { return(new Vector3( message.pose.pose.position.x, message.pose.pose.position.y, message.pose.pose.position.z)); }
private Quaternion GetRotation(NavigationOdometry message) { return(new Quaternion( message.pose.pose.orientation.x, message.pose.pose.orientation.y, message.pose.pose.orientation.z, message.pose.pose.orientation.w)); }