Public Member Functions | List of all members
orca_ros::optim::RosController Class Reference

#include <RosController.h>

+ Inheritance diagram for orca_ros::optim::RosController:
+ Collaboration diagram for orca_ros::optim::RosController:

Public Member Functions

 RosController (const std::string &robot_name, std::shared_ptr< orca::optim::Controller > c, bool attach_torque_publish_callback=false)
 
virtual ~RosController ()
 
bool getNameService (orca_ros::GetString::Request &req, orca_ros::GetString::Response &res)
 
bool printService (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
 
bool setPrintLevelService (orca_ros::SetInt::Request &req, orca_ros::SetInt::Response &res)
 
bool updateService (orca_ros::UpdateController::Request &req, orca_ros::UpdateController::Response &res)
 
bool addTaskService (orca_ros::AddTask::Request &req, orca_ros::AddTask::Response &res)
 
bool addConstraintService (orca_ros::AddConstraint::Request &req, orca_ros::AddConstraint::Response &res)
 
bool getSolutionService (orca_ros::GetMatrix::Request &req, orca_ros::GetMatrix::Response &res)
 
bool getJointTorqueCommandService (orca_ros::GetMatrix::Request &req, orca_ros::GetMatrix::Response &res)
 
bool getJointAccelerationCommandService (orca_ros::GetMatrix::Request &req, orca_ros::GetMatrix::Response &res)
 
bool activateTasksAndConstraintsService (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
 
bool deactivateTasksAndConstraintsService (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
 
bool tasksAndConstraintsDeactivatedService (orca_ros::GetBool::Request &req, orca_ros::GetBool::Response &res)
 
- Public Member Functions inherited from orca_ros::common::RosWrapperBase
 RosWrapperBase (const std::string &robot_name, const std::string &controller_name="", const std::string &obj_name="", const std::string &generic_prefix="")
 
virtual ~RosWrapperBase ()
 
std::string getRobotName ()
 
std::string getControllerName ()
 
std::string getGenericPrefix ()
 
std::string getObjectName ()
 
std::shared_ptr< ros::NodeHandle > getNodeHandle ()
 
std::string getNamespacePrefix ()
 
std::string getRobotNamespacePrefix ()
 

Constructor & Destructor Documentation

RosController::RosController ( const std::string &  robot_name,
std::shared_ptr< orca::optim::Controller >  c,
bool  attach_torque_publish_callback = false 
)
RosController::~RosController ( )
virtual

Member Function Documentation

bool RosController::activateTasksAndConstraintsService ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
)
bool RosController::addConstraintService ( orca_ros::AddConstraint::Request &  req,
orca_ros::AddConstraint::Response &  res 
)
bool RosController::addTaskService ( orca_ros::AddTask::Request &  req,
orca_ros::AddTask::Response &  res 
)
bool RosController::deactivateTasksAndConstraintsService ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
)
bool RosController::getJointAccelerationCommandService ( orca_ros::GetMatrix::Request &  req,
orca_ros::GetMatrix::Response &  res 
)
bool RosController::getJointTorqueCommandService ( orca_ros::GetMatrix::Request &  req,
orca_ros::GetMatrix::Response &  res 
)
bool RosController::getNameService ( orca_ros::GetString::Request &  req,
orca_ros::GetString::Response &  res 
)
bool RosController::getSolutionService ( orca_ros::GetMatrix::Request &  req,
orca_ros::GetMatrix::Response &  res 
)
bool RosController::printService ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
)
bool RosController::setPrintLevelService ( orca_ros::SetInt::Request &  req,
orca_ros::SetInt::Response &  res 
)
bool RosController::tasksAndConstraintsDeactivatedService ( orca_ros::GetBool::Request &  req,
orca_ros::GetBool::Response &  res 
)
bool RosController::updateService ( orca_ros::UpdateController::Request &  req,
orca_ros::UpdateController::Response &  res 
)

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