19 #ifndef DRIVER_HELPERS_HPP 20 #define DRIVER_HELPERS_HPP 24 #include <naoqi_bridge_msgs/RobotInfo.h> 26 #include <naoqi_bridge_msgs/SetString.h> 28 #include <qi/applicationsession.hpp> 39 const robot::NaoqiVersion&
getNaoqiVersion(
const qi::SessionPtr& session );
41 const naoqi_bridge_msgs::RobotInfo&
getRobotInfo(
const qi::SessionPtr& session );
43 bool&
setLanguage(
const qi::SessionPtr& session, naoqi_bridge_msgs::SetStringRequest req );
45 std::string&
getLanguage(
const qi::SessionPtr& session );
50 const robot::NaoqiVersion& naoqi_version,
const naoqi_bridge_msgs::RobotInfo & getRobotInfo(const qi::SessionPtr &session)
const robot::NaoqiVersion & getNaoqiVersion(const qi::SessionPtr &session)
Function that retrieves the NAOqi version of the robot.
bool isDepthStereo(const qi::SessionPtr &session)
std::string & getLanguage(const qi::SessionPtr &session)
bool & setLanguage(const qi::SessionPtr &session, naoqi_bridge_msgs::SetStringRequest req)
const robot::Robot & getRobot(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 ...