Unit 10: 3D visualization

Hello, I am quite new to ROS and have followed the course up till this current unit. I am able to visualise 3D object within the course but when I applied it to a project outside the course, no 3D object was shown. I hypothesise that it is because I am not connected to the 3 nodes (robot_state_publisher, joint_state_publisher and tf2_web_republisher). May I know how did those 3 nodes come about in the course and how do I launch it if it is not within the course.

Hi @xinrantao7 ,

You can check the file used in the course, using the command below:

rosed course_web_dev_ros tf2_web.launch

<launch>
    <node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher">
    </node>
    <node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher">
    </node>
    <node name="tf2_web_republisher" pkg="tf2_web_republisher" type="tf2_web_republisher">
    </node>
</launch>

Regards