vmeta_frame_get_speed_ned

Function vmeta_frame_get_speed_ned 

Source
pub unsafe extern "C" fn vmeta_frame_get_speed_ned(
    meta: *mut vmeta_frame,
    speed: *mut vmeta_ned,
) -> c_int
Expand description

Get the drone speed in NED (North-East-Down) from a frame metadata structure. The function fills the speed structure with the drone speed if it is available according to the metadata type. If the speed is not available for the given type, -ENOENT is returned. @param meta: pointer to a frame metadata structure @param speed: pointer to a drone speed structure (output) @return 0 on success, negative errno value in case of error