Strange GPS

My log-i PRESS RESET BUTTONArduPilot!!!Waiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for new data flags0060Mot: 0 Yaw: 120 Alt: 0 Crs: 346 Dis: 95 Des: 24Mot: 105 Yaw: 60 Alt: 186 Crs: 352 Dis: 25691 Des: 200Mot: 105 Yaw: 60 Alt: 186 Crs: 12 Dis: 25691 Des: 200Mot: 105 Yaw: 60 Alt: 186 Crs: 16 Dis: 25691 Des: 200Mot: 105 Yaw: 60 Alt: 186 Crs: 2 Dis: 25691 Des: 200Mot: 105 Yaw: 60 Alt: 186 Crs: 8 Dis: 25691 Des: 200i PRESS RESET BUTTONArduPilot!!!Waiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for new data flags0-214748364860Mot: 13880 Yaw: 120 Alt: 0 Crs: 349 Dis: 94 Des: 23Mot: 105 Yaw: 120 Alt: 53385 Crs: 2 Dis: 37296 Des: 92Mot: 75 Yaw: 120 Alt: 53385 Crs: 353 Dis: 37296 Des: 92Mot: 75 Yaw: 120 Alt: 53385 Crs: 351 Dis: 37296 Des: 92Mot: 75 Yaw: 120 Alt: 53385 Crs: 6 Dis: 37296 Des: 92i PRESS RESET BUTTONArduPilot!!!Waiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for new data flags0060Mot: 0 Yaw: 120 Alt: 0 Crs: 355 Dis: 94 Des: 23Mot: 105 Yaw: 60 Alt: 186 Crs: 343 Dis: 25692 Des: 200Mot: 105 Yaw: 60 Alt: 186 Crs: 359 Dis: 25692 Des: 200Mot: 105 Yaw: 60 Alt: 186 Crs: 0 Dis: 25691 Des: 200i PRESS RESET BUTTONArduPilot!!!Waiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for fix positionWaiting for new data flags0060but some time it get right Lat and Loni use em 406 gpsand V1 code21 aprFIXEDOk, i am not C++ guru but i fix this bug.Code:gps_new_data_flag|=0x01; //Update the flag to indicate the new data has arrived.change toif ((lon!=0) && (lat!=0) ){gps_new_data_flag|=0x01; //Update the flag to indicate the new data has arrived.}

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

Join diydrones

Email me when people reply –

Replies

  • Ok, i am not C++ guru but i fix this bug.

    Code:
    gps_new_data_flag|=0x01; //Update the flag to indicate the new data has arrived.

    change to
    if ((lon!=0) && (lat!=0) )
    {
    gps_new_data_flag|=0x01; //Update the flag to indicate the new data has arrived.
    }
  • this log from open space on field
    me help when i power reset better rather then press reset button

    and now i look for- how can i detect fix RIGHT position and alt.
  • Expert,

    I'd have to guess that your GPS is getting a very weak signal. Are you using the gear indoors far from a window, on a bottom floor in a multistory building or when it is raining? Try moving the ArduPilot near a window.

    The large altitude "Alt: 53385", is calculated by err, due to this number being an integer, when the saved "launch altitude" is less than the current GPS altitude. Sometimes this happens to me too when I am testing my ArduPilot indoors.
This reply was deleted.

Activity