Yeah, these are unreleased stacks, and stack dependencies has not been fully mapped out.  Nevertheless, if you have all the dependent packages compiled, the demo should work.  A problem I see in your log is:<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">


XRequest.136: BadDrawable (invalid Pixmap or Window parameter) 0x4c00002<br></blockquote>this most likely means the graphics card and driver might not provide necessary 3d accelerations for gazebo to function properly.  You might want to take a look at <a href="http://www.ros.org/wiki/simulator_gazebo/SystemRequirements">this page</a> for reference.<br>

<br>John<br><br><div class="gmail_quote">On Wed, Jul 14, 2010 at 10:44 PM, nitinDhiman <span dir="ltr"><<a href="mailto:nitinkdhiman@gmail.com">nitinkdhiman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
Hi Johh,<br>
Thanks for correcting me.<br>
I tried compiling after downloading  from mentioned link.  But I am not<br>
ablet to find one dependency 'arm_navigation_pr2_app'. It is not present in<br>
trunk_boxturtle. I am getting following messgae :<br>
<br>
nitin@tangri:/opt/ros/boxturtle/wg-ros-pkg/trunk_boxturtle$ rosmake gmapping<br>
pr2_gazebo_wg pr2_teleop rviz 2dnav_pr2<br>
[ rosmake ] Packages requested are: ['gmapping', 'pr2_gazebo_wg',<br>
'pr2_teleop', 'rviz', '2dnav_pr2']<br>
[ rosmake ] Logging to directory<br>
[ rosmake ] /home/nitin/.ros/rosmake/rosmake_output-20100715-111205<br>
[ rosmake ] Expanded args ['gmapping', 'pr2_gazebo_wg', 'pr2_teleop',<br>
'rviz', '2dnav_pr2'] to:<br>
['gmapping', 'pr2_gazebo_wg', 'pr2_teleop', 'rviz', '2dnav_pr2']<br>
[ rosmake ] Checking rosdeps compliance for packages gmapping,<br>
pr2_gazebo_wg, pr2_teleop, rviz, 2dnav_pr2.  This may take a few seconds.<br>
[rospack] woah! expanding the dependency tree made it blow up.<br>
 There must be a circular dependency somewhere.<br>
[rosstack] circular dependency<br>
[rosstack] couldn't find dependency [arm_navigation_pr2_app] of<br>
[wg_robots_gazebo]<br>
[rosstack] missing dependency<br>
.<br>
.<br>
.[ rosmake ] [ 140 of 144  Completed ]<br>
[rosmake-1] >>> explore_wg >>> [ make ]<br>
[ rosmake ] [ 141 of 144  Completed ]<br>
[rosmake-0] >>> move_base >>> [ make ]<br>
[rosmake-0] <<< move_base <<< ROS_NOBUILD in package move_base<br>
<br>
[rosmake-1] <<< explore_wg <<< [PASS] [ 0.70 seconds ]<br>
[ rosmake ] [ 143 of 144  Completed ]<br>
[rosmake-1] >>> 2dnav_pr2 >>> [ make ]<br>
[rosmake-1] <<< 2dnav_pr2 <<< [PASS] [ 1.01 seconds ]<br>
[ rosmake ] Summary output to directory<br>
[ rosmake ] /home/nitin/.ros/rosmake/rosmake_output-20100715-111205<br>
<br>
<br>
On trying " roslaunch pr2_gazebo_wg map_building_demo.launch", Gazebo starts<br>
but it immediately crashes. Following is the part of console output::<br>
<div class="im"><br>
ignoring link without visual tag:<br>
wide_stereo_gazebo_l_stereo_camera_optical_frame<br>
ignoring link without visual tag:<br>
wide_stereo_gazebo_r_stereo_camera_optical_frame<br>
ignoring link without visual tag: wide_stereo_optical_frame<br>
</div>[INFO] 1279172476.033854: Waiting for controller manager to start<br>
ignoring link without visual tag: l_forearm_cam_optical_frame<br>
XRequest.136: BadDrawable (invalid Pixmap or Window parameter) 0x4c00002<br>
<div class="im">ignoring link without visual tag: l_gripper_led_frame<br>
ignoring link without visual tag: r_forearm_cam_optical_frame<br>
ignoring link without visual tag: r_gripper_led_frame<br>
[ INFO] 0.000000000: waiting for gazebo factory, usually launched by<br>
'roslaunch `rospack find gazebo`/launch/empty_world.launch'<br>
</div>directory [/tmp/gazebo-nitin-0] already exists (previous crash?)<br>
but the owner gazebo server (pid=4276) is not running.<br>
deleting the old information of the directory [/tmp/gazebo-nitin-0]<br>
Gazebo successfully initialized<br>
[ INFO] 0.001000000: Callback thread id=0x8a8c7a0<br>
[gazebo-2] process has died [pid 7434, exit code -11].<br>
log files:<br>
/home/nitin/.ros/log/937949a6-8fd3-11df-af9d-00248119e15c/gazebo-2*.log<br>
[ERROR] 0.023000000: File<br>
[/opt/ros/boxturtle/wg-ros-pkg/trunk_boxturtle/stacks/wg_robots_gazebo/pr2_gazebo_wg/rviz/map.vcg]<br>
does not exist<br>
[ INFO] 0.028000000: [stereo_image_proc] Reconfigure request received<br>
[ INFO] 0.028000000: [stereo_image_proc] Reconfigure request received<br>
[ INFO] 0.026000000: [stereo_image_proc] Reconfigure request received<br>
terminate called after throwing an instance of 'std::string'<br>
[pr2_gazebo_model-3] process has died [pid 7435, exit code -6].<br>
log files:<br>
/home/nitin/.ros/log/937949a6-8fd3-11df-af9d-00248119e15c/pr2_gazebo_model-3*<br>
<br>
<br>
One more thing I would like to know is " Is there a known better way to find<br>
location of dependent packages?". I spent a lot of time in figuring out<br>
these.<br>
<br>
regards<br>
Nitin<br>
<font color="#888888"><br>
<br>
--<br>
View this message in context: <a href="http://ros-users.122217.n3.nabble.com/building-a-map-in-simulation-tp965733p968587.html" target="_blank">http://ros-users.122217.n3.nabble.com/building-a-map-in-simulation-tp965733p968587.html</a><br>


</font><div><div></div><div class="h5">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>
</div></div></blockquote></div><br>