Public Member Functions | |
void | addMeasurement () |
void | averageFTMeas () |
bool | finished () |
FTCalibNode () | |
void | getCalib (double &mass, Eigen::Vector3d &COM_pos, Eigen::Vector3d &f_bias, Eigen::Vector3d &t_bias) |
bool | getPose (const std::string &pose_param_name, Eigen::Matrix< double, 6, 1 > &pose) |
bool | getROSParameters () |
void | init () |
bool | moveNextPose () |
void | saveCalibData () |
void | topicCallback_ft_raw (const geometry_msgs::WrenchStamped::ConstPtr &msg) |
void | topicCallback_imu (const sensor_msgs::Imu::ConstPtr &msg) |
~FTCalibNode () | |
Public Attributes | |
ros::NodeHandle | n_ |
ros::AsyncSpinner * | spinner |
ros::Subscriber | topicSub_Accelerometer_ |
ros::Subscriber | topicSub_ft_raw_ |
Private Attributes | |
std::string | m_calib_file_dir |
std::string | m_calib_file_name |
bool | m_finished |
geometry_msgs::WrenchStamped | m_ft_avg |
FTCalib * | m_ft_calib |
unsigned int | m_ft_counter |
geometry_msgs::WrenchStamped | m_ft_raw |
move_group_interface::MoveGroup * | m_group |
sensor_msgs::Imu | m_imu |
std::string | m_moveit_group_name |
int | m_number_random_poses |
unsigned int | m_pose_counter |
std::string | m_poses_frame_id |
bool | m_random_poses |
bool | m_received_ft |
bool | m_received_imu |
tf::TransformListener * | m_tf_listener |
Definition at line 54 of file ft_calib_node.cpp.
FTCalibNode::FTCalibNode | ( | ) | [inline] |
Definition at line 64 of file ft_calib_node.cpp.
FTCalibNode::~FTCalibNode | ( | ) | [inline] |
Definition at line 87 of file ft_calib_node.cpp.
void FTCalibNode::addMeasurement | ( | ) | [inline] |
Definition at line 325 of file ft_calib_node.cpp.
void FTCalibNode::averageFTMeas | ( | ) | [inline] |
Definition at line 401 of file ft_calib_node.cpp.
bool FTCalibNode::finished | ( | ) | [inline] |
Definition at line 303 of file ft_calib_node.cpp.
void FTCalibNode::getCalib | ( | double & | mass, |
Eigen::Vector3d & | COM_pos, | ||
Eigen::Vector3d & | f_bias, | ||
Eigen::Vector3d & | t_bias | ||
) | [inline] |
Definition at line 374 of file ft_calib_node.cpp.
bool FTCalibNode::getPose | ( | const std::string & | pose_param_name, |
Eigen::Matrix< double, 6, 1 > & | pose | ||
) | [inline] |
Definition at line 230 of file ft_calib_node.cpp.
bool FTCalibNode::getROSParameters | ( | ) | [inline] |
Definition at line 97 of file ft_calib_node.cpp.
void FTCalibNode::init | ( | ) | [inline] |
Definition at line 161 of file ft_calib_node.cpp.
bool FTCalibNode::moveNextPose | ( | ) | [inline] |
Definition at line 168 of file ft_calib_node.cpp.
void FTCalibNode::saveCalibData | ( | ) | [inline] |
Definition at line 258 of file ft_calib_node.cpp.
void FTCalibNode::topicCallback_ft_raw | ( | const geometry_msgs::WrenchStamped::ConstPtr & | msg | ) | [inline] |
Definition at line 308 of file ft_calib_node.cpp.
void FTCalibNode::topicCallback_imu | ( | const sensor_msgs::Imu::ConstPtr & | msg | ) | [inline] |
Definition at line 317 of file ft_calib_node.cpp.
std::string FTCalibNode::m_calib_file_dir [private] |
Definition at line 460 of file ft_calib_node.cpp.
std::string FTCalibNode::m_calib_file_name [private] |
Definition at line 456 of file ft_calib_node.cpp.
bool FTCalibNode::m_finished [private] |
Definition at line 434 of file ft_calib_node.cpp.
geometry_msgs::WrenchStamped FTCalibNode::m_ft_avg [private] |
Definition at line 444 of file ft_calib_node.cpp.
FTCalib* FTCalibNode::m_ft_calib [private] |
Definition at line 440 of file ft_calib_node.cpp.
unsigned int FTCalibNode::m_ft_counter [private] |
Definition at line 432 of file ft_calib_node.cpp.
geometry_msgs::WrenchStamped FTCalibNode::m_ft_raw [private] |
Definition at line 443 of file ft_calib_node.cpp.
move_group_interface::MoveGroup* FTCalibNode::m_group [private] |
Definition at line 429 of file ft_calib_node.cpp.
sensor_msgs::Imu FTCalibNode::m_imu [private] |
Definition at line 447 of file ft_calib_node.cpp.
std::string FTCalibNode::m_moveit_group_name [private] |
Definition at line 453 of file ft_calib_node.cpp.
int FTCalibNode::m_number_random_poses [private] |
Definition at line 471 of file ft_calib_node.cpp.
unsigned int FTCalibNode::m_pose_counter [private] |
Definition at line 431 of file ft_calib_node.cpp.
std::string FTCalibNode::m_poses_frame_id [private] |
Definition at line 463 of file ft_calib_node.cpp.
bool FTCalibNode::m_random_poses [private] |
Definition at line 467 of file ft_calib_node.cpp.
bool FTCalibNode::m_received_ft [private] |
Definition at line 436 of file ft_calib_node.cpp.
bool FTCalibNode::m_received_imu [private] |
Definition at line 437 of file ft_calib_node.cpp.
tf::TransformListener* FTCalibNode::m_tf_listener [private] |
Definition at line 449 of file ft_calib_node.cpp.
Definition at line 59 of file ft_calib_node.cpp.
Definition at line 60 of file ft_calib_node.cpp.
Definition at line 62 of file ft_calib_node.cpp.
Definition at line 61 of file ft_calib_node.cpp.