13 #ifndef AR_PAIR_TRACKING_HPP_ 14 #define AR_PAIR_TRACKING_HPP_ 26 #include <ar_track_alvar_msgs/AlvarMarkers.h> 28 #include <yocs_msgs/ARPair.h> 29 #include <yocs_msgs/ARPairList.h> 38 namespace ARPairTrackingDefaultParams
68 void addPair(
const yocs_msgs::ARPair& p);
72 void customCB(
const ar_track_alvar_msgs::AlvarMarkers& spotted_markers,
const std::vector<TrackedMarker> &tracked_markers);
73 bool spotMarkerPair(
const ar_track_alvar_msgs::AlvarMarkers& spotted_markers,
const yocs_msgs::ARPair& pair, ar_track_alvar_msgs::AlvarMarker& left, ar_track_alvar_msgs::AlvarMarker& right);
74 void computeRelativeRobotPose(
const yocs_msgs::ARPair& spotted_pair,
const std::vector<TrackedMarker>& tracked_markers,
const ar_track_alvar_msgs::AlvarMarker& left,
const ar_track_alvar_msgs::AlvarMarker& right);
76 void updateARPairsCB(
const yocs_msgs::ARPairList::ConstPtr& msg);
const double AR_PAIR_BASELINE
const int AR_PAIR_RIGHT_ID
const int AR_PAIR_LEFT_ID
const double AR_PAIR_TARGET_POSE_OFFSET
std::string marker_frame_
const std::string TARGET_POSE_FRAME
const std::string PUB_RELATIVE_TARGET_POSE
ros::Subscriber sub_update_ar_pairs_
std::string target_pose_frame_
std::vector< yocs_msgs::ARPair > ar_pairs_
const std::string BASE_FRAME
const std::string MARKER_FRAME
tf::TransformBroadcaster tf_brcaster_
tf::TransformListener tf_listener_
const std::string PUB_INITIAL_POSE
const bool PUBLISH_TRANSFORMS
std::string global_frame_
tf::Transformer tf_internal_
const std::string SUB_UPDATE_AR_PAIRS
const std::string GLOBAL_FRAME
ros::Publisher pub_spotted_markers_
const std::string PUB_SPOTTED_MARKERS