Interesting Waypoint Issue

I have been having this problem for a few days now.


When I write waypoints, the mission planner seems to work fine.

However, when I read them back, the waypoints are a combination of the waypoints I have just written and previous flights.


This results in scary things happening in the air.


Sometimes, when I read them back, it all looks correct, however the plane is clearly following a previous mission.

I get no errors when reading or writing waypoints.

Has anyone come across this before.

Is it an APM or mission planner issue.


I'm running 2.4 Arduplane code and mavlink 1.0 (was doing it on 0.9 as well so I upgraded).

Any ideas on how to track down what is causing this?

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

Join diydrones

Email me when people reply –

Replies

  • some more digging on this.

    when I remove the home location and reset it again, it worked ok.

  • This is what I get in the logs when trying to write waypoints...

    bps 1736 loss 1 left 537 mem 42.5751953125
    bps 1672 loss 1 left 601 mem 42.7392578125
    bps 1672 loss 1 left 601 mem 42.9736328125
    INFO ArdupilotMega.MAVLink - setWPTotal Retry 3
    INFO ArdupilotMega.MAVLink - setWP 0 frame 0 cmd 16 p1 0 x -40.95559 y 175.6727 z 180
    bps 1175 loss 1 left 0 mem 43.0908203125
    INFO ArdupilotMega.MAVLink - set wp fail doing 0 req 0 ACK 47 or REQ 40 : 40 seq 0 ts 1 tc 1
    bps 12 loss 1 left 29 mem 43.1455078125
    INFO ArdupilotMega.MAVLink - set wp doing 0 req 1 REQ 40 : 40
    INFO ArdupilotMega.MAVLink - setWP 1 frame 3 cmd 22 p1 0 x -40.95667 y 175.6739 z 50
    INFO ArdupilotMega.MAVLink - set wp fail doing 1 req 1 ACK 47 or REQ 40 : 40 seq 1 ts 1 tc 1
    INFO ArdupilotMega.MAVLink - set wp fail doing 1 req 1 ACK 47 or REQ 40 : 40 seq 1 ts 1 tc 1
    INFO ArdupilotMega.MAVLink - setWP Retry 6
    bps 579 loss 1 left 1146 mem 43.2783203125
    INFO ArdupilotMega.MAVLink - set wp 1 ACK 47 : 47 ans MAV_MISSION_ERROR
    INFO ArdupilotMega.MAVLink - setWP 2 frame 3 cmd 16 p1 0 x -40.96093 y 175.6794 z 50
    bps 1157 loss 1 left 1163 mem 43.3955078125
    INFO ArdupilotMega.MAVLink - set wp 2 ACK 47 : 47
    INFO ArdupilotMega.MAVLink - setWP 3 frame 3 cmd 16 p1 0 x -40.95359 y 175.6676 z 50
    INFO ArdupilotMega.MAVLink - set wp 3 ACK 47 : 47 ans MAV_MISSION_ERROR

This reply was deleted.

Activity