Keyboard remote control for our robot core (mobile base).  
 More...
Keyboard remote control for our robot core (mobile base). 
Definition at line 14 of file initialisation.cpp.
  
  | 
        
          | XbotManager::XbotManager | ( |  | ) |  |  | inline | 
 
 
  
  | 
        
          | XbotManager::XbotManager | ( |  | ) |  |  | inline | 
 
 
  
  | 
        
          | XbotManager::XbotManager | ( |  | ) |  |  | inline | 
 
 
  
  | 
        
          | XbotManager::~XbotManager | ( |  | ) |  |  | inline | 
 
 
      
        
          | XbotManager::XbotManager | ( |  | ) |  | 
      
 
 
      
        
          | XbotManager::~XbotManager | ( |  | ) |  | 
      
 
 
  
  | 
        
          | XbotManager::XbotManager | ( | const std::string & | device_port | ) |  |  | inline | 
 
 
  
  | 
        
          | XbotManager::~XbotManager | ( |  | ) |  |  | inline | 
 
 
  
  | 
        
          | void XbotManager::decrementAngularVelocity | ( |  | ) |  |  | private | 
 
If not already mined, decrement the angular velocities.. 
Definition at line 342 of file simple_keyop.cpp.
 
 
  
  | 
        
          | void XbotManager::decrementLinearVelocity | ( |  | ) |  |  | private | 
 
If not already minned, decrement the linear velocities.. 
Definition at line 318 of file simple_keyop.cpp.
 
 
  
  | 
        
          | std::string& XbotManager::getFirmwareVersion | ( |  | ) |  |  | inline | 
 
 
  
  | 
        
          | std::string& XbotManager::getHardwareVersion | ( |  | ) |  |  | inline | 
 
 
  
  | 
        
          | std::string& XbotManager::getSoftwareVersion | ( |  | ) |  |  | inline | 
 
 
  
  | 
        
          | std::string& XbotManager::getUDID | ( |  | ) |  |  | inline | 
 
 
  
  | 
        
          | void XbotManager::incrementAngularVelocity | ( |  | ) |  |  | private | 
 
If not already maxxed, increment the angular velocities.. 
Definition at line 330 of file simple_keyop.cpp.
 
 
  
  | 
        
          | void XbotManager::incrementLinearVelocity | ( |  | ) |  |  | private | 
 
If not already maxxed, increment the command velocities.. 
Definition at line 306 of file simple_keyop.cpp.
 
 
      
        
          | bool XbotManager::init | ( |  | ) |  | 
      
 
 
  
  | 
        
          | bool XbotManager::isAcquired | ( |  | ) |  |  | inline | 
 
 
  
  | 
        
          | void XbotManager::keyboardInputLoop | ( |  | ) |  |  | private | 
 
The worker thread function that accepts input keyboard commands. 
This is ok here - but later it might be a good idea to make a node which posts keyboard events to a topic. Recycle common code if used by many! 
Definition at line 217 of file simple_keyop.cpp.
 
 
  
  | 
        
          | void XbotManager::processKeyboardInput | ( | char | c | ) |  |  | private | 
 
Process individual keyboard inputs. 
- Parameters
- 
  
  
Definition at line 251 of file simple_keyop.cpp.
 
 
  
  | 
        
          | void XbotManager::processMotion | ( |  | ) |  |  | inline | 
 
 
  
  | 
        
          | void XbotManager::processStreamData | ( |  | ) |  |  | inline | 
 
 
  
  | 
        
          | void XbotManager::processStreamData | ( |  | ) |  |  | inline | 
 
 
      
        
          | void XbotManager::processStreamData | ( |  | ) |  | 
      
 
 
  
  | 
        
          | void XbotManager::resetVelocity | ( |  | ) |  |  | private | 
 
 
  
  | 
        
          | void XbotManager::restoreTerminal | ( |  | ) |  |  | private | 
 
 
  
  | 
        
          | void XbotManager::spin | ( |  | ) |  |  | inline | 
 
Worker thread loop; sends current velocity command at a fixed rate. 
It also process ros functions as well as aborting when requested. 
Definition at line 32 of file sigslots.cpp.
 
 
      
        
          | void XbotManager::spin | ( |  | ) |  | 
      
 
 
  
  | 
        
          | volatile bool XbotManager::acquired |  | private | 
 
 
  
  | 
        
          | float XbotManager::angular_vel_max |  | private | 
 
 
  
  | 
        
          | float XbotManager::angular_vel_step |  | private | 
 
 
  
  | 
        
          | std::string XbotManager::firmware |  | private | 
 
 
  
  | 
        
          | std::string XbotManager::hardware |  | private | 
 
 
  
  | 
        
          | int XbotManager::key_file_descriptor |  | private | 
 
 
  
  | 
        
          | float XbotManager::linear_vel_max |  | private | 
 
 
  
  | 
        
          | float XbotManager::linear_vel_step |  | private | 
 
 
  
  | 
        
          | std::string XbotManager::name |  | private | 
 
 
  
  | 
        
          | struct termios XbotManager::original_terminal_state |  | private | 
 
 
  
  | 
        
          | bool XbotManager::quit_requested |  | private | 
 
 
  
  | 
        
          | std::string XbotManager::software |  | private | 
 
 
  
  | 
        
          | ecl::Thread XbotManager::thread |  | private | 
 
 
  
  | 
        
          | std::string XbotManager::udid |  | private | 
 
 
The documentation for this class was generated from the following files: