-
Notifications
You must be signed in to change notification settings - Fork 0
/
player.src
74 lines (66 loc) · 3.35 KB
/
player.src
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!--<h1 style="margin-bottom:-0.4em;">Player</h1>-->
<img width=140 src="images/player_button_v3.png" alt="Player piece"><br>
<p style="margin-top:0;">Cross-platform robot device interface & server
<hr>
<h3>About Player</h3>
<p>
<img align=right width=150 src="../images/p2dxelasercam.jpg">
Player is a network server for robot control. Running on your robot,
Player provides a clean and simple interface to the robot's sensors and
actuators over the IP network. Your client program talks to Player over a
TCP socket, reading data from sensors, writing commmands to actuators, and
configuring devices on the fly.</p>
<p>Player supports a variety of robot hardware. The original Player
platform is the ActivMedia Pioneer 2 family, but several other robots
and many common sensors are supported. Player's modular architecture
makes it easy to add support for new hardware, and an active
user/developer community contributes new drivers.</p>
<p>Player runs on Linux (PC and embedded), Solaris and *BSD.
</p>
<h3>Features of Player
</h3>
<p>
Player is designed to be language and platform independent. Your
client program can run on any machine that has a network connection to
your robot, and it can be written in any language that supports TCP
sockets. We currently have <a
href="index.php?src=contrib">client-side utilities available</a> in
C++, Tcl, Java, and Python. Further, Player makes no assumptions about
how you might want to structure your robot control programs. In this
way, it is much more "minimal" than other robot interfaces. If you
want your client to be a highly concurrent multi-threaded program,
write it like that. If you like a simple read-think-act loop, do
that. If you like to control your robot interactively, try our Tcl
client (or write your own client utilities in your favorite
interactive language).
</p>
<p>Player allows multiple devices to present the same interface. For
example the Pioneer 2 and RWI drivers both use Player's 'position'
interface to allow control of the robot's movement. Thus the same
control code could drive both kinds of robot. This feature is very
useful when combined with the <a href=index.php?src=stage> Stage</a>
simulator; control programs written for Stage's simulated robots will
often work unchanged on real hardware.
</p>
<p>
Player is also designed to support virtually any number of clients. Have you
ever wanted your robots to "see" through each others' eyes? Now they can. Any
client can connect to and read sensor data from (and even write motor commands
to) any instance of Player on any robot. Aside from distributed sensing for
control, you can also use Player for monitoring of experiments. For example,
while your C++ client controls a robot, you can run a
graphical visualization tool
elsewhere that shows you current sensor data and a logger program to save
data for later analysis. On-the-fly device requests allow your clients to
gain access to differenct sensors and actuators as needed for the task at hand.
</p>
<p>
The behavior of the server itself can also be configured on the fly. See the
<a href=index.php?src=doc>user manual</a> for details on changing sensor data rate and other features.
</p>
<p>
Last but not least, Player is free software, released under the GNU
Public License. If you don't like some part of how it works, change
it. And please <a
href="http://sourceforge.net/tracker/?group_id=42445">send us your
patch!</a>