Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
jsk_pcl_ros::JointStateStaticFilter Class Reference

#include <joint_state_static_filter.h>

Inheritance diagram for jsk_pcl_ros::JointStateStaticFilter:
Inheritance graph
[legend]

Public Types

typedef boost::tuple< ros::Time, bool > StampedBool
 
- Public Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Public Member Functions

 JointStateStaticFilter ()
 
- Public Member Functions inherited from jsk_topic_tools::DiagnosticNodelet
 DiagnosticNodelet (const std::string &name)
 
- Public Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
 ConnectionBasedNodelet ()
 
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 

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 Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
ros::Publisher advertise (ros::NodeHandle &nh, std::string topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
virtual void cameraConnectionBaseCallback ()
 
virtual void cameraConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual void cameraInfoConnectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void connectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void imageConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual bool isSubscribed ()
 
virtual void onInitPostProcess ()
 
virtual void warnNeverSubscribedCallback (const ros::WallTimerEvent &event)
 
virtual void warnOnInitPostProcessCalledCallback (const ros::WallTimerEvent &event)
 
- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::stringgetName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

Protected Attributes

boost::circular_buffer< StampedBoolbuf_
 
double eps_
 
std::vector< std::stringjoint_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_
 
- Protected Attributes inherited from jsk_topic_tools::DiagnosticNodelet
TimeredDiagnosticUpdater::Ptr diagnostic_updater_
 
const std::string name_
 
jsk_topic_tools::VitalChecker::Ptr vital_checker_
 
- Protected Attributes inherited from jsk_topic_tools::ConnectionBasedNodelet
bool always_subscribe_
 
std::vector< image_transport::CameraPublishercamera_publishers_
 
boost::mutex connection_mutex_
 
ConnectionStatus connection_status_
 
bool ever_subscribed_
 
std::vector< image_transport::Publisherimage_publishers_
 
boost::shared_ptr< ros::NodeHandlenh_
 
bool on_init_post_process_called_
 
boost::shared_ptr< ros::NodeHandlepnh_
 
std::vector< ros::Publisherpublishers_
 
bool subscribed_
 
ros::WallTimer timer_warn_never_subscribed_
 
ros::WallTimer timer_warn_on_init_post_process_called_
 
bool verbose_connection_
 

Detailed Description

Definition at line 51 of file joint_state_static_filter.h.

Member Typedef Documentation

Definition at line 54 of file joint_state_static_filter.h.

Constructor & Destructor Documentation

jsk_pcl_ros::JointStateStaticFilter::JointStateStaticFilter ( )
inline

Definition at line 55 of file joint_state_static_filter.h.

Member Function Documentation

void jsk_pcl_ros::JointStateStaticFilter::filter ( const sensor_msgs::PointCloud2::ConstPtr &  msg)
protectedvirtual

Definition at line 78 of file joint_state_static_filter_nodelet.cpp.

std::vector< double > jsk_pcl_ros::JointStateStaticFilter::filterJointState ( const sensor_msgs::JointState::ConstPtr &  msg)
protectedvirtual

Definition at line 95 of file joint_state_static_filter_nodelet.cpp.

bool jsk_pcl_ros::JointStateStaticFilter::isStatic ( const ros::Time stamp)
protectedvirtual

Definition at line 117 of file joint_state_static_filter_nodelet.cpp.

void jsk_pcl_ros::JointStateStaticFilter::jointStateCallback ( const sensor_msgs::JointState::ConstPtr &  msg)
protectedvirtual

Definition at line 135 of file joint_state_static_filter_nodelet.cpp.

void jsk_pcl_ros::JointStateStaticFilter::onInit ( void  )
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 42 of file joint_state_static_filter_nodelet.cpp.

void jsk_pcl_ros::JointStateStaticFilter::subscribe ( )
protectedvirtual
void jsk_pcl_ros::JointStateStaticFilter::unsubscribe ( )
protectedvirtual
void jsk_pcl_ros::JointStateStaticFilter::updateDiagnostic ( diagnostic_updater::DiagnosticStatusWrapper stat)
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 167 of file joint_state_static_filter_nodelet.cpp.

Member Data Documentation

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.

std::vector<std::string> jsk_pcl_ros::JointStateStaticFilter::joint_names_
protected

Definition at line 85 of file joint_state_static_filter.h.

jsk_topic_tools::VitalChecker::Ptr jsk_pcl_ros::JointStateStaticFilter::joint_vital_
protected

Definition at line 80 of file joint_state_static_filter.h.

boost::mutex jsk_pcl_ros::JointStateStaticFilter::mutex_
protected

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.

ros::Publisher jsk_pcl_ros::JointStateStaticFilter::pub_
protected

Definition at line 77 of file joint_state_static_filter.h.

ros::Subscriber jsk_pcl_ros::JointStateStaticFilter::sub_input_
protected

Definition at line 75 of file joint_state_static_filter.h.

ros::Subscriber jsk_pcl_ros::JointStateStaticFilter::sub_joint_
protected

Definition at line 76 of file joint_state_static_filter.h.


The documentation for this class was generated from the following files:


jsk_pcl_ros
Author(s): Yohei Kakiuchi
autogenerated on Mon May 3 2021 03:03:48