35 #ifndef GRAVITY_COMPENSATION_H_ 36 #define GRAVITY_COMPENSATION_H_ 41 #include <geometry_msgs/WrenchStamped.h> 42 #include <sensor_msgs/Imu.h> 54 void Zero(
const geometry_msgs::WrenchStamped &ft_raw,
55 geometry_msgs::WrenchStamped &ft_zeroed);
60 bool Compensate(
const geometry_msgs::WrenchStamped &ft_zeroed,
61 const sensor_msgs::Imu &gravity,
62 geometry_msgs::WrenchStamped &ft_compensated);
tf::TransformListener * m_tf_listener
GravityCompensation(GravityCompensationParams *g_comp_params)
bool Compensate(const geometry_msgs::WrenchStamped &ft_zeroed, const sensor_msgs::Imu &gravity, geometry_msgs::WrenchStamped &ft_compensated)
GravityCompensationParams * m_g_comp_params
void Zero(const geometry_msgs::WrenchStamped &ft_raw, geometry_msgs::WrenchStamped &ft_zeroed)
virtual ~GravityCompensation()