naoqidriver
Functions | Variables
naoqi::ros_env Namespace Reference

Functions

static std::string getROSIP (std::string network_interface)
 
static void setPrefix (std::string s)
 
static std::string getPrefix ()
 
static void setMasterURI (const std::string &uri, const std::string &network_interface)
 
static std::string getMasterURI ()
 

Variables

static std::string prefix = ""
 

Function Documentation

static std::string naoqi::ros_env::getMasterURI ( )
static
static std::string naoqi::ros_env::getPrefix ( )
static
static std::string naoqi::ros_env::getROSIP ( std::string  network_interface)
static

Queries NAOqi to get the IP

Parameters
network_interfacethe name of the network interface to use. "eth0" by default. If you put your NAO in tethering mode, you will need to put "tether"
static void naoqi::ros_env::setMasterURI ( const std::string &  uri,
const std::string &  network_interface 
)
static
static void naoqi::ros_env::setPrefix ( std::string  s)
static

Variable Documentation

std::string naoqi::ros_env::prefix = ""
static