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

#include <tilt_laser_listener.h>

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

Public Types

enum  LaserType {
  INFINITE_SPINDLE, INFINITE_SPINDLE_HALF, TILT, TILT_HALF_UP,
  TILT_HALF_DOWN, PERIODIC
}
 
- Public Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Public Member Functions

 TiltLaserListener ()
 
- 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 bool clearCacheCallback (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
 
virtual void cloudCallback (const sensor_msgs::PointCloud2::ConstPtr &msg)
 
virtual void getPointCloudFromLocalBuffer (const std::vector< sensor_msgs::PointCloud2::ConstPtr > &target_clouds, sensor_msgs::PointCloud2 &output_cloud)
 
virtual void jointCallback (const sensor_msgs::JointState::ConstPtr &msg)
 
virtual void onInit ()
 
virtual void processInfiniteSpindle (const ros::Time &stamp, const double &joint_angle, const double &velocity, const double &threshold)
 
virtual void processTilt (const ros::Time &stamp, const double &value)
 
virtual void processTiltHalfDown (const ros::Time &stamp, const double &value)
 
virtual void processTiltHalfUp (const ros::Time &stamp, const double &value)
 
virtual void publishTimeRange (const ros::Time &stamp, const ros::Time &start, const ros::Time &end)
 
virtual void subscribe ()
 
virtual void timerCallback (const ros::TimerEvent &e)
 
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

ros::ServiceClient assemble_cloud_srv_
 
TimeStampedVector< StampedJointAngle::Ptrbuffer_
 
bool clear_assembled_scans_
 
ros::ServiceServer clear_cache_service_
 
TimeStampedVector< sensor_msgs::PointCloud2::ConstPtr > cloud_buffer_
 
boost::mutex cloud_mutex_
 
ros::Publisher cloud_pub_
 
jsk_topic_tools::VitalChecker::Ptr cloud_vital_checker_
 
std::string joint_name_
 
LaserType laser_type_
 
int max_queue_size_
 
boost::mutex mutex_
 
bool not_use_laser_assembler_service_
 
double overwrap_angle_
 
ros::Timer periodic_timer_
 
double prev_angle_
 
double prev_velocity_
 
double publish_rate_
 
int skip_counter_
 
int skip_number_
 
double start_angle_
 
ros::Time start_time_
 
ros::Subscriber sub_
 
ros::Subscriber sub_cloud_
 
ros::Publisher trigger_pub_
 
std::string twist_frame_id_
 
ros::Publisher twist_pub_
 
bool use_laser_assembler_
 
- 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 63 of file tilt_laser_listener.h.

Member Enumeration Documentation

Enumerator
INFINITE_SPINDLE 
INFINITE_SPINDLE_HALF 
TILT 
TILT_HALF_UP 
TILT_HALF_DOWN 
PERIODIC 

Definition at line 67 of file tilt_laser_listener.h.

Constructor & Destructor Documentation

jsk_pcl_ros::TiltLaserListener::TiltLaserListener ( )
inline

Definition at line 66 of file tilt_laser_listener.h.

Member Function Documentation

bool jsk_pcl_ros::TiltLaserListener::clearCacheCallback ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
)
protectedvirtual

Definition at line 181 of file tilt_laser_listener_nodelet.cpp.

void jsk_pcl_ros::TiltLaserListener::cloudCallback ( const sensor_msgs::PointCloud2::ConstPtr &  msg)
protectedvirtual

Definition at line 173 of file tilt_laser_listener_nodelet.cpp.

void jsk_pcl_ros::TiltLaserListener::getPointCloudFromLocalBuffer ( const std::vector< sensor_msgs::PointCloud2::ConstPtr > &  target_clouds,
sensor_msgs::PointCloud2 &  output_cloud 
)
protectedvirtual

Definition at line 190 of file tilt_laser_listener_nodelet.cpp.

void jsk_pcl_ros::TiltLaserListener::jointCallback ( const sensor_msgs::JointState::ConstPtr &  msg)
protectedvirtual

Definition at line 425 of file tilt_laser_listener_nodelet.cpp.

void jsk_pcl_ros::TiltLaserListener::onInit ( void  )
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 49 of file tilt_laser_listener_nodelet.cpp.

void jsk_pcl_ros::TiltLaserListener::processInfiniteSpindle ( const ros::Time stamp,
const double &  joint_angle,
const double &  velocity,
const double &  threshold 
)
protectedvirtual

Definition at line 373 of file tilt_laser_listener_nodelet.cpp.

void jsk_pcl_ros::TiltLaserListener::processTilt ( const ros::Time stamp,
const double &  value 
)
protectedvirtual

Definition at line 336 of file tilt_laser_listener_nodelet.cpp.

void jsk_pcl_ros::TiltLaserListener::processTiltHalfDown ( const ros::Time stamp,
const double &  value 
)
protectedvirtual

Definition at line 322 of file tilt_laser_listener_nodelet.cpp.

void jsk_pcl_ros::TiltLaserListener::processTiltHalfUp ( const ros::Time stamp,
const double &  value 
)
protectedvirtual

Definition at line 308 of file tilt_laser_listener_nodelet.cpp.

