#include <multi_joint_velocity_controller.h>
Public Member Functions | |
bool | init (pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n) |
MultiJointVelocityController () | |
void | starting () |
void | update () |
~MultiJointVelocityController () | |
Private Member Functions | |
void | commandCB (const std_msgs::Float64MultiArray::ConstPtr &msg) |
Private Attributes | |
std::vector< double > | command_ |
boost::mutex | command_mutex_ |
boost::scoped_ptr < realtime_tools::RealtimePublisher < pr2_controllers_msgs::JointTrajectoryControllerState > > | controller_state_publisher_ |
std::vector < pr2_mechanism_model::JointState * > | joints_ |
ros::Time | last_time_ |
int | loop_count_ |
ros::NodeHandle | node_ |
std::vector< boost::shared_ptr < filters::FilterChain< double > > > | output_filters_ |
std::vector< control_toolbox::Pid > | pids_ |
pr2_mechanism_model::RobotState * | robot_ |
ros::Subscriber | sub_command_ |
Definition at line 59 of file multi_joint_velocity_controller.h.
Definition at line 44 of file multi_joint_velocity_controller.cpp.
Definition at line 49 of file multi_joint_velocity_controller.cpp.
void controller::MultiJointVelocityController::commandCB | ( | const std_msgs::Float64MultiArray::ConstPtr & | msg | ) | [private] |
Definition at line 200 of file multi_joint_velocity_controller.cpp.
bool controller::MultiJointVelocityController::init | ( | pr2_mechanism_model::RobotState * | robot, |
ros::NodeHandle & | n | ||
) | [virtual] |
Implements pr2_controller_interface::Controller.
Definition at line 54 of file multi_joint_velocity_controller.cpp.
void controller::MultiJointVelocityController::starting | ( | ) | [virtual] |
Reimplemented from pr2_controller_interface::Controller.
Definition at line 144 of file multi_joint_velocity_controller.cpp.
void controller::MultiJointVelocityController::update | ( | void | ) | [virtual] |
Implements pr2_controller_interface::Controller.
Definition at line 154 of file multi_joint_velocity_controller.cpp.
std::vector<double> controller::MultiJointVelocityController::command_ [private] |
Definition at line 93 of file multi_joint_velocity_controller.h.
Definition at line 92 of file multi_joint_velocity_controller.h.
boost::scoped_ptr< realtime_tools::RealtimePublisher< pr2_controllers_msgs::JointTrajectoryControllerState> > controller::MultiJointVelocityController::controller_state_publisher_ [private] |
Definition at line 87 of file multi_joint_velocity_controller.h.
std::vector<pr2_mechanism_model::JointState*> controller::MultiJointVelocityController::joints_ [private] |
Definition at line 75 of file multi_joint_velocity_controller.h.
Definition at line 74 of file multi_joint_velocity_controller.h.
int controller::MultiJointVelocityController::loop_count_ [private] |
Definition at line 72 of file multi_joint_velocity_controller.h.
Definition at line 80 of file multi_joint_velocity_controller.h.
std::vector<boost::shared_ptr<filters::FilterChain<double> > > controller::MultiJointVelocityController::output_filters_ [private] |
Definition at line 78 of file multi_joint_velocity_controller.h.
Definition at line 76 of file multi_joint_velocity_controller.h.
Definition at line 73 of file multi_joint_velocity_controller.h.
Definition at line 83 of file multi_joint_velocity_controller.h.