Stage 3
Paul Osmialowski <[email protected]>
| Newsgroups | gmane.science.robotics.playerstage |
|---|---|
| Message-ID | <[email protected]> |
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
@@ -60,7 +60,7 @@
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();
@@ -97,7 +97,7 @@
{
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® 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