#include <t265_realsense_node.h>
Public Member Functions | |
virtual void | publishTopics () override |
T265RealsenseNode (ros::NodeHandle &nodeHandle, ros::NodeHandle &privateNodeHandle, rs2::device dev, const std::string &serial_no) | |
virtual void | toggleSensors (bool enabled) override |
Public Member Functions inherited from realsense2_camera::BaseRealSenseNode | |
BaseRealSenseNode (ros::NodeHandle &nodeHandle, ros::NodeHandle &privateNodeHandle, rs2::device dev, const std::string &serial_no) | |
virtual void | registerDynamicReconfigCb (ros::NodeHandle &nh) override |
virtual | ~BaseRealSenseNode () |
Public Member Functions inherited from realsense2_camera::InterfaceRealSenseNode | |
virtual | ~InterfaceRealSenseNode ()=default |
Protected Member Functions | |
void | calcAndPublishStaticTransform (const stream_index_pair &stream, const rs2::stream_profile &base_profile) override |
Protected Member Functions inherited from realsense2_camera::BaseRealSenseNode | |
rs2::stream_profile | getAProfile (const stream_index_pair &stream) |
void | publish_static_tf (const ros::Time &t, const float3 &trans, const tf::Quaternion &q, const std::string &from, const std::string &to) |
tf::Quaternion | rotationMatrixToQuaternion (const float rotation[9]) const |
Private Member Functions | |
void | handleWarning () |
void | initializeOdometryInput () |
void | odom_in_callback (const nav_msgs::Odometry::ConstPtr &msg) |
void | setupSubscribers () |
void | warningDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat) |
Private Attributes | |
ros::Subscriber | _odom_subscriber |
std::string | _T265_fault |
bool | _use_odom_in |
rs2::wheel_odometer | _wo_snr |
diagnostic_updater::Updater | callback_updater |
Additional Inherited Members | |
Public Types inherited from realsense2_camera::BaseRealSenseNode | |
enum | imu_sync_method { NONE, COPY, LINEAR_INTERPOLATION } |
Protected Attributes inherited from realsense2_camera::BaseRealSenseNode | |
bool | _align_depth |
std::string | _base_frame_id |
std::map< stream_index_pair, std::string > | _depth_aligned_frame_id |
std::map< stream_index_pair, std::string > | _frame_id |
bool | _is_running |
std::vector< rs2_option > | _monitor_options |
ros::NodeHandle & | _node_handle |
std::string | _odom_frame_id |
std::map< stream_index_pair, std::string > | _optical_frame_id |
ros::NodeHandle | _pnh |
Definition at line 7 of file t265_realsense_node.h.
T265RealsenseNode::T265RealsenseNode | ( | ros::NodeHandle & | nodeHandle, |
ros::NodeHandle & | privateNodeHandle, | ||
rs2::device | dev, | ||
const std::string & | serial_no | ||
) |
Definition at line 5 of file t265_realsense_node.cpp.
|
overrideprotectedvirtual |
Reimplemented from realsense2_camera::BaseRealSenseNode.
Definition at line 94 of file t265_realsense_node.cpp.
|
private |
Definition at line 56 of file t265_realsense_node.cpp.
|
private |
Definition at line 18 of file t265_realsense_node.cpp.
|
private |
Definition at line 83 of file t265_realsense_node.cpp.
|
overridevirtual |
Reimplemented from realsense2_camera::BaseRealSenseNode.
Definition at line 50 of file t265_realsense_node.cpp.
|
private |
Definition at line 72 of file t265_realsense_node.cpp.
|
overridevirtual |
Reimplemented from realsense2_camera::BaseRealSenseNode.
Definition at line 45 of file t265_realsense_node.cpp.
|
private |
Definition at line 143 of file t265_realsense_node.cpp.
|
private |
Definition at line 28 of file t265_realsense_node.h.
|
private |
Definition at line 31 of file t265_realsense_node.h.
|
private |
Definition at line 30 of file t265_realsense_node.h.
|
private |
Definition at line 29 of file t265_realsense_node.h.
|
private |
Definition at line 26 of file t265_realsense_node.h.