ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
rviz is just a visualisation tool; it does not simulate anything. The simulator you are most likely running is gazebo and rviz is just visualising the data gazebo produces. To run rviz and moveit connected to the robot, you have to make sure that it communicates with the same roscore as the robot drivers.
I hope that helps as a rough guideline. If you need more help, please give a more detailed description of your system set-up and the robot you use.