When flying in AUTO mode with ArduPlane, I can see the waypoint number in Mission Planner. However, when I check the .bin log files, I’m not sure how to find the corresponding waypoint number values. I want to make a plot WPNo vs Time.
Could someone guide me on how to see or extract the waypoint number from the .bin files?
If you want to see the waypoint details by index, type mission into the command line after loading the log file.
If you want to see when the vehicle processed each mission item, type messages to get a timestamped list of STATUSTEXT messages sent to the GCS.
EDIT: After reading your edit, I think MISE.CNum is the field you’re looking to plot. Make sure “Mission Commands” is selected in the LOG_BITMASK parameter.
Thank you, Yuri. I was wondering—if I change the mission during a flight, is there a way to see the original mission (before the change) in the .bin log file?
You can track the individual missions by selecting the appropriate area in the Mission Planner log file graph. Without zooming in, you can see all the waypoints on the map. In this example, there are waypoints for two missions.
The data should therefore be stored. Mavexplorer extracts the first mission using the command “mission” (However, I only have the Windows version of Mavexplorer available at the moment, and not the latest one).