ALLauncher API

NAOqi Core - Overview | API


Namespace : AL

#include <alproxies/allauncherproxy.h>

Methods

std::vector<std::string> ALLauncherProxy::getGlobalModuleList()

Get the list of modules loaded on the robot and connected on the robot

Returns:An array of present modules.
bool ALLauncherProxy::isModulePresent(const std::string& moduleName)

Tests the existence of an active module in the global system (in same executable or in another executable of the distributed system).

Parameters:
  • moduleName – The name of the module
Returns:

True if the module is present, false otherwise.

bool ALLauncherProxy::launchExecutable(const std::string& name)

Run an executable and connect it to current broker.

Parameters:
  • name – The full path to the exectuable or just the name of the exectuable if it is into the standard sdk path (using qi::path::findBin).
Returns:

True if the exectuable started, false otherwise.

std::vector<std::string> ALLauncherProxy::launchLocal(const std::string& moduleName)

Loads dynamicaly a module.

Parameters:
  • moduleName – The full path to the module or just the name of the module if it is into the standard sdk path (using qi::path::findLib).
Returns:

List of modules that wasn’t already load.

bool ALLauncherProxy::launchPythonModule(const std::string& pythonModule)

Import a python module into NAOqi.

Parameters:
  • pythonModule – The name of the module to import.
Returns:

True if the module loaded fine, false otherwise.

bool ALLauncherProxy::launchScript(const std::string& scriptPath)

Run an executable and connect it to current broker.

Parameters:
  • scriptPath – The full path to the script or just the name of the script if it is into the standard sdk path (using qi::path::findBin).
Returns:

True if the exectuable started, false otherwise.