33 #ifndef SIMPLE_RESAMPLE_FILTER_H_ 34 #define SIMPLE_RESAMPLE_FILTER_H_ 79 bool update(
const T& trajectory_in, T& trajectory_out);
90 bool interpolatePt(trajectory_msgs::JointTrajectoryPoint & p1, trajectory_msgs::JointTrajectoryPoint & p2,
91 double time_from_start, trajectory_msgs::JointTrajectoryPoint & interp_pt);
SimpleResampleFilter< MessageAdapter > SimpleResampleFilterAdapter
Specializing trajectory filter implementation.
SimpleResampleFilter()
Default constructor.
~SimpleResampleFilter()
Default destructor.
bool update(const T &trajectory_in, T &trajectory_out)
double sample_duration_
uniform sample duration (sec)
This version of the FilterBase<T> can be used to encapsulate the functionality from an arm navigation...
virtual bool configure()
FilterBase method for the sub class to configure the filter This function must be implemented in the ...
This is a simple filter which performs a uniforming sampling of a trajectory using linear interpolati...
bool interpolatePt(trajectory_msgs::JointTrajectoryPoint &p1, trajectory_msgs::JointTrajectoryPoint &p2, double time_from_start, trajectory_msgs::JointTrajectoryPoint &interp_pt)
Perform interpolation between p1 and p2. Time from start must be in between p1 and p2 times...