cant load 2 description files to visualize 2 models in Rviz
Hi I tried to load 2 models in Rviz without success.
when I load each model on Rviz Seperately It works fine.
But when I try to load them together the robot_state_publisher pkg wont load the description file with the param name "robot_description2"
what can I do to visualize the 2 robots in Rviz together?
heres launch file:
<launch>
<param name="robot_description" command="$(find xacro)/xacro.py '$(find manipulator_h_description)/urdf/manipulator_h1.xacro'" />
<param name="robot_description2" command="$(find xacro)/xacro.py '$(find manipulator_h_description)/urdf/manipulator_h2_rviz.xacro'" />
<!-- Combine joint values -->
<node pkg="robot_state_publisher" type="state_publisher" name="robot_state_publisher">
<param name="tf_prefix" type="string" value="first" />
</node>
<node pkg="robot_state_publisher" type="state_publisher" name="robot_state_publisher2">
<param name="tf_prefix" type="string" value="second" />
</node>
<node pkg="joint_state_publisher" type="joint_state_publisher" name="joint_state_publisher2">
<param name="use_gui" value="TRUE"/>
</node>
<node pkg="joint_state_publisher" type="joint_state_publisher" name="joint_state_publisher2">
<param name="use_gui" value="TRUE"/>
</node>
</launch>