13 #include <ecl/time.hpp>    14 #include <ecl/sigslots.hpp>    15 #include <ecl/command_line.hpp>    30     xbot.init(parameters);
    55 int main(
int argc, 
char** argv)
    57   ecl::CmdLine cmd_line(
"version_info program", 
' ', 
"0.2");
    59   cmd_line.
add(device_port);
    60   cmd_line.
parse(argc, argv);
    63   std::cout << 
"Version Info:" << 
std::endl;
    66   while (!xbot_manager.isAcquired());
    68   std::cout << 
" * Firmware Version: " << xbot_manager.getFirmwareVersion() << 
std::endl;
    69   std::cout << 
" * Software Version: " << xbot_manager.getSoftwareVersion() << 
std::endl;
    70   std::cout << 
" * Unique Device ID: " << xbot_manager.getUDID() << 
std::endl;
 
std::string base_port
The serial device port name [/dev/xbot]. 
Parameter list and validator for the xbot. 
std::string sigslots_namespace
The first part of a sigslot connection namespace ["/xbot"]. 
XbotManager(const std::string &device_port)
Device driver core interface. 
Keyboard remote control for our robot core (mobile base). 
std::string & getFirmwareVersion()
std::string & getSoftwareVersion()
int main(int argc, char **argv)
Manages the command line parsing object. 
std::string & getHardwareVersion()
void parse(int argc, char **argv)
The core xbot driver class.