Public Member Functions | Private Attributes
ros_control_boilerplate::CSVToController Class Reference

#include <csv_to_controller.h>

List of all members.

Public Member Functions

 CSVToController (const std::string &joint_trajectory_action, const std::string &controller_state_topic)
 Constructor.
void loadAndRunCSV (const std::string &file_name)
void printPoint (trajectory_msgs::JointTrajectoryPoint &point)
void stateCB (const control_msgs::JointTrajectoryControllerState::ConstPtr &state)
 Callback from ROS message.

Private Attributes

std::string controller_state_topic_
control_msgs::JointTrajectoryControllerState current_state_
std::string file_name_
actionlib::SimpleActionClient
< control_msgs::FollowJointTrajectoryAction > 
joint_trajectory_action_
ros::NodeHandle nh_
ros::Subscriber state_sub_

Detailed Description

Definition at line 57 of file csv_to_controller.h.


Constructor & Destructor Documentation

ros_control_boilerplate::CSVToController::CSVToController ( const std::string &  joint_trajectory_action,
const std::string &  controller_state_topic 
)

Constructor.

Definition at line 53 of file csv_to_controller.cpp.


Member Function Documentation

void ros_control_boilerplate::CSVToController::loadAndRunCSV ( const std::string &  file_name)

Definition at line 86 of file csv_to_controller.cpp.

void ros_control_boilerplate::CSVToController::printPoint ( trajectory_msgs::JointTrajectoryPoint &  point)

Definition at line 78 of file csv_to_controller.cpp.

void ros_control_boilerplate::CSVToController::stateCB ( const control_msgs::JointTrajectoryControllerState::ConstPtr &  state)

Callback from ROS message.

Definition at line 72 of file csv_to_controller.cpp.


Member Data Documentation

Definition at line 86 of file csv_to_controller.h.

control_msgs::JointTrajectoryControllerState ros_control_boilerplate::CSVToController::current_state_ [private]

Definition at line 89 of file csv_to_controller.h.

Definition at line 85 of file csv_to_controller.h.

Definition at line 82 of file csv_to_controller.h.

Definition at line 76 of file csv_to_controller.h.

Definition at line 79 of file csv_to_controller.h.


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


ros_control_boilerplate
Author(s): Dave Coleman
autogenerated on Thu Jun 6 2019 20:37:19