ΒΆint runRobotInterface(
const std::string& config_path,
std::string name,
const std::atomic<bool>& interrupt)
int runRobotInterface(
const std::string& config_path,
std::string name,
const std::atomic<bool>& interrupt)Description
Entry point of `uri interface`: loads the config file at config_path, then runs a RobotInterface until interrupt is set. A non-empty name overrides the config's 'name'. Returns the process exit code.
Declared at: robot_interface/include/robot_interface/RobotInterface.h:108
Parameters
- const std::string& config_path
- std::string name
- const std::atomic<bool>& interrupt