From: <lz...@16...> - 2007-11-14 23:51:22
|
I have a problem about how to communicate between two "player"(version:2.0.3). I want to know whether a player server can be a client of another player server. For example, I run a player in a robot (its ipaddr is 192.168.0.36) with the following configure: driver ( name "p2os" provides ["odometry::position:1"] port "/dev/ttyS0" ) driver ( name "sicklms200" provides ["laser:0"] port "/dev/ttyS2" ) In another remote server (its ipaddr is 192.168.0.222), I run another player server with the following configure: driver ( name "mapfile" provides ["map:0"] filename "mymap.pgm" resolution 0.1 ) driver ( name "amcl" provides ["localize:0"] requires ["odometry:192.168.0.36:6665:position:1" "192.168.0.36:6665:laser:0" "laser::map:0"] ) driver ( name "vfh" provides ["position:0"] requires ["192.168.0.36:6665:position:1" "192.168.0.36:6665:laser:0"] safety_dist 0.1 distance_epsilon 0.3 angle_epsilon 5 ) driver ( name "wavefront" provides ["planner:0"] requires ["position:0" "localize:0" "map:0"] safety_dist 0.15 distance_epsilon 0.5 angle_epsilon 10 ) Can anybody tell me if this is right, Thank you. If this is not OK, please tell me how to do(the data gather in robot, but the process in a remote player server )? Best regards |