Patent attributes
A method of debugging quadcopter piloting code includes coupling an Artificial Intelligence (AI) controller configured with AI piloting code to a workstation having a quadcopter simulator and initiating piloting of a simulated quadcopter of the quadcopter simulator by the AI piloting code of the AI controller. Operations of the quadcopter simulator are logged, and communications timestamped. Subsequently, in response to an AI piloting code event at an event time, the event time is determined from a timestamped communication and a logged operation of the quadcopter simulator having a timestamp corresponding to the event time is found. The quadcopter simulator is rewound to at least the logged operation and one or more operations of the quadcopter simulator and the AI piloting code are stepped through to identify AI piloting code errors relating to the AI piloting code event.