After creating these files, build a package using catkin_make. If the build is successful, we can load the plugin in RViz itself. Take the RViz and load the panel by going to Menu Panel | Add New Panel. We will get a panel such as the following:
If we load the Teleop plugin from the list, we will get a panel such as the following:
We can put the Teleop Topic name and values inside the Linear Velocity and Angular Velocity, and we can echo the Teleop Topic and get the topic values such as the following: