Robotics Library  0.7.0
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
rl::hal::UniversalRobotsDashboard Class Reference

Universal Robots dashboard server. More...

#include <UniversalRobotsDashboard.h>

Inheritance diagram for rl::hal::UniversalRobotsDashboard:
Inheritance graph
[legend]

Public Types

enum  ProgramState { PROGRAM_STATE_STOPPED, PROGRAM_STATE_PLAYING, PROGRAM_STATE_PAUSED }
 
enum  RobotMode {
  ROBOT_MODE_NO_CONTROLLER, ROBOT_MODE_DISCONNECTED, ROBOT_MODE_CONFIRM_SAFETY, ROBOT_MODE_BOOTING,
  ROBOT_MODE_POWER_OFF, ROBOT_MODE_POWER_ON, ROBOT_MODE_IDLE, ROBOT_MODE_BACKDRIVE,
  ROBOT_MODE_RUNNING
}
 
enum  SafetyMode {
  SAFETY_MODE_NORMAL, SAFETY_MODE_REDUCED, SAFETY_MODE_PROTECTIVE_STOP, SAFETY_MODE_RECOVERY,
  SAFETY_MODE_SAFEGUARD_STOP, SAFETY_MODE_SYSTEM_EMERGENCY_STOP, SAFETY_MODE_ROBOT_EMERGENCY_STOP, SAFETY_MODE_VIOLATION,
  SAFETY_MODE_FAULT
}
 

Public Member Functions

 UniversalRobotsDashboard (const ::std::string &address)
 
virtual ~UniversalRobotsDashboard ()
 
void close ()
 
void doAddToLog (const ::std::string &message)
 
void doBrakeRelease ()
 
void doClosePopup ()
 
void doCloseSafetyPopup ()
 
::std::string doGetLoadedProgram ()
 
::std::pair< bool, ::std::string > doIsProgramSaved ()
 
void doLoad (const ::std::string &program)
 
void doLoadInstallation (const ::std::string &installation)
 
void doPause ()
 
void doPlay ()
 
::std::string doPolyscopeVersion ()
 
void doPopup (const ::std::string &text)
 
void doPowerOff ()
 
void doPowerOn ()
 
::std::pair< ProgramState, ::std::string > doProgramState ()
 
RobotMode doRobotmode ()
 
bool doRunning ()
 
SafetyMode doSafetymode ()
 
void doShutdown ()
 
void doStop ()
 
void doQuit ()
 
void doUnlockProtectiveStop ()
 
void open ()
 
- Public Member Functions inherited from rl::hal::Com
 Com ()
 
virtual ~Com ()
 
bool isConnected () const
 

Private Member Functions

void send (const ::std::string &command)
 

Private Attributes

Socket socket
 

Additional Inherited Members

- Protected Member Functions inherited from rl::hal::Com
void setConnected (const bool &connected)
 

Detailed Description

Universal Robots dashboard server.

Member Enumeration Documentation

◆ ProgramState

Enumerator
PROGRAM_STATE_STOPPED 
PROGRAM_STATE_PLAYING 
PROGRAM_STATE_PAUSED 

◆ RobotMode

Enumerator
ROBOT_MODE_NO_CONTROLLER 
ROBOT_MODE_DISCONNECTED 
ROBOT_MODE_CONFIRM_SAFETY 
ROBOT_MODE_BOOTING 
ROBOT_MODE_POWER_OFF 
ROBOT_MODE_POWER_ON 
ROBOT_MODE_IDLE 
ROBOT_MODE_BACKDRIVE 
ROBOT_MODE_RUNNING 

◆ SafetyMode

Enumerator
SAFETY_MODE_NORMAL 
SAFETY_MODE_REDUCED 
SAFETY_MODE_PROTECTIVE_STOP 
SAFETY_MODE_RECOVERY 
SAFETY_MODE_SAFEGUARD_STOP 
SAFETY_MODE_SYSTEM_EMERGENCY_STOP 
SAFETY_MODE_ROBOT_EMERGENCY_STOP 
SAFETY_MODE_VIOLATION 
SAFETY_MODE_FAULT 

Constructor & Destructor Documentation

◆ UniversalRobotsDashboard()

rl::hal::UniversalRobotsDashboard::UniversalRobotsDashboard ( const ::std::string &  address)

◆ ~UniversalRobotsDashboard()

rl::hal::UniversalRobotsDashboard::~UniversalRobotsDashboard ( )
virtual

Member Function Documentation

◆ close()

void rl::hal::UniversalRobotsDashboard::close ( )
virtual

Implements rl::hal::Com.

◆ doAddToLog()

void rl::hal::UniversalRobotsDashboard::doAddToLog ( const ::std::string &  message)

◆ doBrakeRelease()

void rl::hal::UniversalRobotsDashboard::doBrakeRelease ( )

◆ doClosePopup()

void rl::hal::UniversalRobotsDashboard::doClosePopup ( )

◆ doCloseSafetyPopup()

void rl::hal::UniversalRobotsDashboard::doCloseSafetyPopup ( )

◆ doGetLoadedProgram()

std::string rl::hal::UniversalRobotsDashboard::doGetLoadedProgram ( )

◆ doIsProgramSaved()

std::pair< bool,::std::string > rl::hal::UniversalRobotsDashboard::doIsProgramSaved ( )

◆ doLoad()

void rl::hal::UniversalRobotsDashboard::doLoad ( const ::std::string &  program)

◆ doLoadInstallation()

void rl::hal::UniversalRobotsDashboard::doLoadInstallation ( const ::std::string &  installation)

◆ doPause()

void rl::hal::UniversalRobotsDashboard::doPause ( )

◆ doPlay()

void rl::hal::UniversalRobotsDashboard::doPlay ( )

◆ doPolyscopeVersion()

std::string rl::hal::UniversalRobotsDashboard::doPolyscopeVersion ( )

◆ doPopup()

void rl::hal::UniversalRobotsDashboard::doPopup ( const ::std::string &  text)

◆ doPowerOff()

void rl::hal::UniversalRobotsDashboard::doPowerOff ( )

◆ doPowerOn()

void rl::hal::UniversalRobotsDashboard::doPowerOn ( )

◆ doProgramState()

std::pair< UniversalRobotsDashboard::ProgramState,::std::string > rl::hal::UniversalRobotsDashboard::doProgramState ( )

◆ doQuit()

void rl::hal::UniversalRobotsDashboard::doQuit ( )

◆ doRobotmode()

UniversalRobotsDashboard::RobotMode rl::hal::UniversalRobotsDashboard::doRobotmode ( )

◆ doRunning()

bool rl::hal::UniversalRobotsDashboard::doRunning ( )

◆ doSafetymode()

UniversalRobotsDashboard::SafetyMode rl::hal::UniversalRobotsDashboard::doSafetymode ( )

◆ doShutdown()

void rl::hal::UniversalRobotsDashboard::doShutdown ( )

◆ doStop()

void rl::hal::UniversalRobotsDashboard::doStop ( )

◆ doUnlockProtectiveStop()

void rl::hal::UniversalRobotsDashboard::doUnlockProtectiveStop ( )

◆ open()

void rl::hal::UniversalRobotsDashboard::open ( )
virtual

Implements rl::hal::Com.

◆ send()

void rl::hal::UniversalRobotsDashboard::send ( const ::std::string &  command)
private

Member Data Documentation

◆ socket

Socket rl::hal::UniversalRobotsDashboard::socket
private

The documentation for this class was generated from the following files: