#include <controller_to_csv.h>
Definition at line 51 of file controller_to_csv.h.
ros_control_boilerplate::ControllerToCSV::ControllerToCSV |
( |
const std::string & |
topic | ) |
|
Constructor.
- Parameters
-
topic | - ROS message to listen to from controller |
Definition at line 51 of file controller_to_csv.cpp.
ros_control_boilerplate::ControllerToCSV::~ControllerToCSV |
( |
| ) |
|
bool ros_control_boilerplate::ControllerToCSV::recordAll |
( |
| ) |
|
Whether to record at a specific frequency, or record all incoming data.
Definition at line 88 of file controller_to_csv.cpp.
void ros_control_boilerplate::ControllerToCSV::startRecording |
( |
const std::string & |
file_name | ) |
|
void ros_control_boilerplate::ControllerToCSV::stateCB |
( |
const control_msgs::JointTrajectoryControllerState::ConstPtr & |
state | ) |
|
|
private |
void ros_control_boilerplate::ControllerToCSV::stopRecording |
( |
| ) |
|
void ros_control_boilerplate::ControllerToCSV::update |
( |
const ros::TimerEvent & |
e | ) |
|
|
private |
bool ros_control_boilerplate::ControllerToCSV::waitForSubscriber |
( |
const ros::Subscriber & |
sub, |
|
|
const double & |
wait_time = 10.0 |
|
) |
| |
|
private |
bool ros_control_boilerplate::ControllerToCSV::writeToFile |
( |
| ) |
|
|
private |
control_msgs::JointTrajectoryControllerState ros_control_boilerplate::ControllerToCSV::current_state_ |
|
private |
std::string ros_control_boilerplate::ControllerToCSV::file_name_ |
|
private |
bool ros_control_boilerplate::ControllerToCSV::first_update_ |
|
private |
std::string ros_control_boilerplate::ControllerToCSV::name_ = "controller_to_csv" |
|
private |
ros::Timer ros_control_boilerplate::ControllerToCSV::non_realtime_loop_ |
|
private |
double ros_control_boilerplate::ControllerToCSV::record_hz_ |
|
private |
bool ros_control_boilerplate::ControllerToCSV::recording_started_ |
|
private |
std::vector<control_msgs::JointTrajectoryControllerState> ros_control_boilerplate::ControllerToCSV::states_ |
|
private |
std::vector<ros::Time> ros_control_boilerplate::ControllerToCSV::timestamps_ |
|
private |
The documentation for this class was generated from the following files: