#include <gravity_compensation.h>
Public Member Functions | |
bool | Compensate (const geometry_msgs::WrenchStamped &ft_zeroed, const sensor_msgs::Imu &gravity, geometry_msgs::WrenchStamped &ft_compensated) |
GravityCompensation (GravityCompensationParams *g_comp_params) | |
void | Zero (const geometry_msgs::WrenchStamped &ft_raw, geometry_msgs::WrenchStamped &ft_zeroed) |
virtual | ~GravityCompensation () |
Private Attributes | |
GravityCompensationParams * | m_g_comp_params |
tf::TransformListener * | m_tf_listener |
Definition at line 45 of file gravity_compensation.h.
GravityCompensation::GravityCompensation | ( | GravityCompensationParams * | g_comp_params | ) |
Definition at line 43 of file gravity_compensation.cpp.
GravityCompensation::~GravityCompensation | ( | ) | [virtual] |
Definition at line 49 of file gravity_compensation.cpp.
bool GravityCompensation::Compensate | ( | const geometry_msgs::WrenchStamped & | ft_zeroed, |
const sensor_msgs::Imu & | gravity, | ||
geometry_msgs::WrenchStamped & | ft_compensated | ||
) |
Definition at line 70 of file gravity_compensation.cpp.
void GravityCompensation::Zero | ( | const geometry_msgs::WrenchStamped & | ft_raw, |
geometry_msgs::WrenchStamped & | ft_zeroed | ||
) |
Definition at line 55 of file gravity_compensation.cpp.
Definition at line 66 of file gravity_compensation.h.
Definition at line 67 of file gravity_compensation.h.