Public Member Functions | Public Attributes | List of all members
TestControllers Class Referenceabstract

#include <test_controllers.hpp>

Inheritance diagram for TestControllers:
Inheritance graph
[legend]

Public Member Functions

virtual double compute_output (double input, double current_position)=0
 
void init ()
 
virtual void init_controller ()=0
 
 TestControllers ()
 
virtual ~TestControllers ()
 

Public Attributes

boost::shared_ptr< sr_actuator::SrMotorActuatoractuator
 
boost::shared_ptr< controller::SrControllercontroller
 
boost::shared_ptr< pr2_hardware_interface::HardwareInterface > hw
 
pr2_mechanism_model::JointState * joint_state
 
boost::shared_ptr< tinyxml2::XMLDocument > model
 
boost::shared_ptr< pr2_mechanism_model::Robot > robot
 
boost::shared_ptr< pr2_mechanism_model::RobotState > robot_state
 

Detailed Description

Definition at line 39 of file test_controllers.hpp.

Constructor & Destructor Documentation

◆ TestControllers()

TestControllers::TestControllers ( )

Definition at line 29 of file test_controllers.cpp.

◆ ~TestControllers()

TestControllers::~TestControllers ( )
virtual

Definition at line 33 of file test_controllers.cpp.

Member Function Documentation

◆ compute_output()

virtual double TestControllers::compute_output ( double  input,
double  current_position 
)
pure virtual

Implemented in TestJointPositionController.

◆ init()

void TestControllers::init ( )

Definition at line 37 of file test_controllers.cpp.

◆ init_controller()

virtual void TestControllers::init_controller ( )
pure virtual

Implemented in TestJointPositionController.

Member Data Documentation

◆ actuator

boost::shared_ptr<sr_actuator::SrMotorActuator> TestControllers::actuator

Definition at line 57 of file test_controllers.hpp.

◆ controller

boost::shared_ptr<controller::SrController> TestControllers::controller

Definition at line 52 of file test_controllers.hpp.

◆ hw

boost::shared_ptr<pr2_hardware_interface::HardwareInterface> TestControllers::hw

Definition at line 53 of file test_controllers.hpp.

◆ joint_state

pr2_mechanism_model::JointState* TestControllers::joint_state

Definition at line 58 of file test_controllers.hpp.

◆ model

boost::shared_ptr<tinyxml2::XMLDocument> TestControllers::model

Definition at line 56 of file test_controllers.hpp.

◆ robot

boost::shared_ptr<pr2_mechanism_model::Robot> TestControllers::robot

Definition at line 54 of file test_controllers.hpp.

◆ robot_state

boost::shared_ptr<pr2_mechanism_model::RobotState> TestControllers::robot_state

Definition at line 55 of file test_controllers.hpp.


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


sr_mechanism_controllers
Author(s): Ugo Cupcic
autogenerated on Mon Feb 28 2022 23:52:31