JSON interfaceΒΆ

The JSON interface is designed to be easy to implement for those developing new physics backend. It provides a plain text return to ArduPilot with easily configurable fields. The interface uses UDP communication and is launched using sim_vehichle.py -f JSON: or with the vehicle executable --model json: where, if necessary, is replaced by the IP of the machine where the physics backend is running.

The JSON interface has examples in Python, MATLAB with Simulink, and C++. These along with a detailed description of the protocol can be found in the ArduPilot repository.