Question about polygons in RVIZ [closed]

asked 2012-04-26 05:12:33 -0500

alonsosjumper gravatar image

Hello, i'm using the ar_pose_single.launch file. When i run it in RVIZ, the marker is represented as arrows. I'm trying to representate ir as a cube or another polygon. The content of this launch is:

<launch> <node pkg="rviz" type="rviz" name="rviz" args="-d $(find ar_pose)/launch/live_single.vcg"/>

<node pkg="tf" type="static_transform_publisher" name="world_to_cam" 
    args="0 0 0.5 -1.57 0 -1.57 world usb_cam 10" /> 

<node name="usb_cam" pkg="usb_cam" type="usb_cam_node" respawn="false" output="log"> 
    <param name="video_device" type="string" value="/dev/video0"/> 
    <param name="camera_frame_id" type="string" value="usb_cam"/> 
    <param name="io_method" type="string" value="mmap"/> 
    <param name="image_width" type="int" value="640"/> 
    <param name="image_height" type="int" value="480"/> 
    <param name="pixel_format" type="string" value="yuyv"/> 
    <rosparam param="D">[0.025751483065329935, -0.10530741936574876,-0.0024821434601277623, -0.0031632353637182972, 0.0000]</rosparam> 
    <rosparam param="K">[558.70655574536931, 0.0, 316.68428342491319, 0.0, 553.44501004322387, 238.23867473419315, 0.0, 0.0, 1.0]</rosparam> 
    <rosparam param="R">[1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0]</rosparam> 
    <rosparam param="P">[558.70655574536931, 0.0, 316.68428342491319, 0.0, 0.0, 553.44501004322387, 238.23867473419315, 0.0, 0.0, 0.0, 1.0, 0.0]</rosparam> 
</node> 

<node name="ar_pose" pkg="ar_pose" type="ar_single" respawn="false" output="screen"> 
    <param name="marker_pattern" type="string" value="$(find ar_pose)/data/patt.hiro"/> 
    <param name="marker_width" type="double" value="80.0"/> 
    <param name="marker_center_x" type="double" value="0.0"/> 
    <param name="marker_center_y" type="double" value="0.0"/> 
    <param name="threshold" type="int" value="100"/> 
    <param name="use_history" type="bool" value="true"/>

</node> </launch>

What should i change to do this?

Thanks, kindest regards!

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2014-10-30 18:17:08.756871

Comments

Nobody knows?

alonsosjumper gravatar image alonsosjumper  ( 2012-05-22 04:55:28 -0500 )edit