hi iam trying to visualize 2 models in Rviz without success.

asked 2020-10-28 05:10:29 -0500

yogev gravatar image

I tried to load 2 description files into the parameter server , with different names, for visual 2 models in Rviz.

when I name the description parameter as "robot_description" it works fine for both description files when loading each one on Rviz Seperately,

,but when I tried load both files together on Rviz it wont load the description file named "robot_description2"

"robot_description2" is the description file for the other robot in Rviz. the "robot_state_publisher" pkg wont load it and gives

error "Could not find parameter

robot_description on parameter server"

what can I do? heres the launch file

<launch>

<node pkg="robot_state_publisher" type="state_publisher" name="robot_state_publisher"> </node>

<node pkg="robot_state_publisher" type="state_publisher" name="robot_state_publisher2"> </node>

<node pkg="joint_state_publisher" type="joint_state_publisher" name="joint_state_publisher2"> </node>

<node pkg="joint_state_publisher" type="joint_state_publisher" name="joint_state_publisher2"> </node>

</launch>

edit retag flag offensive close merge delete