#include <joint_state_static_filter.h>
Public Types | |
typedef boost::tuple < ros::Time, bool > | StampedBool |
Public Member Functions | |
JointStateStaticFilter () | |
Protected Member Functions | |
virtual void | filter (const sensor_msgs::PointCloud2::ConstPtr &msg) |
virtual std::vector< double > | filterJointState (const sensor_msgs::JointState::ConstPtr &msg) |
virtual bool | isStatic (const ros::Time &stamp) |
virtual void | jointStateCallback (const sensor_msgs::JointState::ConstPtr &msg) |
virtual void | onInit () |
virtual void | subscribe () |
virtual void | unsubscribe () |
virtual void | updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat) |
Protected Attributes | |
boost::circular_buffer < StampedBool > | buf_ |
double | eps_ |
std::vector< std::string > | joint_names_ |
jsk_topic_tools::VitalChecker::Ptr | joint_vital_ |
boost::mutex | mutex_ |
std::vector< double > | previous_joints_ |
ros::Publisher | pub_ |
ros::Subscriber | sub_input_ |
ros::Subscriber | sub_joint_ |
Definition at line 51 of file joint_state_static_filter.h.
typedef boost::tuple<ros::Time, bool> jsk_pcl_ros::JointStateStaticFilter::StampedBool |
Definition at line 54 of file joint_state_static_filter.h.
Definition at line 55 of file joint_state_static_filter.h.
void jsk_pcl_ros::JointStateStaticFilter::filter | ( | const sensor_msgs::PointCloud2::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 75 of file joint_state_static_filter_nodelet.cpp.
std::vector< double > jsk_pcl_ros::JointStateStaticFilter::filterJointState | ( | const sensor_msgs::JointState::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 92 of file joint_state_static_filter_nodelet.cpp.
bool jsk_pcl_ros::JointStateStaticFilter::isStatic | ( | const ros::Time & | stamp | ) | [protected, virtual] |
Definition at line 114 of file joint_state_static_filter_nodelet.cpp.
void jsk_pcl_ros::JointStateStaticFilter::jointStateCallback | ( | const sensor_msgs::JointState::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 132 of file joint_state_static_filter_nodelet.cpp.
void jsk_pcl_ros::JointStateStaticFilter::onInit | ( | void | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 41 of file joint_state_static_filter_nodelet.cpp.
void jsk_pcl_ros::JointStateStaticFilter::subscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 59 of file joint_state_static_filter_nodelet.cpp.
void jsk_pcl_ros::JointStateStaticFilter::unsubscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 69 of file joint_state_static_filter_nodelet.cpp.
void jsk_pcl_ros::JointStateStaticFilter::updateDiagnostic | ( | diagnostic_updater::DiagnosticStatusWrapper & | stat | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 164 of file joint_state_static_filter_nodelet.cpp.
boost::circular_buffer<StampedBool> jsk_pcl_ros::JointStateStaticFilter::buf_ [protected] |
Definition at line 78 of file joint_state_static_filter.h.
double jsk_pcl_ros::JointStateStaticFilter::eps_ [protected] |
Definition at line 86 of file joint_state_static_filter.h.
Definition at line 85 of file joint_state_static_filter.h.
Definition at line 80 of file joint_state_static_filter.h.
Definition at line 81 of file joint_state_static_filter.h.
std::vector<double> jsk_pcl_ros::JointStateStaticFilter::previous_joints_ [protected] |
Definition at line 79 of file joint_state_static_filter.h.
Definition at line 77 of file joint_state_static_filter.h.
Definition at line 75 of file joint_state_static_filter.h.
Definition at line 76 of file joint_state_static_filter.h.