Justin Smith | 11 Apr 2010 01:03
Picon

Source Code

I’m trying to understand the position2d code and the documentation is less than helpful.  Where do I find the source code for this so I can work it out for myself?  I’m using Player 2.1.2.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Playerstage-developers mailing list
Playerstage-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-developers
Chris Chambers | 14 Apr 2010 00:36
Picon
Gravatar

Re: Source Code

All the code can be viewed online on the Sourceforge website, for player 2.1.2 the address is


On 11 April 2010 11:03, Justin Smith <jxsmith1979 <at> gmail.com> wrote:

I’m trying to understand the position2d code and the documentation is less than helpful.  Where do I find the source code for this so I can work it out for myself?  I’m using Player 2.1.2.


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Playerstage-developers mailing list
Playerstage-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-developers




--
CONFIDENTIAL INFORMATION
This transmission contains information from INRO Technologies Ltd that is confidential or privileged. The information is intended to be for the use of the individual or entity named on this transmission. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this transmission is prohibited.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Playerstage-developers mailing list
Playerstage-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-developers
Knotek | 14 Apr 2010 15:54

[SPAM] G other women's husbands? Could you not have petitioned

H is a beautiful
thing, but for its attitude of humility and abasement. A distinguished American prelate has written some verses on his dog, in which
he assumes that, to the animal's eyes, he is as God,--a being whose word is law, and from whose sovereign hand flow all life's countless benefactions. Another complacent enthusiast describes _his_ dog as
sitting motionless in his presence, "at once tranquil and attentive, as a saint should be in the presence of God. He is happy with the happiness which we perhaps shall never know, since it springs
from the smile and the approval of a life incomparably higher than his own." Of course, if we are going to wallow in idolatry like

this, we do well to choose the dog, and not the cat, to play the worshipper's part. I am not without a suspicion that the dog is far from
feeling the rapture and the reverence which we so delightedly ascribe to him. What is there about any one of us to awaken such sentiments
in the breast of an intelligent animal? We have taught him our vices, and he fools us to the top of

our bent. The cat, however, is equally free from illusions and from
hypocrisy. If we aspire to a petty omnipotence, she, for one, will pay no homage at our shrine. Therefore has her latest

and greatest defamer, Maeterlinck, branded her as ungrateful and perfidious. The cat of "The Blue Bird" fawns and flatters, which is something no real cat was ever known
to do. When and where did M. Maeterlinck encounter an obsequious cat? That
the wise little beast should resent Tyltyl's intrusion into the ancient
realms of night, is conceivable, and that, unlike the dog, she should see nothing godlike in a masterful human boy, is hardly a matter for regret; but the most subtle of dramatists
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Playerstage-developers mailing list
Playerstage-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-developers
Jan Carlo Barca | 15 Apr 2010 15:18
Picon
Favicon

Problems with installing Player-3.0.1

I am trying to install Player-3.0.1 and Stage on Linux Knoppix 6.2, but have some problems doing this. I have downloaded the player-3.0.1.tar.gz file from SourceForge and I have followed the installation instructions that comes with the downloaded file.


I have:

1. extracted the Player files to the following location: /media/sda1/Multi-robotsimulator/player-3.0.1

2. created a “build” directory in the player-3.0.1 directory

3. gone into the build directory and written cmake in the command line of the LXTerminal.


However I only get the following message:

bash: cmake: command not found

Nothing else happens after this..



I have also tried to download and install cmake-2.8.1, but when I type “make install” in the command line I get the following error message:


-- Install configuration: ""

CMake Error at cmake_install.cmake:36 (FILE):

file cannot create directory: /usr/local/doc/cmake-2.8. Maybe need

administrative privileges.

make: *** [install] Error 1

knoppix <at> Microknoppix:/media/sda1/cmake/cmake-2.8.1$



Can someone please tell me what I am doing wrong..?

Do I have to install cmake to install player-3.0.1 and if so what is wrong? I am the administrator of the system.


JC


Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up now.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Playerstage-developers mailing list
Playerstage-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-developers
Paul Osmialowski | 16 Apr 2010 00:05
Picon
Favicon

Stage 3


On Mon, 5 Apr 2010, Paul Osmialowski wrote:

> I guess that is the answer to your question.
> Since for some longer time now I'm working with real robots, I don't know
> yet about new things in Stage. Soon I'll update myself.
>
> Paul
>

