#include <joint_imager.h>
Public Member Functions | |
void | displayImage (unsigned int i) |
cv::Mat_< cv::Vec2f > | getJointImage (unsigned int index) const |
JointImager () | |
bool | update (const calibration_msgs::DenseLaserSnapshot &snapshot, const settlerlib::SortedDeque< joint_states_settler::DeflatedJointStates > &cache, const ros::Duration &max_interp=ros::Duration(.25)) |
void | writeImage (unsigned int i, const std::string &filename) |
~JointImager () | |
Protected Member Functions | |
void | allocateImages (unsigned int height, unsigned int width, unsigned int channels) |
bool | computeVelocity (const ros::Time &start, const ros::Time &end, const settlerlib::SortedDeque< joint_states_settler::DeflatedJointStates > &cache, std::vector< double > &result) |
bool | interpPosition (const ros::Time &target, const settlerlib::SortedDeque< joint_states_settler::DeflatedJointStates > &cache, std::vector< double > &result) |
Protected Attributes | |
std::vector< cv::Mat_ < cv::Vec2f > > | images |
Definition at line 46 of file joint_imager.h.
Definition at line 42 of file joint_imager.cpp.
Definition at line 49 of file joint_imager.cpp.
void JointImager::allocateImages | ( | unsigned int | height, |
unsigned int | width, | ||
unsigned int | channels | ||
) | [protected] |
Definition at line 256 of file joint_imager.cpp.
bool JointImager::computeVelocity | ( | const ros::Time & | start, |
const ros::Time & | end, | ||
const settlerlib::SortedDeque< joint_states_settler::DeflatedJointStates > & | cache, | ||
std::vector< double > & | result | ||
) | [protected] |
Definition at line 219 of file joint_imager.cpp.
void JointImager::displayImage | ( | unsigned int | i | ) |
Definition at line 147 of file joint_imager.cpp.
cv::Mat_< cv::Vec2f > JointImager::getJointImage | ( | unsigned int | index | ) | const |
Definition at line 266 of file joint_imager.cpp.
bool JointImager::interpPosition | ( | const ros::Time & | target, |
const settlerlib::SortedDeque< joint_states_settler::DeflatedJointStates > & | cache, | ||
std::vector< double > & | result | ||
) | [protected] |
Definition at line 183 of file joint_imager.cpp.
bool JointImager::update | ( | const calibration_msgs::DenseLaserSnapshot & | snapshot, |
const settlerlib::SortedDeque< joint_states_settler::DeflatedJointStates > & | cache, | ||
const ros::Duration & | max_interp = ros::Duration(.25) |
||
) |
Definition at line 53 of file joint_imager.cpp.
void JointImager::writeImage | ( | unsigned int | i, |
const std::string & | filename | ||
) |
Definition at line 161 of file joint_imager.cpp.
std::vector<cv::Mat_<cv::Vec2f> > laser_joint_processor::JointImager::images [protected] |
Definition at line 61 of file joint_imager.h.