To add a Rviz configuration to the launch files follow the below steps:

1st Step: From Rviz, save a configuration with .rviz extension in the home directory

image.png

image.png

image.png

image.png

Save the file in the home directory by name of urdf_config.rviz:

image.png

2nd Step: Move the urdf_config.rviz File to the Rviz Folder

image.png