Functions | |
| std::string & | getLanguage (const qi::SessionPtr &session) |
| const robot::NaoqiVersion & | getNaoqiVersion (const qi::SessionPtr &session) |
| Function that retrieves the NAOqi version of the robot. More... | |
| const robot::Robot & | getRobot (const qi::SessionPtr &session) |
| const naoqi_bridge_msgs::RobotInfo & | getRobotInfo (const qi::SessionPtr &session) |
| static naoqi_bridge_msgs::RobotInfo & | getRobotInfoLocal (const qi::SessionPtr &session) |
| bool | isDepthStereo (const qi::SessionPtr &session) |
| bool | isNaoqiVersionLesser (const robot::NaoqiVersion &naoqi_version, const int &major, const int &minor, const int &patch, const int &build) |
| Function that returns true if the provided naoqi_version is (strictly) lesser than the specified one (major.minor.patch.build). More... | |
| bool & | setLanguage (const qi::SessionPtr &session, naoqi_bridge_msgs::SetStringRequest req) |
Variables | |
| static pt::ptree | empty_ptree |
| std::string & naoqi::helpers::driver::getLanguage | ( | const qi::SessionPtr & | session | ) |
Function that gets language set to a robot
Definition at line 361 of file driver_helpers.cpp.
| const robot::NaoqiVersion & naoqi::helpers::driver::getNaoqiVersion | ( | const qi::SessionPtr & | session | ) |
Function that retrieves the NAOqi version of the robot.
| session |
Definition at line 280 of file driver_helpers.cpp.
| const robot::Robot & naoqi::helpers::driver::getRobot | ( | const qi::SessionPtr & | session | ) |
Definition at line 254 of file driver_helpers.cpp.
| const naoqi_bridge_msgs::RobotInfo & naoqi::helpers::driver::getRobotInfo | ( | const qi::SessionPtr & | session | ) |
Definition at line 335 of file driver_helpers.cpp.
|
static |
Function that returns the type of a robot
Definition at line 34 of file driver_helpers.cpp.
| bool naoqi::helpers::driver::isDepthStereo | ( | const qi::SessionPtr & | session | ) |
Function that detects if the robot is using stereo cameras to compute depth
Definition at line 373 of file driver_helpers.cpp.
| bool naoqi::helpers::driver::isNaoqiVersionLesser | ( | const robot::NaoqiVersion & | naoqi_version, |
| const int & | major, | ||
| const int & | minor, | ||
| const int & | patch, | ||
| const int & | build | ||
| ) |
Function that returns true if the provided naoqi_version is (strictly) lesser than the specified one (major.minor.patch.build).
| naoqi_version | |
| major | |
| minor | |
| patch | |
| build |
Definition at line 408 of file driver_helpers.cpp.
| bool & naoqi::helpers::driver::setLanguage | ( | const qi::SessionPtr & | session, |
| naoqi_bridge_msgs::SetStringRequest | req | ||
| ) |
Function that sets language for a robot
Definition at line 343 of file driver_helpers.cpp.
|
static |
Definition at line 30 of file driver_helpers.cpp.