3 int main(
int argc,
char **argv)
9 ROS_WARN (
"Arguments supplied via command line are neglected.");
52 ROS_ERROR(
"cv_bridge exception: %s", e.what());
60 ROS_ERROR(
"cv_bridge exception: %s", e.what());
CvImageConstPtr toCvShare(const sensor_msgs::ImageConstPtr &source, const std::string &encoding=std::string())
std::string camera_info_topic_
void ImageCallback(const sensor_msgs::ImageConstPtr &msgRGB, const sensor_msgs::ImageConstPtr &msgD)
message_filters::Subscriber< sensor_msgs::Image > * rgb_subscriber_
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ORB_SLAM2::System * orb_slam_
RGBDNode(const ORB_SLAM2::System::eSensor sensor, ros::NodeHandle &node_handle, image_transport::ImageTransport &image_transport)
ROSCPP_DECL void spin(Spinner &spinner)
void TrackRGBD(const cv::Mat &im, const cv::Mat &depthmap, const double ×tamp)
ros::Time current_frame_time_
message_filters::Subscriber< sensor_msgs::Image > * depth_subscriber_
message_filters::sync_policies::ApproximateTime< sensor_msgs::Image, sensor_msgs::Image > sync_pol
ROSCPP_DECL void shutdown()
int main(int argc, char **argv)
message_filters::Synchronizer< sync_pol > * sync_