vcg files are just configuration files for rviz.  rviz visualizes data on a running ROS network.  bag files are simply stored data from a ROS network that can be replayed using rosbag.

http://www.ros.org/wiki/rosbag
http://www.ros.org/wiki/rviz
http://www.ros.org/wiki/rviz/DisplayTypes/RobotModel
http://www.ros.org/wiki/urdf

Josh

On Sun, Jul 4, 2010 at 9:03 PM, j2eegirl <dp@zju.edu.cn> wrote:

I got a bag file about the robot tf and the pointcloud information, as well
as a xml file named pr2.urdf. I know rviz is a visual tool for vcg file, may
I use the rviz package to visualize the bag file? If not, is there any other
way to visualize the bag?
I just have the above files as well as some stl models, without any other
source. What should I do? Thank you.
--
View this message in context: http://ros-users.122217.n3.nabble.com/How-to-use-rviz-to-display-a-bag-file-contents-tp943507p943507.html
Sent from the ROS-Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
ros-users mailing list
ros-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ros-users
_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users