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

#include <depth_calibration.h>

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

Public Types

typedef pcl::PointXYZRGB PointT
 
typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, sensor_msgs::CameraInfo > SyncPolicy
 
- Public Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Public Member Functions

 DepthCalibration ()
 
- 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 double applyModel (double z, int u, int v, double cu, double cv)
 
virtual void calibrate (const sensor_msgs::Image::ConstPtr &msg, const sensor_msgs::CameraInfo::ConstPtr &camera_info)
 
virtual void onInit ()
 
virtual void printModel ()
 
virtual bool setCalibrationParameter (jsk_recognition_msgs::SetDepthCalibrationParameter::Request &req, jsk_recognition_msgs::SetDepthCalibrationParameter::Response &res)
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 
- Protected Member Functions inherited from jsk_topic_tools::DiagnosticNodelet
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

std::vector< double > coefficients0_
 
std::vector< double > coefficients1_
 
std::vector< double > coefficients2_
 
boost::mutex mutex_
 
ros::Publisher pub_
 
ros::ServiceServer set_calibration_parameter_srv_
 
message_filters::Subscriber< sensor_msgs::CameraInfo > sub_camera_info_
 
message_filters::Subscriber< sensor_msgs::Image > sub_input_
 
boost::shared_ptr< message_filters::Synchronizer< SyncPolicy > > sync_
 
bool use_abs_
 
double uv_scale_
 
- 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 54 of file depth_calibration.h.

Member Typedef Documentation

typedef pcl::PointXYZRGB jsk_pcl_ros::DepthCalibration::PointT

Definition at line 57 of file depth_calibration.h.

typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, sensor_msgs::CameraInfo> jsk_pcl_ros::DepthCalibration::SyncPolicy

Definition at line 60 of file depth_calibration.h.

Constructor & Destructor Documentation

jsk_pcl_ros::DepthCalibration::DepthCalibration ( )
inline

Definition at line 62 of file depth_calibration.h.

Member Function Documentation

virtual double jsk_pcl_ros::DepthCalibration::applyModel ( double  z,
int  u,
int  v,
double  cu,
double  cv 
)
inlineprotectedvirtual

Definition at line 71 of file depth_calibration.h.

void jsk_pcl_ros::DepthCalibration::calibrate ( const sensor_msgs::Image::ConstPtr &  msg,
const sensor_msgs::CameraInfo::ConstPtr &  camera_info 
)
protectedvirtual

Definition at line 123 of file depth_calibration_nodelet.cpp.

void jsk_pcl_ros::DepthCalibration::onInit ( void  )
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 43 of file depth_calibration_nodelet.cpp.

void jsk_pcl_ros::DepthCalibration::printModel ( )
protectedvirtual

Definition at line 79 of file depth_calibration_nodelet.cpp.

bool jsk_pcl_ros::DepthCalibration::setCalibrationParameter ( jsk_recognition_msgs::SetDepthCalibrationParameter::Request &  req,
jsk_recognition_msgs::SetDepthCalibrationParameter::Response &  res 
)
protectedvirtual

Definition at line 95 of file depth_calibration_nodelet.cpp.

void jsk_pcl_ros::DepthCalibration::subscribe ( )
protectedvirtual
void jsk_pcl_ros::DepthCalibration::unsubscribe ( )
protectedvirtual

Member Data Documentation

std::vector<double> jsk_pcl_ros::DepthCalibration::coefficients0_
protected

Definition at line 109 of file depth_calibration.h.

std::vector<double> jsk_pcl_ros::DepthCalibration::coefficients1_
protected

Definition at line 108 of file depth_calibration.h.

std::vector<double> jsk_pcl_ros::DepthCalibration::coefficients2_
protected

Definition at line 107 of file depth_calibration.h.

boost::mutex jsk_pcl_ros::DepthCalibration::mutex_
protected

Definition at line 102 of file depth_calibration.h.

ros::Publisher jsk_pcl_ros::DepthCalibration::pub_
protected

Definition at line 100 of file depth_calibration.h.

ros::ServiceServer jsk_pcl_ros::DepthCalibration::set_calibration_parameter_srv_
protected

Definition at line 101 of file depth_calibration.h.

message_filters::Subscriber<sensor_msgs::CameraInfo> jsk_pcl_ros::DepthCalibration::sub_camera_info_
protected

Definition at line 98 of file depth_calibration.h.

message_filters::Subscriber<sensor_msgs::Image> jsk_pcl_ros::DepthCalibration::sub_input_
protected

Definition at line 97 of file depth_calibration.h.

boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_pcl_ros::DepthCalibration::sync_
protected

Definition at line 99 of file depth_calibration.h.

bool jsk_pcl_ros::DepthCalibration::use_abs_
protected

Definition at line 105 of file depth_calibration.h.

double jsk_pcl_ros::DepthCalibration::uv_scale_
protected

Definition at line 106 of file depth_calibration.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:47