#include <csv_to_controller.h>
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_ |
Definition at line 57 of file csv_to_controller.h.
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.
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.
std::string ros_control_boilerplate::CSVToController::controller_state_topic_ [private] |
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.
std::string ros_control_boilerplate::CSVToController::file_name_ [private] |
Definition at line 85 of file csv_to_controller.h.
actionlib::SimpleActionClient<control_msgs::FollowJointTrajectoryAction> ros_control_boilerplate::CSVToController::joint_trajectory_action_ [private] |
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.