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:127.0.0.1 or with the vehicle executable --model json:127.0.0.1 where, if necessary, 127.0.0.1 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.