Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
realsense_camera::F200Nodelet Class Reference

#include <f200_nodelet.h>

Inheritance diagram for realsense_camera::F200Nodelet:
Inheritance graph
[legend]

Public Member Functions

void onInit ()
 
- Public Member Functions inherited from realsense_camera::SyncNodelet
virtual ~SyncNodelet ()
 
- Public Member Functions inherited from realsense_camera::BaseNodelet
virtual bool forcePowerCameraService (realsense_camera::ForcePower::Request &req, realsense_camera::ForcePower::Response &res)
 
virtual bool getCameraOptionValues (realsense_camera::CameraConfiguration::Request &req, realsense_camera::CameraConfiguration::Response &res)
 
virtual bool isPoweredCameraService (realsense_camera::IsPowered::Request &req, realsense_camera::IsPowered::Response &res)
 
virtual void setDepthEnable (bool &enable_depth)
 
virtual bool setPowerCameraService (realsense_camera::SetPower::Request &req, realsense_camera::SetPower::Response &res)
 
virtual ~BaseNodelet ()
 
- 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

void configCallback (realsense_camera::f200_paramsConfig &config, uint32_t level)
 
std::vector< std::stringsetDynamicReconfServer ()
 
void setStreams ()
 
void startDynamicReconfCallback ()
 
- Protected Member Functions inherited from realsense_camera::SyncNodelet
virtual void publishSyncTopics ()
 
virtual void publishTopic (rs_stream stream_index)
 
virtual void setFrameCallbacks ()
 
virtual void setImageData (rs_stream stream_index)
 
- Protected Member Functions inherited from realsense_camera::BaseNodelet
virtual void advertiseServices ()
 
virtual void advertiseTopics ()
 
virtual void checkError ()
 
virtual std::string checkFirmwareValidation (const std::string &fw_type, const std::string &current_fw, const std::string &camera_name, const std::string &camera_serial_number)
 
virtual bool checkForSubscriber ()
 
virtual bool connectToCamera ()
 
virtual void disableStream (rs_stream stream_index)
 
virtual void enableStream (rs_stream stream_index, int width, int height, rs_format format, int fps)
 
virtual void getCameraExtrinsics ()
 
virtual void getCameraOptions ()
 
virtual void getParameters ()
 
virtual void getStreamCalibData (rs_stream stream_index)
 
virtual ros::Time getTimestamp (rs_stream stream_index, double frame_ts)
 
virtual std::vector< intlistCameras (int num_of_camera)
 
virtual void prepareTransforms ()
 
virtual void publishDynamicTransforms ()
 
virtual void publishPCTopic ()
 
virtual void publishStaticTransforms ()
 
virtual void publishTopic (rs_stream stream_index, rs::frame &frame)
 
virtual void setImageData (rs_stream stream_index, rs::frame &frame)
 
virtual void setStaticCameraOptions (std::vector< std::string > dynamic_params)
 
virtual std::string startCamera ()
 
virtual std::string stopCamera ()
 
virtual void wrappedSystem (const std::vector< std::string > &string_argv)
 
- 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::shared_ptr< dynamic_reconfigure::Server< realsense_camera::f200_paramsConfig > > dynamic_reconf_server_
 
rs_stream fastest_stream_ = RS_STREAM_DEPTH
 
- Protected Attributes inherited from realsense_camera::SyncNodelet
bool duplicate_depth_color_ = false
 
boost::shared_ptr< boost::thread > topic_thread_
 
ros::Time topic_ts_
 
- Protected Attributes inherited from realsense_camera::BaseNodelet
std::string base_frame_id_
 
sensor_msgs::CameraInfoPtr camera_info_ptr_ [STREAM_COUNT] = {}
 
std::vector< CameraOptionscamera_options_
 
image_transport::CameraPublisher camera_publisher_ [STREAM_COUNT] = {}
 
ros::Time camera_start_ts_
 
std::string camera_type_
 
rs_extrinsics color2depth_extrinsic_
 
