Hardware-in-the-loop simulation - HIL - simulation

How can make Hardware-in-the-loop simulation - HIL - simulation by Arduino

useing APM

How can I create this??

HI bro!what about your HIL?I want to learn HIL too,but I have a lot of question.