The invention discloses an in-loop testing
system and method for a real vehicle. According to one specific embodiment of the invention, the
system comprises a sensor which is used for obtaining the state information and position information of the real vehicle and the information of a
simulation testing environment where the real vehicle is located; an interaction module which is used for responding to an instruction inputted by a user and obtaining a testing task, wherein the
simulation testing environment of the testing task comprises a testing scene, a map and an intelligent body; a vehicle sensing module which is used for obtaining the state information, the position information and the environment information from the sensor; and a testing
task control module which receives the testing task from the interaction module, receives the state information and position information from the vehicle sensing module, enables the state information and the position information to be loaded in the
simulation testing environment, controls the real vehicle to execute the testing task, and generates and transmits a testing result. According to the embodiment of the invention, the testing task can comprise a large number of
simulation testing environments, and the intelligent body can trigger various types of behaviors in the same
simulation testing environment, thereby improving the testing integrity and accuracy.