#include <realsense_node_factory.h>
Public Member Functions | |
RealSenseNodeFactory () | |
virtual | ~RealSenseNodeFactory () |
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 () |
Private Member Functions | |
void | change_device_callback (rs2::event_information &info) |
void | closeDevice () |
void | getDevice (rs2::device_list list) |
bool | handleReset (std_srvs::Empty::Request &request, std_srvs::Empty::Response &response) |
void | initialize (const ros::WallTimerEvent &ignored) |
virtual void | onInit () override |
void | reset () |
void | StartDevice () |
bool | toggle_sensor_callback (std_srvs::SetBool::Request &req, std_srvs::SetBool::Response &res) |
void | tryGetLogSeverity (rs2_log_severity &severity) const |
Static Private Member Functions | |
static std::string | parse_usb_port (std::string line) |
Private Attributes | |
rs2::context | _ctx |
rs2::device | _device |
std::string | _device_type |
ros::WallTimer | _init_timer |
bool | _initial_reset |
bool | _is_alive |
std::thread | _query_thread |
std::shared_ptr< InterfaceRealSenseNode > | _realSenseNode |
ros::ServiceServer | _reset_srv |
std::string | _serial_no |
std::string | _usb_port_id |
ros::ServiceServer | toggle_sensor_srv |
Additional Inherited Members | |
Protected Member Functions inherited from nodelet::Nodelet | |
ros::CallbackQueueInterface & | getMTCallbackQueue () const |
ros::NodeHandle & | getMTNodeHandle () const |
ros::NodeHandle & | getMTPrivateNodeHandle () const |
const V_string & | getMyArgv () const |
const std::string & | getName () const |
ros::NodeHandle & | getNodeHandle () const |
ros::NodeHandle & | getPrivateNodeHandle () const |
const M_string & | getRemappingArgs () const |
ros::CallbackQueueInterface & | getSTCallbackQueue () const |
std::string | getSuffixedName (const std::string &suffix) const |
Definition at line 57 of file realsense_node_factory.h.
RealSenseNodeFactory::RealSenseNodeFactory | ( | ) |
Definition at line 32 of file realsense_node_factory.cpp.
|
virtual |
Definition at line 56 of file realsense_node_factory.cpp.
|
private |
Definition at line 220 of file realsense_node_factory.cpp.
|
private |
|
private |
Definition at line 87 of file realsense_node_factory.cpp.
|
private |
Definition at line 402 of file realsense_node_factory.cpp.
|
private |
Definition at line 246 of file realsense_node_factory.cpp.
|
overrideprivatevirtual |
Implements nodelet::Nodelet.
Definition at line 240 of file realsense_node_factory.cpp.
|
staticprivate |
Definition at line 65 of file realsense_node_factory.cpp.
Definition at line 377 of file realsense_node_factory.cpp.
|
private |
Definition at line 327 of file realsense_node_factory.cpp.
|
private |
Definition at line 229 of file realsense_node_factory.cpp.
|
private |
Definition at line 408 of file realsense_node_factory.cpp.
|
private |
Definition at line 78 of file realsense_node_factory.h.
|
private |
Definition at line 76 of file realsense_node_factory.h.
|
private |
Definition at line 81 of file realsense_node_factory.h.
|
private |
Definition at line 86 of file realsense_node_factory.h.
|
private |
Definition at line 82 of file realsense_node_factory.h.
|
private |
Definition at line 84 of file realsense_node_factory.h.
|
private |
Definition at line 83 of file realsense_node_factory.h.
|
private |
Definition at line 77 of file realsense_node_factory.h.
|
private |
Definition at line 87 of file realsense_node_factory.h.
|
private |
Definition at line 79 of file realsense_node_factory.h.
|
private |
Definition at line 80 of file realsense_node_factory.h.
|
private |
Definition at line 85 of file realsense_node_factory.h.