Today we were mapping a quarry with our new DJI p4p using a simple grid flight plan, however when the aircraft reached the end of its first flight line it would leave the mission and start coming back to land without any prompting. In another instance once the p4p had reached the end of of one of the flight line it would just start to hover and not continue with the mission. In some cases pausing the mission and restarting it would help slightly but the UAS would inevitable leave the mission and start trying to come back to land. In one case we tried to pause and restart the mission this lead to a loss of GPS signal and the aircraft refusing to carry on with the mission.
Any help would be appreciated.