hi, i need help to get the data of GPS raw from APM. i tried using


mavlink_msg_request_data_stream_pack(mavlink_system.sysid, MAV_COMP_ID_GPS , &msg, 1,1,MAV_DATA_STREAM_RAW_SENSORS, MSG_RATE, START); in the program. and i still cannot get the data of latitude and longitude from the GPS. the GPS module is  from 3DR. the gps fix type is keep showing value of 1 instead 3. how can i get the gps fix type as 3?

MSG RATE i defined as 10, START defined as 1 in the program

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Activity