Update of /cvsroot/playerstage/code/player/utils/playernav
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5100
Modified Files:
playernav.c
Log Message:
finished changes to allow pose from either localize or planner
Index: playernav.c
===================================================================
RCS file: /cvsroot/playerstage/code/player/utils/playernav/playernav.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** playernav.c 22 Sep 2006 21:54:58 -0000 1.50
--- playernav.c 22 Sep 2006 22:22:25 -0000 1.51
***************
*** 303,309 ****
// raise the robot's canvas item, so that the user can select it
! //if(gui_data->localizes[i])
! if(gui_data->planners[i])
gnome_canvas_item_raise_to_top(gui_data->robot_items[i]);
}
--- 303,310 ----
// raise the robot's canvas item, so that the user can select it
! if(gui_data->localizes[i] || gui_data->planners[i])
! {
gnome_canvas_item_raise_to_top(gui_data->robot_items[i]);
+ }
}
***************
*** 420,425 ****
for(i=0;i<gui_data.num_robots;i++)
{
! //if(gui_data.localizes[i])
! if(gui_data.planners[i])
{
robot_pose.px = 0.0;
--- 421,425 ----
for(i=0;i<gui_data.num_robots;i++)
{
! if(gui_data.localizes[i] || gui_data.planners[i])
{
robot_pose.px = 0.0;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit