Hello everyone,
I´m doing SITL Simulation of a quadplane. I use a Matlab physics model and Cygwin/MAVProxy to connect and run with the firmware. The way it is described in the Ardupilot SITL Matlab example.
I want to verify my SITL environment. I have flight data of an aircraft which is controlled by a flightcontroller on whose the ardupilot firmware runs. For the verification i’d use a Matlab Script which sends the RCIN values, of the flight data, to the firmware with the needed information of the JSON format. To then compare the PWM values that are send back by the firmware with the PWM values of the flight data.
My question is if someone knows how to send these RCIN commands to the firmware automatically every time the JSON format is send? I’ve read that it’s possible to extend the JSON format, is this the way to go?
Thanks for your answers in advance!