CreateControllerFromFile

virtual void ISystem::CreateControllerFromFile(const std::string &filename, const std::string &sn, uint32_t id, const SSimulatorSettings &settings) = 0

Creates a simulated top-controller from an XML controller description stored in file.

Parameters
  • filename – Name of file containing XML controller description.

  • sn – Serial number of the simulated top-controller.

  • id – ID of the simulated top-controller, ignored if top-controller does not support an ID.

  • settings – SSimulatorSettings containing simulator configuration settings.

Throws