rs_extrinsics color2ir_extrinsic_
 
std::function< void(rs::frame f)> color_frame_handler_
 
int cv_type_ [STREAM_COUNT]
 
cv::Mat cvWrapper_
 
std::function< void(rs::frame f)> depth_frame_handler_
 
tf::TransformBroadcaster dynamic_tf_broadcaster_
 
bool enable_ [STREAM_COUNT] = {false}
 
bool enable_pointcloud_
 
bool enable_tf_
 
bool enable_tf_dynamic_
 
std::string encoding_ [STREAM_COUNT]
 
ros::ServiceServer force_power_service_
 
rs_format format_ [STREAM_COUNT]
 
int fps_ [STREAM_COUNT]
 
std::string frame_id_ [STREAM_COUNT]
 
std::mutex frame_mutex_ [STREAM_COUNT]
 
ros::ServiceServer get_options_service_
 
int height_ [STREAM_COUNT]
 
cv::Mat image_ [STREAM_COUNT] = {}
 
const uint16_t * image_depth16_
 
std::function< void(rs::frame f)> ir_frame_handler_
 
ros::ServiceServer is_powered_service_
 
float max_z_ = -1.0f
 
std::string mode_
 
ros::NodeHandle nh_
 
std::string nodelet_name_
 
std::string optical_frame_id_ [STREAM_COUNT]
 
ros::NodeHandle pnh_
 
ros::Publisher pointcloud_publisher_
 
rs_contextrs_context_ = NULL
 
rs_devicers_device_
 
rs_errorrs_error_ = NULL
 
rs_source rs_source_ = RS_SOURCE_VIDEO
 
std::string serial_no_
 
ros::ServiceServer set_power_service_
 
bool start_camera_ = true
 
bool start_stop_srv_called_ = false
 
tf2_ros::StaticTransformBroadcaster static_tf_broadcaster_
 
int step_ [STREAM_COUNT]
 
std::queue< pid_t > system_proc_groups_
 
double tf_publication_rate_
 
boost::shared_ptr< boost::thread > transform_thread_
 
ros::Time transform_ts_
 
double ts_ [STREAM_COUNT]
 
int unit_step_size_ [STREAM_COUNT]
 
std::string usb_port_id_
 
int width_ [STREAM_COUNT]
 

Detailed Description

Definition at line 44 of file f200_nodelet.h.

Member Function Documentation

void realsense_camera::F200Nodelet::configCallback ( realsense_camera::f200_paramsConfig &  config,
uint32_t  level 
)
protected

Definition at line 117 of file f200_nodelet.cpp.

void realsense_camera::F200Nodelet::onInit ( )
virtual

Reimplemented from realsense_camera::SyncNodelet.

Definition at line 43 of file f200_nodelet.cpp.

std::vector< std::string > realsense_camera::F200Nodelet::setDynamicReconfServer ( )
protectedvirtual

Reimplemented from realsense_camera::BaseNodelet.

Definition at line 88 of file f200_nodelet.cpp.

void realsense_camera::F200Nodelet::setStreams ( )
protectedvirtual

Reimplemented from realsense_camera::BaseNodelet.

Definition at line 68 of file f200_nodelet.cpp.

void realsense_camera::F200Nodelet::startDynamicReconfCallback ( )
protectedvirtual

Reimplemented from realsense_camera::BaseNodelet.

Definition at line 109 of file f200_nodelet.cpp.

Member Data Documentation

boost::shared_ptr<dynamic_reconfigure::Server<realsense_camera::f200_paramsConfig> > realsense_camera::F200Nodelet::dynamic_reconf_server_
protected

Definition at line 51 of file f200_nodelet.h.

rs_stream realsense_camera::F200Nodelet::fastest_stream_ = RS_STREAM_DEPTH
protected

Definition at line 52 of file f200_nodelet.h.


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


realsense_camera
Author(s): Rajvi Jingar , Reagan Lopez , Matt Hansen , Mark Horn
autogenerated on Mon Jun 10 2019 14:40:37