ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Detecting bundles with more than 3 tags

asked 2013-10-20 07:56:17 -0600

BennyRe gravatar image

updated 2013-10-20 22:56:17 -0600

I'm trying to detect a ar_track_alvar bundle with five tags but it only detects the first three tagfrom the xml.

Is it possible to detect bundles with more than three tags?

My xml looks like:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!-- radius: 4,2 cm -->
<multimarker markers="3">
<marker index="1" status="1">
    <corner x="-1.5" y="-1.5" z="0" />
    <corner x="1.5" y="-1.5" z="0" />
    <corner x="1.5" y="1.5" z="0" />
    <corner x="-1.5" y="1.5" z="0" />
<marker index="10" status="1">
    <corner x="-1.5" y="-1.5" z="4.24" />
    <corner x="1.5" y="-1.5" z="4.24" />
    <corner x="1.5" y="1.5" z="4.24" />
    <corner x="-1.5" y="1.5" z="4.24" />
<marker index="9" status="1">
    <corner x="-3.8" y="-1.5" z="2.04" />
    <corner x="-2" y="-1.5" z="4.21" />
    <corner x="-2" y="1.5" z="4.21" />
    <corner x="-3.8" y="1.5" z="2.04" />
<marker index="11" status="1">
    <corner x="1.8" y="-1.5" z="2.2" />
    <corner x="3.9" y="-1.5" z="4.23" />
    <corner x="3.9" y="1.5" z="4.23" />
    <corner x="1.8" y="1.5" z="2.2" />
<marker index="12" status="1">
    <corner x="4" y="-1.5" z="1.44" />
    <corner x="3.9" y="-1.5" z="-1.56" />
    <corner x="3.9" y="1.5" z="-1.56" />
    <corner x="4" y="1.5" z="1.44" />
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-20 22:58:33 -0600

Thomas gravatar image

Wild guess: <multimarker markers="3"> should probably be replaced by <multimarker markers="5">

edit flag offensive delete link more


Your absolutely right! I just saw it by myself. I just deleted this question, then I saw your answer. Will leave it undeleted, so that you get your karma.

BennyRe gravatar image BennyRe  ( 2013-10-20 23:00:42 -0600 )edit

Question Tools

1 follower


Asked: 2013-10-20 07:56:17 -0600

Seen: 252 times

Last updated: Oct 20 '13