Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
fsrobo_r_driver::robot_configurator::RobotConfigurator Class Reference

Wrapper class around FSRobo-R-specific configuration commands. More...

#include <robot_configurator.h>

Public Member Functions

bool getPosture (industrial::shared_types::shared_int &posture, bool &result)
 Get posture on the controller. More...
 
bool init (SmplMsgConnection *connection)
 
 RobotConfigurator ()
 Default constructor. More...
 
bool setPosture (industrial::shared_types::shared_int posture, bool &result)
 Set posture on the controller. More...
 
bool setToolOffset (industrial::shared_types::shared_real x, industrial::shared_types::shared_real y, industrial::shared_types::shared_real z, industrial::shared_types::shared_real rz, industrial::shared_types::shared_real ry, industrial::shared_types::shared_real rx, bool &result)
 Set tool offset on the controller. More...
 

Protected Member Functions

bool sendAndReceiveGetPostureMsg (industrial::shared_types::shared_int &posture, bool &result)
 
bool sendAndReceiveSetPostureMsg (industrial::shared_types::shared_int posture, bool &result)
 
bool sendAndReceiveSetToolOffsetMsg (industrial::shared_types::shared_real x, industrial::shared_types::shared_real y, industrial::shared_types::shared_real z, industrial::shared_types::shared_real rz, industrial::shared_types::shared_real ry, industrial::shared_types::shared_real rx, bool &result)
 

Protected Attributes

SmplMsgConnectionconnection_
 

Detailed Description

Wrapper class around FSRobo-R-specific configuration commands.

Definition at line 45 of file robot_configurator.h.

Constructor & Destructor Documentation

fsrobo_r_driver::robot_configurator::RobotConfigurator::RobotConfigurator ( )
inline

Default constructor.

Definition at line 51 of file robot_configurator.h.

Member Function Documentation

bool fsrobo_r_driver::robot_configurator::RobotConfigurator::getPosture ( industrial::shared_types::shared_int posture,
bool &  result 
)

Get posture on the controller.

Parameters
posture
resultTrue IFF getting was successful
Returns
True IFF message sending was successful

Definition at line 100 of file robot_configurator.cpp.

bool fsrobo_r_driver::robot_configurator::RobotConfigurator::init ( SmplMsgConnection connection)

Definition at line 60 of file robot_configurator.cpp.

bool fsrobo_r_driver::robot_configurator::RobotConfigurator::sendAndReceiveGetPostureMsg ( industrial::shared_types::shared_int posture,
bool &  result 
)
protected

Definition at line 111 of file robot_configurator.cpp.

bool fsrobo_r_driver::robot_configurator::RobotConfigurator::sendAndReceiveSetPostureMsg ( industrial::shared_types::shared_int  posture,
bool &  result 
)
protected

Definition at line 77 of file robot_configurator.cpp.

bool fsrobo_r_driver::robot_configurator::RobotConfigurator::sendAndReceiveSetToolOffsetMsg ( industrial::shared_types::shared_real  x,
industrial::shared_types::shared_real  y,
industrial::shared_types::shared_real  z,
industrial::shared_types::shared_real  rz,
industrial::shared_types::shared_real  ry,
industrial::shared_types::shared_real  rx,
bool &  result 
)
protected

Definition at line 146 of file robot_configurator.cpp.

bool fsrobo_r_driver::robot_configurator::RobotConfigurator::setPosture ( industrial::shared_types::shared_int  posture,
bool &  result 
)

Set posture on the controller.

Parameters
posture
resultTrue IFF setting was successful
Returns
True IFF message sending was successful

Definition at line 66 of file robot_configurator.cpp.

Set tool offset on the controller.

Parameters
x
y
z
rz
ry
rx
resultTrue IFF setting was successful
Returns
True IFF message sending was successful

Definition at line 135 of file robot_configurator.cpp.

Member Data Documentation

SmplMsgConnection* fsrobo_r_driver::robot_configurator::RobotConfigurator::connection_
protected

Definition at line 95 of file robot_configurator.h.


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


fsrobo_r_driver
Author(s): F-ROSROBO
autogenerated on Sun Feb 9 2020 03:58:29