From: <wa...@us...> - 2009-07-28 03:11:32
|
Revision: 19820 http://personalrobots.svn.sourceforge.net/personalrobots/?rev=19820&view=rev Author: wattsk Date: 2009-07-28 03:11:25 +0000 (Tue, 28 Jul 2009) Log Message: ----------- Fixed max tilt bug Modified Paths: -------------- pkg/trunk/pr2/teleop/teleop_pr2/teleop_pr2.cpp Modified: pkg/trunk/pr2/teleop/teleop_pr2/teleop_pr2.cpp =================================================================== --- pkg/trunk/pr2/teleop/teleop_pr2/teleop_pr2.cpp 2009-07-28 03:08:11 UTC (rev 19819) +++ pkg/trunk/pr2/teleop/teleop_pr2/teleop_pr2.cpp 2009-07-28 03:11:25 UTC (rev 19820) @@ -54,7 +54,7 @@ ROS_WARN("maximum pan not set. Assuming 0.6"); if (!hasParam("max_tilt") || !getParam("max_tilt", max_tilt)) ROS_WARN("maximum tilt not set. Assuming 1.4"); - if (!hasParam("min_tilt") || !getParam("min_tilt", max_tilt)) + if (!hasParam("min_tilt") || !getParam("min_tilt", min_tilt)) ROS_WARN("maximum tilt not set. Assuming -0.4"); if (!hasParam("tilt_step") || !getParam("tilt_step", tilt_step)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |