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.<div><br></div><div><a href="http://www.ros.org/wiki/rosbag">http://www.ros.org/wiki/rosbag</a></div>

<div><a href="http://www.ros.org/wiki/rosbag"></a><a href="http://www.ros.org/wiki/rviz">http://www.ros.org/wiki/rviz</a></div><div><a href="http://www.ros.org/wiki/rviz"></a><a href="http://www.ros.org/wiki/rviz/DisplayTypes/RobotModel">http://www.ros.org/wiki/rviz/DisplayTypes/RobotModel</a></div>

<div><a href="http://www.ros.org/wiki/rviz/DisplayTypes/RobotModel"></a><a href="http://www.ros.org/wiki/urdf">http://www.ros.org/wiki/urdf</a></div><div><br></div><div><a href="http://www.ros.org/wiki/urdf"></a>Josh<br>
<br>
<div class="gmail_quote">On Sun, Jul 4, 2010 at 9:03 PM, j2eegirl <span dir="ltr"><<a href="mailto:dp@zju.edu.cn">dp@zju.edu.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

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


Sent from the ROS-Users mailing list archive at Nabble.com.<br>
<br>
------------------------------------------------------------------------------<br>
This SF.net email is sponsored by Sprint<br>
What will you do first with EVO, the first 4G phone?<br>
Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@lists.sourceforge.net">ros-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ros-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/ros-users</a><br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</blockquote></div><br></div>