Get position by using PX4Flow

does anybody know how to get the position by using PX4flow, because im using the get_pos_offset from OpticalFlow.h and receive a 0 vector.