So I obtained todays svn snapshot of Stage 3. I tried to compile it, but 
it failed near the end. Small change in code solved the problem:

--- p_sonar.cc.old      2010-04-15 23:05:05.688606185 +0200
+++ p_sonar.cc  2010-04-15 23:15:19.827606135 +0200
 <at>  <at>  -60,7 +60,7  <at>  <at> 
    player_sonar_data_t sonar;
    memset( &sonar, 0, sizeof(sonar) );

-  const std::vector<Sensor>& sensors = mod->GetSensors();
+  const std::vector<ModelRanger::Sensor>& sensors = mod->GetSensors();

    size_t count = sensors.size();

 <at>  <at>  -97,7 +97,7  <at>  <at> 
      {
        ModelRanger* mod = (ModelRanger*)this->mod;

-               const std::vector<Sensor>& sensors = mod->GetSensors();
+               const std::vector<ModelRanger::Sensor>& sensors = 
mod->GetSensors();
                 size_t count = sensors.size();

        // convert the ranger data into Player-format sonar poses

(I'm putting it here as I have a feeling that patch tracker is ignored 
nowadays).
After 'make install' was completed, I ran to /usr/share/stage directory to 
find worlds files. Unfortunately, all I found was directory called 
'assets'. No *.worlds files inside of it. Then I went into sources 
directory and found worlds directory there. I tried simple.cfg with player 
and it works fine (as in Stage-2.x), I have a feeling that it works even 
faster and more reliable on my quite old desktop PC than Stage-2.1 that I 
was using so far. Robot did not move until I connected with playerv, which 
I guess was expected behaviour (how 'ctrl "wander"' corresponds with 
that?!). No other world wanted to work with Player (missing interfaces 
definitions?). So I tried standalone stage simulator with everything.world 
- looks nice, hovever, I guess I need to configure standalone controller 
for all those robots to make them move (how?).

Paul

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Paul Osmialowski | 18 Apr 2010 18:06
Picon
Favicon

I can't start Gazebo due to assertions

Hello,

I can't start Gazebo due to assetrions. It happens to both 0.10.0 version and 
SVN snapshot (both versions introduce themselves as 0.10.0):
$ gazebo pioneer2dx.world
Gazebo multi-robot simulator, version 0.10.0

Part of the Player/Stage Project [http://playerstage.sourceforge.net].
Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
Released under the GNU General Public License.

gazebo: /usr/include/boost/thread/pthread/recursive_mutex.hpp:72: void 
boost::recursive_mutex::unlock(): Assertion `!pthread_mutex_unlock(&m)' failed.

I am using Gentoo Linux on which Boost 1.35.0-r5 and Boost 1.41.0-r3 are 
installed (slot install), while eselect tells that default Boost version is 
1.41.0-r3, cmake picked version 1.35.0-r5 for Gazebo.

Other libraries:
ode-0.11.1 single precision
ogre-1.6.5 (unmasked) single precision
fltk-1.1.9-r1 and fltk-2.0_pre6786-r1 (slot install) (cmake picked 1.1.9-r1, 
however cmake later ingored --cxxflags from fltk-config so I had to set 
CXXFLAGS variable explicitely before running cmake)
bullet-2.75 (double precision set explicitely by doing: 
CFLAGS="-DBT_USE_DOUBLE_PRECISION" CXXFLAGS="-DBT_USE_DOUBLE_PRECISION" emerge 
bullet)
mesa-7.7.1
freeglut-2.4.0-r1
nvidia-cg-toolkit-2.1.0012
nvidia-drivers-195.36.15 (for quite ancient GeForce 6200)
Player-3.1.SVN (installed in home directory, cmake did not take LIBS/LDFLAGS 
from pkg-config so I had to set them explicitely, and yes, PKG_CONFIG_PATH was 
set correctly)
freeimage-3.13.1 (compiled by hand from sources, missing freeimage.pc file 
created by hand)

Paul

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Daniel Dube | 16 Apr 2010 17:58
Picon

Fix for segmentation fault in stage with intel graphic boards

Hi,

we had the reproducible problem, that stage crashed on four of five
startups just after the simulation window appears. We noticed this problem
on several Ubuntu 9.10 machines with attached intel graphic hardware. We
tested the trunk and 3.2.2 version with the same result. The problem did  
not occur on machines with NVIDIA graphic boards.

It seems that if Canvas::Resize() is called rather than Canvas::InitGl(),
the intel driver produces a segmentation fault in the function
glLoadIdentity() called by Canvas::FixViewport().

The following patch should fix this problem:

--- libstage/canvas.cc	(Revision 8612)
+++ libstage/canvas.cc	(Arbeitskopie)
 <at>  <at>  -1285,6 +1285,7  <at>  <at> 
  void Canvas::resize(int X,int Y,int W,int H)
  {
    Fl_Gl_Window::resize(X,Y,W,H);
-  FixViewport(W,H);
+  if ( init_done )
+	  FixViewport(W,H);
    invalidate();
  }

Regards
Daniel

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Richard Vaughan | 19 Apr 2010 15:40
Picon
Picon
Favicon

Re: Fix for segmentation fault in stage with intel graphic boards

Applied a similar fix in trunk as rev 8613. Thanks for the fix!

Richard/

2010/4/16 Daniel Dube <Daniel.Dube <at> uni-tuebingen.de>:
> Hi,
>
> we had the reproducible problem, that stage crashed on four of five
> startups just after the simulation window appears. We noticed this problem
> on several Ubuntu 9.10 machines with attached intel graphic hardware. We
> tested the trunk and 3.2.2 version with the same result. The problem did
> not occur on machines with NVIDIA graphic boards.
>
> It seems that if Canvas::Resize() is called rather than Canvas::InitGl(),
> the intel driver produces a segmentation fault in the function
> glLoadIdentity() called by Canvas::FixViewport().
>
> The following patch should fix this problem:
>
> --- libstage/canvas.cc  (Revision 8612)
> +++ libstage/canvas.cc  (Arbeitskopie)
>  <at>  <at>  -1285,6 +1285,7  <at>  <at> 
>  void Canvas::resize(int X,int Y,int W,int H)
>  {
>    Fl_Gl_Window::resize(X,Y,W,H);
> -  FixViewport(W,H);
> +  if ( init_done )
> +         FixViewport(W,H);
>    invalidate();
>  }
>
>
> Regards
> Daniel
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Playerstage-developers mailing list
> Playerstage-developers <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-developers
>

--

-- 
Richard Vaughan
Autonomy Lab / Computing Science / Simon Fraser University

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
alex | 20 Apr 2010 10:38

Re: Fix for segmentation fault in stage with intel graphic boards

Daniel Dube wrote:

> Hi,
> 
> we had the reproducible problem, that stage crashed on four of five
> startups just after the simulation window appears. We noticed this problem
> on several Ubuntu 9.10 machines with attached intel graphic hardware. We
> tested the trunk and 3.2.2 version with the same result. The problem did
> not occur on machines with NVIDIA graphic boards.

This was driving me nuts in a similar setup, thanks for pinning it down!

> It seems that if Canvas::Resize() is called rather than Canvas::InitGl(),
> the intel driver produces a segmentation fault in the function
> glLoadIdentity() called by Canvas::FixViewport().
> 
> The following patch should fix this problem:
> 
> --- libstage/canvas.cc	(Revision 8612)
> +++ libstage/canvas.cc	(Arbeitskopie)
>  <at>  <at>  -1285,6 +1285,7  <at>  <at> 
>   void Canvas::resize(int X,int Y,int W,int H)
>   {
>     Fl_Gl_Window::resize(X,Y,W,H);
> -  FixViewport(W,H);
> +  if ( init_done )
> +	  FixViewport(W,H);
>     invalidate();
>   }
> 
> 
> Regards
> Daniel
> 
> 
------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Daniel Dube | 20 Apr 2010 17:49
Picon

Re: Fix for segmentation fault in stage with intel graphic boards

I tested revision 8614 of stage and noticed the same behavior as in  
revision 8612, except that stage does not crash as often as before.

Here is the backtrace:

#0  0xb42bb416 in glLoadIdentity () from /usr/lib/libGL.so.1
#1  0xb440d797 in Stg::Canvas::FixViewport (this=0x943a458, W=635, H=636)
     at /home/dube/Projects/Rabot/Extlib/stage/libstage/canvas.cc:571
#2  0xb440b4e6 in Stg::Canvas::InitGl (this=0x943a458) at  
/home/dube/Projects/Rabot/Extlib/stage/libstage/canvas.cc:113
#3  0xb4411194 in Stg::Canvas::resize (this=0x943a458, X=0, Y=30, W=635,  
H=636)
     at /home/dube/Projects/Rabot/Extlib/stage/libstage/canvas.cc:1290
#4  0xb41a430b in Fl_Group::resize(int, int, int, int) () from  
/usr/lib/libfltk.so.1.1
#5  0xb41e04ac in Fl_Window::resize(int, int, int, int) () from  
/usr/lib/libfltk.so.1.1
#6  0xb441a3bd in Fl_Widget::size (this=0x94390d8, W=635, H=666) at  
/usr/include/FL/Fl_Widget.H:120
#7  0xb441849b in Stg::WorldGui::Load (this=0x9438e98, filename=0xbfae178c  
"../Extlib/stage-trunk/worlds/simple.world")
     at /home/dube/Projects/Rabot/Extlib/stage/libstage/worldgui.cc:282
#8  0xb446ba37 in InterfaceSimulation (this=0x9434fa8, addr=...,  
driver=0x94350b0, cf=0x9430bd0, section=1)
     at  
/home/dube/Projects/Rabot/Extlib/stage/libstageplugin/p_simulation.cc:120
#9  0xb44681c7 in StgDriver (this=0x94350b0, cf=0x9430bd0, section=1)
     at  
/home/dube/Projects/Rabot/Extlib/stage/libstageplugin/p_driver.cc:338
#10 0xb44672f6 in StgDriver_Init (cf=0x9430bd0, section=1) at  
/home/dube/Projects/Rabot/Extlib/stage/libstageplugin/p_driver.cc:187
#11 0xb7443013 in ConfigFile::ParseDriver (this=0x9430bd0, section=1)
     at  
/home/dube/Projects/Rabot/Extlib/player/libplayercore/configfile.cc:2240
#12 0xb7442d94 in ConfigFile::ParseAllDrivers (this=0x9430bd0)
     at  
/home/dube/Projects/Rabot/Extlib/player/libplayercore/configfile.cc:2177
#13 0x0804a1d8 in main (argc=2, argv=0xbfae2b44) at  
/home/dube/Projects/Rabot/Extlib/player/server/server.cc:215

Daniel

Am 19.04.2010, 15:40 Uhr, schrieb Richard Vaughan <vaughan <at> sfu.ca>:

> Applied a similar fix in trunk as rev 8613. Thanks for the fix!
>
> Richard/
>
> 2010/4/16 Daniel Dube <Daniel.Dube <at> uni-tuebingen.de>:
>> Hi,
>>
>> we had the reproducible problem, that stage crashed on four of five
>> startups just after the simulation window appears. We noticed this  
>> problem
>> on several Ubuntu 9.10 machines with attached intel graphic hardware. We
>> tested the trunk and 3.2.2 version with the same result. The problem did
>> not occur on machines with NVIDIA graphic boards.
>>
>> It seems that if Canvas::Resize() is called rather than  
>> Canvas::InitGl(),
>> the intel driver produces a segmentation fault in the function
>> glLoadIdentity() called by Canvas::FixViewport().
>>
>> The following patch should fix this problem:
>>
>> --- libstage/canvas.cc  (Revision 8612)
>> +++ libstage/canvas.cc  (Arbeitskopie)
>>  <at>  <at>  -1285,6 +1285,7  <at>  <at> 
>>  void Canvas::resize(int X,int Y,int W,int H)
>>  {
>>    Fl_Gl_Window::resize(X,Y,W,H);
>> -  FixViewport(W,H);
>> +  if ( init_done )
>> +         FixViewport(W,H);
>>    invalidate();
>>  }
>>
>>
>> Regards
>> Daniel
>>
>> ------------------------------------------------------------------------------
>> Download Intel&#174; Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Playerstage-developers mailing list
>> Playerstage-developers <at> lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/playerstage-developers
>>
>
>
>

-- 
Daniel Dube
Eberhard-Karls-Universität Tübingen
Lehrstuhl Rechnerarchitektur
Sand 1, D-72076 Tübingen

Telefon: +49-7071-2977176, Fax: +49-7071-295091
E-Mail: Daniel.Dube <at> uni-tuebingen.de
http://www.ra.cs.uni-tuebingen.de/

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Playerstage-developers mailing list
Playerstage-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-developers

Gmane