49 marker_gb *= in_front;
51 ar_track_alvar_msgs::AlvarMarker kk;
64 yocs_msgs::ARPairList l;
74 p.right_id = m.id - 3;
77 p.target_frame = frame;
103 char parent_frame[32];
104 char child_frame[32];
108 for (
unsigned int i = 0; i <markers.markers.size(); i++)
110 sprintf(parent_frame,
"%s_%d", prefix.c_str(), markers.markers[i].id);
123 char child_frame[32];
127 for (
unsigned int i = 0; i <markers.markers.size(); i++)
129 sprintf(child_frame,
"%s_%d", prefix.c_str(), markers.markers[i].id);
141 int main(
int argc,
char** argv)
double tf_broadcast_freq_
static tf::Quaternion createQuaternionFromRPY(double roll, double pitch, double yaw)
void pose2tf(const geometry_msgs::Pose &pose, tf::Transform &tf)
void publish(const boost::shared_ptr< M > &message) const
void globalMarkersCB(const ar_track_alvar_msgs::AlvarMarkers::ConstPtr &msg)
Subscriber subscribe(const std::string &topic, uint32_t queue_size, void(T::*fp)(M), T *obj, const TransportHints &transport_hints=TransportHints())
static double getYaw(const Quaternion &bt_q)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ros::Publisher pub_update_ar_pair_
int main(int argc, char **argv)
void notifyARPairTracker()
ROSCPP_DECL void spin(Spinner &spinner)
std::string target_frame_postfix_
void publishMarkerTFs(const std::string prefix, const ar_track_alvar_msgs::AlvarMarkers &markers)
void createMirrorMarkers()
static Quaternion createQuaternionFromYaw(double yaw)
ar_track_alvar_msgs::AlvarMarkers global_markers_mirrors_
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)
std::string global_frame_
void publishTargetTFs(const std::string prefix, const ar_track_alvar_msgs::AlvarMarkers &markers)
void tf2pose(const tf::Transform &tf, geometry_msgs::Pose &pose)
ar_track_alvar_msgs::AlvarMarkers global_markers_
std::string global_marker_prefix_
ECL_DEPRECATED const char * pose2str(const geometry_msgs::Pose &pose)
tf::TransformBroadcaster tf_brcaster_
ros::Subscriber sub_global_marker_
void broadcastMarkersTF()