void jsk_pcl_ros::TiltLaserListener::publishTimeRange ( const ros::Time stamp,
const ros::Time start,
const ros::Time end 
)
protectedvirtual

Definition at line 221 of file tilt_laser_listener_nodelet.cpp.

void jsk_pcl_ros::TiltLaserListener::subscribe ( )
protectedvirtual
void jsk_pcl_ros::TiltLaserListener::timerCallback ( const ros::TimerEvent e)
protectedvirtual

Definition at line 126 of file tilt_laser_listener_nodelet.cpp.

void jsk_pcl_ros::TiltLaserListener::unsubscribe ( )
protectedvirtual
void jsk_pcl_ros::TiltLaserListener::updateDiagnostic ( diagnostic_updater::DiagnosticStatusWrapper stat)
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 144 of file tilt_laser_listener_nodelet.cpp.

Member Data Documentation

ros::ServiceClient jsk_pcl_ros::TiltLaserListener::assemble_cloud_srv_
protected

Definition at line 107 of file tilt_laser_listener.h.

TimeStampedVector<StampedJointAngle::Ptr> jsk_pcl_ros::TiltLaserListener::buffer_
protected

Definition at line 126 of file tilt_laser_listener.h.

bool jsk_pcl_ros::TiltLaserListener::clear_assembled_scans_
protected

Definition at line 123 of file tilt_laser_listener.h.

ros::ServiceServer jsk_pcl_ros::TiltLaserListener::clear_cache_service_
protected

Definition at line 106 of file tilt_laser_listener.h.

TimeStampedVector<sensor_msgs::PointCloud2::ConstPtr> jsk_pcl_ros::TiltLaserListener::cloud_buffer_
protected

Definition at line 127 of file tilt_laser_listener.h.

boost::mutex jsk_pcl_ros::TiltLaserListener::cloud_mutex_
protected

Definition at line 125 of file tilt_laser_listener.h.

ros::Publisher jsk_pcl_ros::TiltLaserListener::cloud_pub_
protected

Definition at line 104 of file tilt_laser_listener.h.

jsk_topic_tools::VitalChecker::Ptr jsk_pcl_ros::TiltLaserListener::cloud_vital_checker_
protected

Definition at line 108 of file tilt_laser_listener.h.

std::string jsk_pcl_ros::TiltLaserListener::joint_name_
protected

Definition at line 115 of file tilt_laser_listener.h.

LaserType jsk_pcl_ros::TiltLaserListener::laser_type_
protected

Definition at line 114 of file tilt_laser_listener.h.

int jsk_pcl_ros::TiltLaserListener::max_queue_size_
protected

Definition at line 130 of file tilt_laser_listener.h.

boost::mutex jsk_pcl_ros::TiltLaserListener::mutex_
protected

Definition at line 124 of file tilt_laser_listener.h.

bool jsk_pcl_ros::TiltLaserListener::not_use_laser_assembler_service_
protected

Definition at line 122 of file tilt_laser_listener.h.

double jsk_pcl_ros::TiltLaserListener::overwrap_angle_
protected

Definition at line 119 of file tilt_laser_listener.h.

ros::Timer jsk_pcl_ros::TiltLaserListener::periodic_timer_
protected

Definition at line 109 of file tilt_laser_listener.h.

double jsk_pcl_ros::TiltLaserListener::prev_angle_
protected

Definition at line 116 of file tilt_laser_listener.h.

double jsk_pcl_ros::TiltLaserListener::prev_velocity_
protected

Definition at line 117 of file tilt_laser_listener.h.

double jsk_pcl_ros::TiltLaserListener::publish_rate_
protected

Definition at line 131 of file tilt_laser_listener.h.

int jsk_pcl_ros::TiltLaserListener::skip_counter_
protected

Definition at line 129 of file tilt_laser_listener.h.

int jsk_pcl_ros::TiltLaserListener::skip_number_
protected

Definition at line 128 of file tilt_laser_listener.h.

double jsk_pcl_ros::TiltLaserListener::start_angle_
protected

Definition at line 118 of file tilt_laser_listener.h.

ros::Time jsk_pcl_ros::TiltLaserListener::start_time_
protected

Definition at line 120 of file tilt_laser_listener.h.

ros::Subscriber jsk_pcl_ros::TiltLaserListener::sub_
protected

Definition at line 101 of file tilt_laser_listener.h.

ros::Subscriber jsk_pcl_ros::TiltLaserListener::sub_cloud_
protected

Definition at line 102 of file tilt_laser_listener.h.

ros::Publisher jsk_pcl_ros::TiltLaserListener::trigger_pub_
protected

Definition at line 103 of file tilt_laser_listener.h.

std::string jsk_pcl_ros::TiltLaserListener::twist_frame_id_
protected

Definition at line 132 of file tilt_laser_listener.h.

ros::Publisher jsk_pcl_ros::TiltLaserListener::twist_pub_
protected

Definition at line 105 of file tilt_laser_listener.h.

bool jsk_pcl_ros::TiltLaserListener::use_laser_assembler_
protected

Definition at line 121 of file tilt_laser_listener.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