21 #ifndef ARTOOLKITPLUS_NODE_H 22 #define ARTOOLKITPLUS_NODE_H 28 #include <dynamic_reconfigure/server.h> 29 #include <tuw_artoolkitplus/ARParamConfig.h> 30 #include <marker_msgs/MarkerDetection.h> 33 #include <opencv2/core/core.hpp> 38 class TrackerSingleMarker;
39 class TrackerMultiMarker;
50 : belongsToPattern(NO_PATTERN) {
53 : belongsToPattern(tag.belongsToPattern) {
57 : belongsToPattern(NO_PATTERN) {
73 class Parameter :
public tuw_artoolkitplus::ARParamConfig{
76 void update(
const unsigned long &counter);
107 void initTrackerSingleMarker(
const sensor_msgs::CameraInfoConstPtr& camer_info_);
108 void initTrackerMultiMarker(
const sensor_msgs::CameraInfoConstPtr& camer_info_);
110 void updateParameterTrackerSingleMarker(
const sensor_msgs::CameraInfoConstPtr& camer_info);
111 void updateParameterTrackerMultiMarker(
const sensor_msgs::CameraInfoConstPtr& camer_info);
113 void imageCallback(
const sensor_msgs::ImageConstPtr& image_msg,
114 const sensor_msgs::CameraInfoConstPtr& info_msg);
115 void estimatePoses(
const std_msgs::Header &header);
117 void publishMarkers(
const std_msgs::Header &header);
118 void publishPerceptions (
const std_msgs::Header &header);
119 void generateDebugImage(cv::Mat &img);
124 void callbackParameters ( tuw_artoolkitplus::ARParamConfig &config, uint32_t level );
126 dynamic_reconfigure::Server<tuw_artoolkitplus::ARParamConfig>::CallbackType
reconfigureFnc_;
130 #endif // ARTOOLKITPLUS_NODE_H
bool update(const T &new_val, T &my_val)
void imageCallback(const sensor_msgs::ImageConstPtr &msg)