Revision: 8114
http://playerstage.svn.sourceforge.net/playerstage/?rev=8114&view=rev
Author: thjc
Date: 2009-07-24 11:28:20 +0000 (Fri, 24 Jul 2009)
Log Message:
-----------
moving examples to examples tree
fixing up license headers for client lib bindings
Modified Paths:
--------------
code/player/trunk/client_libs/libplayerc/bindings/python/playerc.i
code/player/trunk/client_libs/libplayerc/bindings/python/playerc_swig_parse.py
code/player/trunk/client_libs/libplayerc/bindings/python/test/test.py
code/player/trunk/client_libs/libplayerc/bindings/python/test/test_camera.py
code/player/trunk/client_libs/libplayerc/bindings/python/test/test_laser.py
code/player/trunk/client_libs/libplayerc/bindings/python/test/test_position2d.py
code/player/trunk/client_libs/libplayerc/bindings/python/test/test_wifi.py
code/player/trunk/client_libs/libplayerc/bindings/ruby/playerc.i
code/player/trunk/client_libs/libplayerc/dev_speech_recognition.c
code/player/trunk/client_libs/libplayerc/doc/libplayerc_py.html
code/player/trunk/client_libs/libplayerc/doc/mainpage.html
code/player/trunk/client_libs/libplayerc++/bindings/ruby/CMakeLists.txt
code/player/trunk/client_libs/libplayerc++/bindings/ruby/libplayerc_rb.html
code/player/trunk/client_libs/libplayerc++/bindings/ruby/test/test_bindings_installation.rb
Added Paths:
-----------
code/player/trunk/client_libs/libplayerc/doc/joydrive.py.doc
code/player/trunk/client_libs/libplayerc/doc/simpleclient.c.doc
code/player/trunk/client_libs/libplayerc++/bindings/ruby/example.rb.doc
code/player/trunk/client_libs/libplayerc++/bindings/ruby/test/
code/player/trunk/examples/python/playercpp_example.py
code/player/trunk/examples/python/playercpy_example.py
code/player/trunk/examples/ruby/libplayerc++_ruby_example.rb
Removed Paths:
-------------
code/player/trunk/client_libs/libplayerc/bindings/python/playercpy_example.py
code/player/trunk/client_libs/libplayerc/doc/joydrive.py
code/player/trunk/client_libs/libplayerc/doc/simpleclient.c
code/player/trunk/client_libs/libplayerc++/bindings/python/playercpp_example.py
code/player/trunk/client_libs/libplayerc++/bindings/ruby/example.rb
code/player/trunk/client_libs/libplayerc++/bindings/ruby/examples/
code/player/trunk/client_libs/libplayerc++/bindings/ruby/playercpp.i
Modified: code/player/trunk/client_libs/libplayerc/bindings/python/playerc.i
===================================================================
--- code/player/trunk/client_libs/libplayerc/bindings/python/playerc.i
2009-07-24 10:57:21 UTC (rev 8113)
+++ code/player/trunk/client_libs/libplayerc/bindings/python/playerc.i
2009-07-24 11:28:20 UTC (rev 8114)
@@ -1,3 +1,23 @@
+/*
+ * Player - One Hell of a Robot Server
+ * Copyright (C) 2004
+ * Andrew Howard
+ *
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
%module playerc
Modified:
code/player/trunk/client_libs/libplayerc/bindings/python/playerc_swig_parse.py
===================================================================
---
code/player/trunk/client_libs/libplayerc/bindings/python/playerc_swig_parse.py
2009-07-24 10:57:21 UTC (rev 8113)
+++
code/player/trunk/client_libs/libplayerc/bindings/python/playerc_swig_parse.py
2009-07-24 11:28:20 UTC (rev 8114)
@@ -1,5 +1,25 @@
#!/usr/bin/env python
-
+#/*
+# * Player - One Hell of a Robot Server
+# * Copyright (C) 2004
+# * Andrew Howard
+# *
+# *
+# * This library is free software; you can redistribute it and/or
+# * modify it under the terms of the GNU Lesser General Public
+# * License as published by the Free Software Foundation; either
+# * version 2.1 of the License, or (at your option) any later version.
+# *
+# * This library is distributed in the hope that it will be useful,
+# * but WITHOUT ANY WARRANTY; without even the implied warranty of
+# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# * Lesser General Public License for more details.
+# *
+# * You should have received a copy of the GNU Lesser General Public
+# * License along with this library; if not, write to the Free Software
+# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# */
+
import re
import string
import sys
Deleted:
code/player/trunk/client_libs/libplayerc/bindings/python/playercpy_example.py
===================================================================
---
code/player/trunk/client_libs/libplayerc/bindings/python/playercpy_example.py
2009-07-24 10:57:21 UTC (rev 8113)
+++
code/player/trunk/client_libs/libplayerc/bindings/python/playercpy_example.py
2009-07-24 11:28:20 UTC (rev 8114)
@@ -1,69 +0,0 @@
-#!/usr/bin/env python
-
-import math
-from playerc import *
-
-# Create a client object
-c = playerc_client(None, 'localhost', 6665)
-# Connect it
-if c.connect() != 0:
- raise playerc_error_str()
-
-# Create a proxy for position2d:0
-p = playerc_position2d(c,0)
-if p.subscribe(PLAYERC_OPEN_MODE) != 0:
- raise playerc_error_str()
-
-# Retrieve the geometry
-if p.get_geom() != 0:
- raise playerc_error_str()
-print 'Robot size: (%.3f,%.3f)' % (p.size[0], p.size[1])
-
-# Create a proxy for laser:0
-l = playerc_laser(c,0)
-if l.subscribe(PLAYERC_OPEN_MODE) != 0:
- raise playerc_error_str()
-
-# Retrieve the geometry
-if l.get_geom() != 0:
- raise playerc_error_str()
-print 'Laser pose: (%.3f,%.3f,%.3f)' % (l.pose[0],l.pose[1],l.pose[2])
-
-# Start the robot turning CCW at 20 deg / sec
-p.set_cmd_vel(0.0, 0.0, 20.0 * math.pi / 180.0, 1)
-
-for i in range(0,30):
- if c.read() == None:
- raise playerc_error_str()
-
- print 'Robot pose: (%.3f,%.3f,%.3f)' % (p.px,p.py,p.pa)
- laserscanstr = 'Partial laser scan: '
- for j in range(0,5):
- if j >= l.scan_count:
- break
- laserscanstr += '%.3f ' % l.ranges[j]
- print laserscanstr
-
-# Now turn the other way
-p.set_cmd_vel(0.0, 0.0, -20.0 * math.pi / 180.0, 1)
-
-for i in range(0,30):
- if c.read() == None:
- raise playerc_error_str()
-
- print 'Robot pose: (%.3f,%.3f,%.3f)' % (p.px,p.py,p.pa)
- laserscanstr = 'Partial laser scan: '
- for j in range(0,5):
- if j >= l.scan_count:
- break
- laserscanstr += '%.3f ' % l.ranges[j]
- print laserscanstr
-
-# Now stop
-p.set_cmd_vel(0.0, 0.0, 0.0, 1)
-
-# Clean up
-p.unsubscribe()
-l.unsubscribe()
-c.disconnect()
-
Modified: code/player/trunk/client_libs/libplayerc/bindings/python/test/test.py
===================================================================
--- code/player/trunk/client_libs/libplayerc/bindings/python/test/test.py
2009-07-24 10:57:21 UTC (rev 8113)
+++ code/player/trunk/client_libs/libplayerc/bindings/python/test/test.py
2009-07-24 11:28:20 UTC (rev 8114)
@@ -1,4 +1,24 @@
#!/usr/bin/env python
+#/*
+# * Player - One Hell of a Robot Server
+# * Copyright (C) 2004
+# * Andrew Howard
+# *
+# *
+# * This library is free software; you can redistribute it and/or
+# * modify it under the terms of the GNU Lesser General Public
+# * License as published by the Free Software Foundation; either
+# * version 2.1 of the License, or (at your option) any later version.
+# *
+# * This library is distributed in the hope that it will be useful,
+# * but WITHOUT ANY WARRANTY; without even the implied warranty of
+# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# * Lesser General Public License for more details.
+# *
+# * You should have received a copy of the GNU Lesser General Public
+# * License along with this library; if not, write to the Free Software
+# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# */
# Desc: Test Python bindings
# Author: Andrew Howard
Modified:
code/player/trunk/client_libs/libplayerc/bindings/python/test/test_camera.py
===================================================================
---
code/player/trunk/client_libs/libplayerc/bindings/python/test/test_camera.py
2009-07-24 10:57:21 UTC (rev 8113)
+++
code/player/trunk/client_libs/libplayerc/bindings/python/test/test_camera.py
2009-07-24 11:28:20 UTC (rev 8114)
@@ -1,3 +1,23 @@
+#/*
+# * Player - One Hell of a Robot Server
+# * Copyright (C) 2004
+# * Andrew Howard
+# *
+# *
+# * This library is free software; you can redistribute it and/or
+# * modify it under the terms of the GNU Lesser General Public
+# * License as published by the Free Software Foundation; either
+# * version 2.1 of the License, or (at your option) any later version.
+# *
+# * This library is distributed in the hope that it will be useful,
+# * but WITHOUT ANY WARRANTY; without even the implied warranty of
+# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# * Lesser General Public License for more details.
+# *
+# * You should have received a copy of the GNU Lesser General Public
+# * License along with this library; if not, write to the Free Software
+# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# */
# Desc: Test the camera
# Author: Andrew Howard
Modified:
code/player/trunk/client_libs/libplayerc/bindings/python/test/test_laser.py
===================================================================
--- code/player/trunk/client_libs/libplayerc/bindings/python/test/test_laser.py
2009-07-24 10:57:21 UTC (rev 8113)
+++ code/player/trunk/client_libs/libplayerc/bindings/python/test/test_laser.py
2009-07-24 11:28:20 UTC (rev 8114)
@@ -1,3 +1,23 @@
+#/*
+# * Player - One Hell of a Robot Server
+# * Copyright (C) 2004
+# * Andrew Howard
+# *
+# *
+# * This library is free software; you can redistribute it and/or
+# * modify it under the terms of the GNU Lesser General Public
+# * License as published by the Free Software Foundation; either
+# * version 2.1 of the License, or (at your option) any later version.
+# *
+# * This library is distributed in the hope that it will be useful,
+# * but WITHOUT ANY WARRANTY; without even the implied warranty of
+# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# * Lesser General Public License for more details.
+# *
+# * You should have received a copy of the GNU Lesser General Public
+# * License along with this library; if not, write to the Free Software
+# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# */
# Desc: Test the laser
# Author: Andrew Howard
Modified:
code/player/trunk/client_libs/libplayerc/bindings/python/test/test_position2d.py
===================================================================
---
code/player/trunk/client_libs/libplayerc/bindings/python/test/test_position2d.py
2009-07-24 10:57:21 UTC (rev 8113)
+++
code/player/trunk/client_libs/libplayerc/bindings/python/test/test_position2d.py
2009-07-24 11:28:20 UTC (rev 8114)
@@ -1,3 +1,23 @@
+#/*
+# * Player - One Hell of a Robot Server
+# * Copyright (C) 2004
+# * Andrew Howard
+# *
+# *
+# * This library is free software; you can redistribute it and/or
+# * modify it under the terms of the GNU Lesser General Public
+# * License as published by the Free Software Foundation; either
+# * version 2.1 of the License, or (at your option) any later version.
+# *
+# * This library is distributed in the hope that it will be useful,
+# * but WITHOUT ANY WARRANTY; without even the implied warranty of
+# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# * Lesser General Public License for more details.
+# *
+# * You should have received a copy of the GNU Lesser General Public
+# * License along with this library; if not, write to the Free Software
+# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# */
# Desc: Test the position2d interface
# Author: Andrew Howard
Modified:
code/player/trunk/client_libs/libplayerc/bindings/python/test/test_wifi.py
===================================================================
--- code/player/trunk/client_libs/libplayerc/bindings/python/test/test_wifi.py
2009-07-24 10:57:21 UTC (rev 8113)
+++ code/player/trunk/client_libs/libplayerc/bindings/python/test/test_wifi.py
2009-07-24 11:28:20 UTC (rev 8114)
@@ -1,3 +1,23 @@
+#/*
+# * Player - One Hell of a Robot Server
+# * Copyright (C) 2004
+# * Andrew Howard
+# *
+# *
+# * This library is free software; you can redistribute it and/or
+# * modify it under the terms of the GNU Lesser General Public
+# * License as published by the Free Software Foundation; either
+# * version 2.1 of the License, or (at your option) any later version.
+# *
+# * This library is distributed in the hope that it will be useful,
+# * but WITHOUT ANY WARRANTY; without even the implied warranty of
+# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# * Lesser General Public License for more details.
+# *
+# * You should have received a copy of the GNU Lesser General Public
+# * License along with this library; if not, write to the Free Software
+# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# */
# Desc: Test wifi device
# Author: Andrew Howard
Modified: code/player/trunk/client_libs/libplayerc/bindings/ruby/playerc.i
===================================================================
--- code/player/trunk/client_libs/libplayerc/bindings/ruby/playerc.i
2009-07-24 10:57:21 UTC (rev 8113)
+++ code/player/trunk/client_libs/libplayerc/bindings/ruby/playerc.i
2009-07-24 11:28:20 UTC (rev 8114)
@@ -1,4 +1,25 @@
-
+/*
+ * Player - One Hell of a Robot Server
+ * Copyright (C) 2004
+ * Andrew Howard
+ * Copyright (C) 2009 - Ruby Modifications
+ * Jordi Polo
+ *
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
%module playerc
%{
Modified: code/player/trunk/client_libs/libplayerc/dev_speech_recognition.c
===================================================================
--- code/player/trunk/client_libs/libplayerc/dev_speech_recognition.c
2009-07-24 10:57:21 UTC (rev 8113)
+++ code/player/trunk/client_libs/libplayerc/dev_speech_recognition.c
2009-07-24 11:28:20 UTC (rev 8114)
@@ -1,3 +1,23 @@
+/*
+ * Player - One Hell of a Robot Server
+ * Copyright (C) Andrew Howard 2003
+ *
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
#include <stdlib.h>
#include <string.h>
Deleted: code/player/trunk/client_libs/libplayerc/doc/joydrive.py
===================================================================
--- code/player/trunk/client_libs/libplayerc/doc/joydrive.py 2009-07-24
10:57:21 UTC (rev 8113)
+++ code/player/trunk/client_libs/libplayerc/doc/joydrive.py 2009-07-24
11:28:20 UTC (rev 8114)
@@ -1,51 +0,0 @@
-
-# Desc: A simply joystick controller
-# Author: Andrew Howard
-
-import math
-from playerc import *
-
-
-def main(host, port):
-
- # Connect to the server
- client = playerc_client(None, host, port)
- if client.connect() != 0:
- raise playerc_error_str()
-
- # Open a joystick device
- joystick = playerc_joystick(client, 0)
- if joystick.subscribe(PLAYERC_READ_MODE) != 0:
- raise playerc_error_str()
-
- # Open a position device
- position = playerc_position(client, 0)
- if position.subscribe(PLAYER_ALL_MODE) != 0:
- raise playerc_error_str()
-
- # Enable the motors
- position.enable(1)
-
- while 1:
-
- # Read data from the server
- pid = client.read()
-
- # Print out current position
- if pid == position.info.id:
- print '%+.3f %+.3f' % (position.px, position.py)
-
- # Send velocity commands to the robot
- if pid == client.id:
- vel_x = -joystick.py * 0.50
- vel_yaw = -joystick.px * math.pi / 4
- position.set_cmd_vel(vel_x, 0, vel_yaw, 1)
-
- return
-
-
-
-
-if __name__ == '__main__':
-
- main('localhost', 6665)
Copied: code/player/trunk/client_libs/libplayerc/doc/joydrive.py.doc (from rev
8112, code/player/trunk/client_libs/libplayerc/doc/joydrive.py)
===================================================================
--- code/player/trunk/client_libs/libplayerc/doc/joydrive.py.doc
(rev 0)
+++ code/player/trunk/client_libs/libplayerc/doc/joydrive.py.doc
2009-07-24 11:28:20 UTC (rev 8114)
@@ -0,0 +1,51 @@
+
+# Desc: A simply joystick controller
+# Author: Andrew Howard
+
+import math
+from playerc import *
+
+
+def main(host, port):
+
+ # Connect to the server
+ client = playerc_client(None, host, port)
+ if client.connect() != 0:
+ raise playerc_error_str()
+
+ # Open a joystick device
+ joystick = playerc_joystick(client, 0)
+ if joystick.subscribe(PLAYERC_READ_MODE) != 0:
+ raise playerc_error_str()
+
+ # Open a position device
+ position = playerc_position(client, 0)
+ if position.subscribe(PLAYER_ALL_MODE) != 0:
+ raise playerc_error_str()
+
+ # Enable the motors
+ position.enable(1)
+
+ while 1:
+
+ # Read data from the server
+ pid = client.read()
+
+ # Print out current position
+ if pid == position.info.id:
+ print '%+.3f %+.3f' % (position.px, position.py)
+
+ # Send velocity commands to the robot
+ if pid == client.id:
+ vel_x = -joystick.py * 0.50
+ vel_yaw = -joystick.px * math.pi / 4
+ position.set_cmd_vel(vel_x, 0, vel_yaw, 1)
+
+ return
+
+
+
+
+if __name__ == '__main__':
+
+ main('localhost', 6665)
Property changes on:
code/player/trunk/client_libs/libplayerc/doc/joydrive.py.doc
___________________________________________________________________
Added: svn:keywords
+ Author Date Id Revision
Added: svn:mergeinfo
+
/code/player/branches/release-2-1-patches/client_libs/libplayerc/doc/joydrive.py:6672-6673,6738,6834,6886,6905,6930,6936,6946,6951,6955,6975,6979-6981,6985,6987-6996,7087-7088,7204,7226,7230,7248,7250-7252,7256,7262-7263,7276,7300,7602
/code/player/trunk/client_libs/libplayerc/doc/joydrive.py:6985
Added: svn:eol-style
+ native
Modified: code/player/trunk/client_libs/libplayerc/doc/libplayerc_py.html
===================================================================
--- code/player/trunk/client_libs/libplayerc/doc/libplayerc_py.html
2009-07-24 10:57:21 UTC (rev 8113)
+++ code/player/trunk/client_libs/libplayerc/doc/libplayerc_py.html
2009-07-24 11:28:20 UTC (rev 8114)
@@ -21,7 +21,7 @@
Programs using the libplayerc Python bindings will generally have the
following structure:
-...@include joydrive.py
+...@include joydrive.py.doc
The steps in this program mirror those described for <a
href="index.html">standard C clients</a>. The key syntactical
Modified: code/player/trunk/client_libs/libplayerc/doc/mainpage.html
===================================================================
--- code/player/trunk/client_libs/libplayerc/doc/mainpage.html 2009-07-24
10:57:21 UTC (rev 8113)
+++ code/player/trunk/client_libs/libplayerc/doc/mainpage.html 2009-07-24
11:28:20 UTC (rev 8114)
@@ -20,7 +20,7 @@
Programs using libplayerc will generally have the following structure:
-...@include simpleclient.c
+...@include simpleclient.c.doc
This example can be built using the commands:
<PRE>
Deleted: code/player/trunk/client_libs/libplayerc/doc/simpleclient.c
===================================================================
--- code/player/trunk/client_libs/libplayerc/doc/simpleclient.c 2009-07-24
10:57:21 UTC (rev 8113)
+++ code/player/trunk/client_libs/libplayerc/doc/simpleclient.c 2009-07-24
11:28:20 UTC (rev 8114)
@@ -1,51 +0,0 @@
-
-#include <stdio.h>
-
-#include <libplayerc/playerc.h>
-
-int main(int argc, const char **argv)
-{
- int i;
- playerc_client_t *client;
- playerc_position2d_t *position2d;
-
- // Create a client object and connect to the server; the server must
- // be running on "localhost" at port 6665
- client = playerc_client_create(NULL, "localhost", 6665);
- if (playerc_client_connect(client) != 0)
- {
- fprintf(stderr, "error: %s\n", playerc_error_str());
- return -1;
- }
-
- // Create a position2d proxy (device id "position2d:0") and susbscribe
- // in read/write mode
- position2d = playerc_position2d_create(client, 0);
- if (playerc_position2d_subscribe(position2d, PLAYERC_OPEN_MODE) != 0)
- {
- fprintf(stderr, "error: %s\n", playerc_error_str());
- return -1;
- }
-
- // Enable the robots motors
- playerc_position2d_enable(position2d, 1);
-
- // Start the robot turning slowing
- playerc_position2d_set_cmd_vel(position2d, 0, 0, 0.1, 1);
-
- for (i = 0; i < 200; i++)
- {
- // Read data from the server and display current robot position
- playerc_client_read(client);
- printf("position : %f %f %f\n",
- position2d->px, position2d->py, position2d->pa);
- }
-
- // Shutdown and tidy up
- playerc_position2d_unsubscribe(position2d);
- playerc_position2d_destroy(position2d);
- playerc_client_disconnect(client);
- playerc_client_destroy(client);
-
- return 0;
-}
Copied: code/player/trunk/client_libs/libplayerc/doc/simpleclient.c.doc (from
rev 8112, code/player/trunk/client_libs/libplayerc/doc/simpleclient.c)
===================================================================
--- code/player/trunk/client_libs/libplayerc/doc/simpleclient.c.doc
(rev 0)
+++ code/player/trunk/client_libs/libplayerc/doc/simpleclient.c.doc
2009-07-24 11:28:20 UTC (rev 8114)
@@ -0,0 +1,51 @@
+
+#include <stdio.h>
+
+#include <libplayerc/playerc.h>
+
+int main(int argc, const char **argv)
+{
+ int i;
+ playerc_client_t *client;
+ playerc_position2d_t *position2d;
+
+ // Create a client object and connect to the server; the server must
+ // be running on "localhost" at port 6665
+ client = playerc_client_create(NULL, "localhost", 6665);
+ if (playerc_client_connect(client) != 0)
+ {
+ fprintf(stderr, "error: %s\n", playerc_error_str());
+ return -1;
+ }
+
+ // Create a position2d proxy (device id "position2d:0") and susbscribe
+ // in read/write mode
+ position2d = playerc_position2d_create(client, 0);
+ if (playerc_position2d_subscribe(position2d, PLAYERC_OPEN_MODE) != 0)
+ {
+ fprintf(stderr, "error: %s\n", playerc_error_str());
+ return -1;
+ }
+
+ // Enable the robots motors
+ playerc_position2d_enable(position2d, 1);
+
+ // Start the robot turning slowing
+ playerc_position2d_set_cmd_vel(position2d, 0, 0, 0.1, 1);
+
+ for (i = 0; i < 200; i++)
+ {
+ // Read data from the server and display current robot position
+ playerc_client_read(client);
+ printf("position : %f %f %f\n",
+ position2d->px, position2d->py, position2d->pa);
+ }
+
+ // Shutdown and tidy up
+ playerc_position2d_unsubscribe(position2d);
+ playerc_position2d_destroy(position2d);
+ playerc_client_disconnect(client);
+ playerc_client_destroy(client);
+
+ return 0;
+}
Property changes on:
code/player/trunk/client_libs/libplayerc/doc/simpleclient.c.doc
___________________________________________________________________
Added: svn:keywords
+ Author Date Id Revision
Added: svn:mergeinfo
+
/code/player/branches/release-2-1-patches/client_libs/libplayerc/doc/simpleclient.c:6672-6673,6738,6834,6886,6905,6930,6936,6946,6951,6955,6975,6979-6981,6985,6987-6996,7087-7088,7204,7226,7230,7248,7250-7252,7256,7262-7263,7276,7300,7602
/code/player/trunk/client_libs/libplayerc/doc/simpleclient.c:6985
Added: svn:eol-style
+ native
Deleted:
code/player/trunk/client_libs/libplayerc++/bindings/python/playercpp_example.py
===================================================================
---
code/player/trunk/client_libs/libplayerc++/bindings/python/playercpp_example.py
2009-07-24 10:57:21 UTC (rev 8113)
+++
code/player/trunk/client_libs/libplayerc++/bindings/python/playercpp_example.py
2009-07-24 11:28:20 UTC (rev 8114)
@@ -1,62 +0,0 @@
-#! /usr/bin/env python
-
-import math
-from playercpp import *
-
-# Create a client object and connect it
-robot = PlayerClient('localhost')
-
-# Create a proxy for position2d:0
-pp = Position2dProxy(robot, 0)
-
-# Retrieve the geometry
-pp.RequestGeom()
-size = pp.GetSize()
-print 'Robot size: (%.3f,%.3f,%.3f)' % (size.sw, size.sl, size.sh)
-
-# Create a proxy for laser:0
-lp = LaserProxy(robot, 0)
-
-# Retrieve the geometry
-pose = lp.GetSize()
-print 'Laser pose: (%.3f,%.3f,%.3f)' % (pose.sw, pose.sl, pose.sh)
-
-# Start the robot turning CCW at 20 deg / sec
-pp.SetSpeed(0.0, 20.0 * math.pi / 180.0)
-
-for i in range(0,30):
- robot.Read()
- px = pp.GetXPos()
- py = pp.GetYPos()
- pa = pp.GetYaw()
- print 'Robot pose: (%.3f,%.3f,%.3f)' % (px, py, pa)
- laserscanstr = 'Partial laser scan: '
- for j in range(0,5):
- if j >= lp.GetCount():
- break
- laserscanstr += '%.3f ' % lp.GetRange(i)
- print laserscanstr
-
-# Now turn the other way
-pp.SetSpeed(0.0, - 20.0 * math.pi / 180.0)
-
-for i in range(0,30):
- robot.Read()
- px = pp.GetXPos()
- py = pp.GetYPos()
- pa = pp.GetYaw()
- print 'Robot pose: (%.3f,%.3f,%.3f)' % (px, py, pa)
- laserscanstr = 'Partial laser scan: '
- for j in range(0,5):
- if j >= lp.GetCount():
- break
- laserscanstr += '%.3f ' % lp.GetRange(i)
- print laserscanstr
-
-# Now stop
-pp.SetSpeed(0.0, 0.0)
-
-# TODO: we can/should proxies and robot explicity?
-del pp
-del lp
-del robot
Modified:
code/player/trunk/client_libs/libplayerc++/bindings/ruby/CMakeLists.txt
===================================================================
--- code/player/trunk/client_libs/libplayerc++/bindings/ruby/CMakeLists.txt
2009-07-24 10:57:21 UTC (rev 8113)
+++ code/player/trunk/client_libs/libplayerc++/bindings/ruby/CMakeLists.txt
2009-07-24 11:28:20 UTC (rev 8114)
@@ -23,7 +23,7 @@
SET (CMAKE_SWIG_FLAGS "-w801")
- SET (playercpp_ruby_i "${CMAKE_CURRENT_SOURCE_DIR}/playercpp.i")
+ SET (playercpp_ruby_i
"${CMAKE_CURRENT_SOURCE_DIR}/../python/playercpp.i")
SET_SOURCE_FILES_PROPERTIES(${playercpp_ruby_i} PROPERTIES
CPLUSPLUS ON)
#If playercr is called simply playerc, all sorts of errors happen
Deleted: code/player/trunk/client_libs/libplayerc++/bindings/ruby/example.rb
===================================================================
--- code/player/trunk/client_libs/libplayerc++/bindings/ruby/example.rb
2009-07-24 10:57:21 UTC (rev 8113)
+++ code/player/trunk/client_libs/libplayerc++/bindings/ruby/example.rb
2009-07-24 11:28:20 UTC (rev 8114)
@@ -1,64 +0,0 @@
-#!/usr/bin/ruby
-
-require 'playercpp'
-
-# Create a client object and connect it
-robot = Playercpp::PlayerClient('localhost')
-
-# Create a proxy for position2d:0
-pp = Playercpp::Position2dProxy(robot, 0)
-
-# Retrieve the geometry
-pp.RequestGeom()
-size = pp.GetSize()
-puts 'Robot size: (%.3f,%.3f,%.3f)' % [size.sw, size.sl, size.sh]
-
-# Create a proxy for laser:0
-lp = Playercpp::LaserProxy(robot, 0)
-
-# Retrieve the geometry
-pose = lp.GetSize()
-puts 'Laser pose: (%.3f,%.3f,%.3f)' % [pose.sw, pose.sl, pose.sh]
-
-# Start the robot turning CCW at 20 deg / sec
-pp.SetSpeed(0.0, 20.0 * Math::PI / 180.0)
-
-for i in 0..30 do
- robot.Read()
- px = pp.GetXPos()
- py = pp.GetYPos()
- pa = pp.GetYaw()
- puts 'Robot pose: (%.3f,%.3f,%.3f)' % [px, py, pa]
- laserscanstr = 'Partial laser scan: '
- for j in 0..5 do
- break if j >= lp.GetCount()
- laserscanstr += '%.3f ' % lp.GetRange(j)
- end
- puts laserscanstr
-end
-
-# Now turn the other way
-pp.SetSpeed(0.0, - 20.0 * Math::PI / 180.0)
-
-for i in 0..30 do
- robot.Read()
- px = pp.GetXPos()
- py = pp.GetYPos()
- pa = pp.GetYaw()
- puts 'Robot pose: (%.3f,%.3f,%.3f)' % [px, py, pa]
- laserscanstr = 'Partial laser scan: '
- for j in 0..5 do
- break if j >= lp.GetCount()
- laserscanstr += '%.3f ' % lp.GetRange(j)
- end
- puts laserscanstr
-end
-
-# Now stop
-pp.SetSpeed(0.0, 0.0)
-
-# TODO: we can/should proxies and robot explicity?
-del pp
-del lp
-del robot
-
Copied: code/player/trunk/client_libs/libplayerc++/bindings/ruby/example.rb.doc
(from rev 8112,
code/player/trunk/client_libs/libplayerc++/bindings/ruby/example.rb)
===================================================================
--- code/player/trunk/client_libs/libplayerc++/bindings/ruby/example.rb.doc
(rev 0)
+++ code/player/trunk/client_libs/libplayerc++/bindings/ruby/example.rb.doc
2009-07-24 11:28:20 UTC (rev 8114)
@@ -0,0 +1,64 @@
+#!/usr/bin/ruby
+
+require 'playercpp'
+
+# Create a client object and connect it
+robot = Playercpp::PlayerClient('localhost')
+
+# Create a proxy for position2d:0
+pp = Playercpp::Position2dProxy(robot, 0)
+
+# Retrieve the geometry
+pp.RequestGeom()
+size = pp.GetSize()
+puts 'Robot size: (%.3f,%.3f,%.3f)' % [size.sw, size.sl, size.sh]
+
+# Create a proxy for laser:0
+lp = Playercpp::LaserProxy(robot, 0)
+
+# Retrieve the geometry
+pose = lp.GetSize()
+puts 'Laser pose: (%.3f,%.3f,%.3f)' % [pose.sw, pose.sl, pose.sh]
+
+# Start the robot turning CCW at 20 deg / sec
+pp.SetSpeed(0.0, 20.0 * Math::PI / 180.0)
+
+for i in 0..30 do
+ robot.Read()
+ px = pp.GetXPos()
+ py = pp.GetYPos()
+ pa = pp.GetYaw()
+ puts 'Robot pose: (%.3f,%.3f,%.3f)' % [px, py, pa]
+ laserscanstr = 'Partial laser scan: '
+ for j in 0..5 do
+ break if j >= lp.GetCount()
+ laserscanstr += '%.3f ' % lp.GetRange(j)
+ end
+ puts laserscanstr
+end
+
+# Now turn the other way
+pp.SetSpeed(0.0, - 20.0 * Math::PI / 180.0)
+
+for i in 0..30 do
+ robot.Read()
+ px = pp.GetXPos()
+ py = pp.GetYPos()
+ pa = pp.GetYaw()
+ puts 'Robot pose: (%.3f,%.3f,%.3f)' % [px, py, pa]
+ laserscanstr = 'Partial laser scan: '
+ for j in 0..5 do
+ break if j >= lp.GetCount()
+ laserscanstr += '%.3f ' % lp.GetRange(j)
+ end
+ puts laserscanstr
+end
+
+# Now stop
+pp.SetSpeed(0.0, 0.0)
+
+# TODO: we can/should proxies and robot explicity?
+del pp
+del lp
+del robot
+
Property changes on:
code/player/trunk/client_libs/libplayerc++/bindings/ruby/example.rb.doc
___________________________________________________________________
Added: svn:mergeinfo
+
/code/player/branches/release-2-1-patches/client_libs/libplayerc++/bindings/ruby/example.rb:6672-6673,6738,6834,6886,6905,6930,6936,6946,6951,6955,6975,6979-6981,6985,6987-6996,7087-7088,7204,7226,7230,7248,7250-7252,7256,7262-7263,7276,7300,7602
/code/player/trunk/client_libs/libplayerc++/bindings/ruby/example.rb:6985
Modified:
code/player/trunk/client_libs/libplayerc++/bindings/ruby/libplayerc_rb.html
===================================================================
--- code/player/trunk/client_libs/libplayerc++/bindings/ruby/libplayerc_rb.html
2009-07-24 10:57:21 UTC (rev 8113)
+++ code/player/trunk/client_libs/libplayerc++/bindings/ruby/libplayerc_rb.html
2009-07-24 11:28:20 UTC (rev 8114)
@@ -16,6 +16,6 @@
@defgroup libplayercpp_rb_example libplayercpp_rb example
@brief An example of using libplayercpp_rb
- @include example.rb
+ @include example.rb.doc
*/
Deleted: code/player/trunk/client_libs/libplayerc++/bindings/ruby/playercpp.i
===================================================================
--- code/player/trunk/client_libs/libplayerc++/bindings/ruby/playercpp.i
2009-07-24 10:57:21 UTC (rev 8113)
+++ code/player/trunk/client_libs/libplayerc++/bindings/ruby/playercpp.i
2009-07-24 11:28:20 UTC (rev 8114)
@@ -1,18 +0,0 @@
-%module playercpp
-%{
-#include "libplayerc++/playerc++.h"
-%}
-
-/* ignore for boost related gotchas */
-%ignore PlayerCc::PlayerClient::mutex_t;
-%ignore PlayerCc::PlayerClient::mMutex;
-%ignore PlayerCc::ClientProxy::DisconnectReadSignal;
-
-/* handle std::string and so on */
-%include stl.i
-%include stdint.i
-
-%include "libplayerc++/playerclient.h"
-%include "libplayerc++/clientproxy.h"
-%include "libplayerc++/playerc++.h"
-%include "libplayerinterface/player.h"
Property changes on:
code/player/trunk/client_libs/libplayerc++/bindings/ruby/test
___________________________________________________________________
Added: svn:mergeinfo
+
/code/player/branches/release-2-1-patches/client_libs/libplayerc++/bindings/ruby/examples:6672-6673,6738,6834,6886,6905,6930,6936,6946,6951,6955,6975,6979-6981,6985,6987-6996,7087-7088,7204,7226,7230,7248,7250-7252,7256,7262-7263,7276,7300,7602
/code/player/trunk/client_libs/libplayerc++/bindings/ruby/examples:6985
Modified:
code/player/trunk/client_libs/libplayerc++/bindings/ruby/test/test_bindings_installation.rb
===================================================================
---
code/player/trunk/client_libs/libplayerc++/bindings/ruby/examples/test_bindings_installation.rb
2009-07-23 23:37:42 UTC (rev 8112)
+++
code/player/trunk/client_libs/libplayerc++/bindings/ruby/test/test_bindings_installation.rb
2009-07-24 11:28:20 UTC (rev 8114)
@@ -1,5 +1,24 @@
#!/usr/bin/ruby
-
+#/*
+# * Player - One Hell of a Robot Server
+# * Copyright (C) 2009
+# * Jordi Polo
+# *
+# *
+# * This library is free software; you can redistribute it and/or
+# * modify it under the terms of the GNU Lesser General Public
+# * License as published by the Free Software Foundation; either
+# * version 2.1 of the License, or (at your option) any later version.
+# *
+# * This library is distributed in the hope that it will be useful,
+# * but WITHOUT ANY WARRANTY; without even the implied warranty of
+# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# * Lesser General Public License for more details.
+# *
+# * You should have received a copy of the GNU Lesser General Public
+# * License along with this library; if not, write to the Free Software
+# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# */
def error
puts "Player bindings not installed"
end
Copied: code/player/trunk/examples/python/playercpp_example.py (from rev 8112,
code/player/trunk/client_libs/libplayerc++/bindings/python/playercpp_example.py)
===================================================================
--- code/player/trunk/examples/python/playercpp_example.py
(rev 0)
+++ code/player/trunk/examples/python/playercpp_example.py 2009-07-24
11:28:20 UTC (rev 8114)
@@ -0,0 +1,62 @@
+#! /usr/bin/env python
+
+import math
+from playercpp import *
+
+# Create a client object and connect it
+robot = PlayerClient('localhost')
+
+# Create a proxy for position2d:0
+pp = Position2dProxy(robot, 0)
+
+# Retrieve the geometry
+pp.RequestGeom()
+size = pp.GetSize()
+print 'Robot size: (%.3f,%.3f,%.3f)' % (size.sw, size.sl, size.sh)
+
+# Create a proxy for laser:0
+lp = LaserProxy(robot, 0)
+
+# Retrieve the geometry
+pose = lp.GetSize()
+print 'Laser pose: (%.3f,%.3f,%.3f)' % (pose.sw, pose.sl, pose.sh)
+
+# Start the robot turning CCW at 20 deg / sec
+pp.SetSpeed(0.0, 20.0 * math.pi / 180.0)
+
+for i in range(0,30):
+ robot.Read()
+ px = pp.GetXPos()
+ py = pp.GetYPos()
+ pa = pp.GetYaw()
+ print 'Robot pose: (%.3f,%.3f,%.3f)' % (px, py, pa)
+ laserscanstr = 'Partial laser scan: '
+ for j in range(0,5):
+ if j >= lp.GetCount():
+ break
+ laserscanstr += '%.3f ' % lp.GetRange(i)
+ print laserscanstr
+
+# Now turn the other way
+pp.SetSpeed(0.0, - 20.0 * math.pi / 180.0)
+
+for i in range(0,30):
+ robot.Read()
+ px = pp.GetXPos()
+ py = pp.GetYPos()
+ pa = pp.GetYaw()
+ print 'Robot pose: (%.3f,%.3f,%.3f)' % (px, py, pa)
+ laserscanstr = 'Partial laser scan: '
+ for j in range(0,5):
+ if j >= lp.GetCount():
+ break
+ laserscanstr += '%.3f ' % lp.GetRange(i)
+ print laserscanstr
+
+# Now stop
+pp.SetSpeed(0.0, 0.0)
+
+# TODO: we can/should proxies and robot explicity?
+del pp
+del lp
+del robot
Property changes on: code/player/trunk/examples/python/playercpp_example.py
___________________________________________________________________
Added: svn:mergeinfo
+
/code/player/branches/release-2-1-patches/client_libs/libplayerc++/bindings/python/playercpp_example.py:6672-6673,6738,6834,6886,6905,6930,6936,6946,6951,6955,6975,6979-6981,6985,6987-6996,7087-7088,7204,7226,7230,7248,7250-7252,7256,7262-7263,7276,7300,7602
/code/player/trunk/client_libs/libplayerc++/bindings/python/playercpp_example.py:6985
Copied: code/player/trunk/examples/python/playercpy_example.py (from rev 8112,
code/player/trunk/client_libs/libplayerc/bindings/python/playercpy_example.py)
===================================================================
--- code/player/trunk/examples/python/playercpy_example.py
(rev 0)
+++ code/player/trunk/examples/python/playercpy_example.py 2009-07-24
11:28:20 UTC (rev 8114)
@@ -0,0 +1,69 @@
+#!/usr/bin/env python
+
+import math
+from playerc import *
+
+# Create a client object
+c = playerc_client(None, 'localhost', 6665)
+# Connect it
+if c.connect() != 0:
+ raise playerc_error_str()
+
+# Create a proxy for position2d:0
+p = playerc_position2d(c,0)
+if p.subscribe(PLAYERC_OPEN_MODE) != 0:
+ raise playerc_error_str()
+
+# Retrieve the geometry
+if p.get_geom() != 0:
+ raise playerc_error_str()
+print 'Robot size: (%.3f,%.3f)' % (p.size[0], p.size[1])
+
+# Create a proxy for laser:0
+l = playerc_laser(c,0)
+if l.subscribe(PLAYERC_OPEN_MODE) != 0:
+ raise playerc_error_str()
+
+# Retrieve the geometry
+if l.get_geom() != 0:
+ raise playerc_error_str()
+print 'Laser pose: (%.3f,%.3f,%.3f)' % (l.pose[0],l.pose[1],l.pose[2])
+
+# Start the robot turning CCW at 20 deg / sec
+p.set_cmd_vel(0.0, 0.0, 20.0 * math.pi / 180.0, 1)
+
+for i in range(0,30):
+ if c.read() == None:
+ raise playerc_error_str()
+
+ print 'Robot pose: (%.3f,%.3f,%.3f)' % (p.px,p.py,p.pa)
+ laserscanstr = 'Partial laser scan: '
+ for j in range(0,5):
+ if j >= l.scan_count:
+ break
+ laserscanstr += '%.3f ' % l.ranges[j]
+ print laserscanstr
+
+# Now turn the other way
+p.set_cmd_vel(0.0, 0.0, -20.0 * math.pi / 180.0, 1)
+
+for i in range(0,30):
+ if c.read() == None:
+ raise playerc_error_str()
+
+ print 'Robot pose: (%.3f,%.3f,%.3f)' % (p.px,p.py,p.pa)
+ laserscanstr = 'Partial laser scan: '
+ for j in range(0,5):
+ if j >= l.scan_count:
+ break
+ laserscanstr += '%.3f ' % l.ranges[j]
+ print laserscanstr
+
+# Now stop
+p.set_cmd_vel(0.0, 0.0, 0.0, 1)
+
+# Clean up
+p.unsubscribe()
+l.unsubscribe()
+c.disconnect()
+
Property changes on: code/player/trunk/examples/python/playercpy_example.py
___________________________________________________________________
Added: svn:executable
+ *
Added: svn:keywords
+ Author Date Id Revision
Added: svn:mergeinfo
+
/code/player/branches/release-2-1-patches/client_libs/libplayerc/bindings/python/playercpy_example.py:6672-6673,6738,6834,6886,6905,6930,6936,6946,6951,6955,6975,6979-6981,6985,6987-6996,7087-7088,7204,7226,7230,7248,7250-7252,7256,7262-7263,7276,7300,7602
/code/player/trunk/client_libs/libplayerc/bindings/python/playercpy_example.py:6985
Added: svn:eol-style
+ native
Copied: code/player/trunk/examples/ruby/libplayerc++_ruby_example.rb (from rev
8112, code/player/trunk/client_libs/libplayerc++/bindings/ruby/example.rb)
===================================================================
--- code/player/trunk/examples/ruby/libplayerc++_ruby_example.rb
(rev 0)
+++ code/player/trunk/examples/ruby/libplayerc++_ruby_example.rb
2009-07-24 11:28:20 UTC (rev 8114)
@@ -0,0 +1,64 @@
+#!/usr/bin/ruby
+
+require 'playercpp'
+
+# Create a client object and connect it
+robot = Playercpp::PlayerClient('localhost')
+
+# Create a proxy for position2d:0
+pp = Playercpp::Position2dProxy(robot, 0)
+
+# Retrieve the geometry
+pp.RequestGeom()
+size = pp.GetSize()
+puts 'Robot size: (%.3f,%.3f,%.3f)' % [size.sw, size.sl, size.sh]
+
+# Create a proxy for laser:0
+lp = Playercpp::LaserProxy(robot, 0)
+
+# Retrieve the geometry
+pose = lp.GetSize()
+puts 'Laser pose: (%.3f,%.3f,%.3f)' % [pose.sw, pose.sl, pose.sh]
+
+# Start the robot turning CCW at 20 deg / sec
+pp.SetSpeed(0.0, 20.0 * Math::PI / 180.0)
+
+for i in 0..30 do
+ robot.Read()
+ px = pp.GetXPos()
+ py = pp.GetYPos()
+ pa = pp.GetYaw()
+ puts 'Robot pose: (%.3f,%.3f,%.3f)' % [px, py, pa]
+ laserscanstr = 'Partial laser scan: '
+ for j in 0..5 do
+ break if j >= lp.GetCount()
+ laserscanstr += '%.3f ' % lp.GetRange(j)
+ end
+ puts laserscanstr
+end
+
+# Now turn the other way
+pp.SetSpeed(0.0, - 20.0 * Math::PI / 180.0)
+
+for i in 0..30 do
+ robot.Read()
+ px = pp.GetXPos()
+ py = pp.GetYPos()
+ pa = pp.GetYaw()
+ puts 'Robot pose: (%.3f,%.3f,%.3f)' % [px, py, pa]
+ laserscanstr = 'Partial laser scan: '
+ for j in 0..5 do
+ break if j >= lp.GetCount()
+ laserscanstr += '%.3f ' % lp.GetRange(j)
+ end
+ puts laserscanstr
+end
+
+# Now stop
+pp.SetSpeed(0.0, 0.0)
+
+# TODO: we can/should proxies and robot explicity?
+del pp
+del lp
+del robot
+
Property changes on:
code/player/trunk/examples/ruby/libplayerc++_ruby_example.rb
___________________________________________________________________
Added: svn:mergeinfo
+
/code/player/branches/release-2-1-patches/client_libs/libplayerc++/bindings/ruby/example.rb:6672-6673,6738,6834,6886,6905,6930,6936,6946,6951,6955,6975,6979-6981,6985,6987-6996,7087-7088,7204,7226,7230,7248,7250-7252,7256,7262-7263,7276,7300,7602
/code/player/trunk/client_libs/libplayerc++/bindings/ruby/example.rb:6985
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit