[PlayerStage-Gazebo] Gazebo Segmentation Fault

2009-05-21 Thread lord1298


Hi,

I have been trying to run gazebo on my comuter for more than 2 weeks, but I
keep getting this error: segmentation fault.
I would really appricate it if someone can help me because I need this
software for my research.  
I am using Ubutnu 8.10 .Here is a backtrace:

GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as i486-linux-gnu...
(gdb) run pioneer2dx1.world 
Starting program: /usr/local/bin/gazebo pioneer2dx1.world
[Thread debugging using libthread_db enabled]
** Gazebo 0.8.0 **
* Part of the Player/Stage Project [http://playerstage.sourceforge.net].
* Copyright 2000-2005 Brian Gerkey, Richard Vaughan, Andrew Howard,
* Nate Koenig and contributors.
* Released under the GNU General Public License.
using display [:0.0]
[New Thread 0xb6e61720 (LWP 32453)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6e61720 (LWP 32453)]
Model::SetName (this=0x0, name=0x943e8c8 physical) at Model.cc:270
270 if (this-name != NULL)
(gdb) bt
#0  Model::SetName (this=0x0, name=0x943e8c8 physical) at Model.cc:270
#1  0x08062a69 in World::LoadModel (this=0x9432980, node=0x943b8d8,
parent=0x0)
at World.cc:297
#2  0x08062bcd in World::LoadModel (this=0x9432980, node=0x9439610,
parent=0x0)
at World.cc:386
#3  0x0806321c in World::Load (this=0x9432980, worldFile=0x9427490)
at World.cc:254
#4  0x080604f1 in Init () at main.cc:324
#5  0x080609ca in main (argc=155350160, argv=0xbfc89244) at main.cc:435


-- 
View this message in context: 
http://www.nabble.com/Gazebo-Segmentation-Fault-tp23640195p23640195.html
Sent from the playerstage-gazebo mailing list archive at Nabble.com.
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com 
___
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo


[PlayerStage-Gazebo] Controler Steer_Position2d and Hinge2

2009-05-21 Thread rbpRenato

Hello,

It is my code, the problem is that i get a error runnig this example, but,
if i change in hinge2 in the model robot body1 whith body 2 it wokrs but in
bad confuguration, someone could help me?

world:

?xml version=1.0?

gazebo:world 
  xmlns:xi=http://www.w3.org/2001/XInclude;
  xmlns:gazebo=http://playerstage.sourceforge.net/gazebo/xmlschema/#gz; 
  xmlns:model=http://playerstage.sourceforge.net/gazebo/xmlschema/#model; 
  xmlns:sensor=http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor; 
  xmlns:window=http://playerstage.sourceforge.net/gazebo/xmlschema/#window; 
  xmlns:param=http://playerstage.sourceforge.net/gazebo/xmlschema/#param; 
  xmlns:body=http://playerstage.sourceforge.net/gazebo/xmlschema/#body; 
  xmlns:geom=http://playerstage.sourceforge.net/gazebo/xmlschema/#geom; 
  xmlns:joint=http://playerstage.sourceforge.net/gazebo/xmlschema/#joint; 
 
xmlns:interface=http://playerstage.sourceforge.net/gazebo/xmlschema/#interface;
 
  xmlns:ui=http://playerstage.sourceforge.net/gazebo/xmlschema/#ui;
 
xmlns:rendering=http://playerstage.sourceforge.net/gazebo/xmlschema/#rendering;
 
 
xmlns:controller=http://playerstage.sourceforge.net/gazebo/xmlschema/#controller;
 
xmlns:physics=http://playerstage.sourceforge.net/gazebo/xmlschema/#physics;


  verbosity5/verbosity

  physics:ode
stepTime0.03/stepTime
gravity0 0 -9.8/gravity
cfm10e-5/cfm
erp0.3/erp
  /physics:ode

  rendering:gui
typefltk/type
size800 600/size
pos0 0/pos
xyz0 0 0/xyz
rpy0 0 0/rpy
  /rendering:gui

  rendering:ogre
ambient0.5 0.5 0.5 1.0/ambient
sky
  materialGazebo/CloudySky/material
/sky
  /rendering:ogre

!--
  model:physical name=terrain_model
body:heightmap name =terrain_body
  geom:heightmap name=terrain_geom
imageterrain.png/image
worldTextureterrain_texture.jpg/worldTexture
detailTextureterrain_detail.jpg/detailTexture
size17 17 1/size
  /geom:heightmap
/body:heightmap
  /model:physical
--

   !-- Ground Plane --
  model:physical name=plane1_model
xyz0 0 0/xyz
rpy0 0 0/rpy
statictrue/static

body:plane name=plane1_body
  geom:plane name=plane1_geom
normal0 0 1/normal
size2000 2000/size
segments10 10/segments
uvTile1000 1000/uvTile
materialGazebo/Terran/material
  /geom:plane
/body:plane
  /model:physical

  model:physical name=obstaculo
  xyz3.0 0.0 0.5/xyz
  rpy0.0 0.0 0.0/rpy
  body:plane name=obstaculo
geom:box name=obstaculo_geom
size0.5 0.5 0.5/size
mass1.0/mass
  visual
size0.5 0.5 0.5/size
meshunit_box/mesh
materialGazebo/Rockwall/material
  /visual
/geom:box
  /body:plane
  /model:physical

  model:physical name=sphere1_model
xyz3 3 0.5/xyz
staticfalse/static
body:sphere name=sphere1_body
  geom:sphere name=sphere1_geom
size0.2/size
mass1.0/mass

visual
  scale0.2 0.2 0.2/scale
  materialGazebo/BumpyMetal/material
  meshunit_sphere/mesh
/visual
  /geom:sphere
/body:sphere
  /model:physical

  !-- 
  Include the complete model described in the .model file
  This assumes the root node is a model:...
  --
  !--  include embedded=false
xi:include href=pioneer2dx.model /
  /include
  --

model:physical name=lince_model
xyz0.00 0.00 0.00/xyz
rpy0 0 0/rpy

controller:steering_position2d name=a car
wheel
   jointrear_left_wheel_hinge/joint
   typedrive/type
   torque10/torque
/wheel
wheel
 jointrear_right_wheel_hinge/joint
   typedrive/type
   torque10/torque
/wheel
wheel
jointfront_left_wheel_hinge/joint
   typesteer/type
   torque0/torque
   steerTorque1/steerTorque
/wheel
wheel
 jointfront_right_wheel_hinge/joint
   typesteer/type
   torque0/torque
   steerTorque1/steerTorque
/wheel

steerPD10 0.0/steerPD

!-- Henrik params start --

leftOdomJointfront_left_wheel_hinge/leftOdomJoint
rightOdomJointfront_right_wheel_hinge/rightOdomJoint
odomWheelSeparation0.2/odomWheelSeparation
odomWheelDiameter0.15/odomWheelDiameter
leftSteeringOdomJointfront_left_wheel_hinge/leftSteeringOdomJoint
rightSteeringOdomJointfront_right_wheel_hinge/rightSteeringOdomJoint
   
!-- Henrik params stop --

interface:position name=position_iface_0/

!-- Henrik params start --
interface:actarray name=wheels_actarray_iface/
!-- Henrik params stop --

  /controller:steering_position2d
!--
  model:physical name=sonyvid30_model
xyz0.0 0.0 0.30/xyz
attach
parentBodychassis_body/parentBody
myBodysonyvid30_body/myBody
/attach

  include embedded=true
xi:include
href=/home/renato/Desktop/LINCE_PG/models/sonyvid30.model /
  /include

  /model:physical
--
  model:physical name=laser
  xyz0.22 0.0 0.15/xyz
  attach
  

[PlayerStage-Gazebo] how to set real time equal to simulation time?

2009-05-21 Thread ximengzhu

Dear all,
my question is the one of the title of the thread.
For my purpose I need to use the real time equal to the simulation time.
This means I need to set at one the multiplier of the real time.
Anyone knows how to?
Thanks in advance,
Ximengzhu
-- 
View this message in context: 
http://www.nabble.com/how-to-set-real-time-equal-to-simulation-time--tp23619214p23619214.html
Sent from the playerstage-gazebo mailing list archive at Nabble.com.


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com 
___
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo


Re: [PlayerStage-Gazebo] libgazeboplugin not working in gazebo svn r7669

2009-05-21 Thread Stephan Pleines
I am experiencing the same problem with libgazeboplugin. Player says:

error   : Failed to load plugin libgazeboplugin.so.
error   : libtool reports error: file not found
error   : plugin search path: *actual path of the file*
error   : failed to load plugin: libgazeboplugin.so
error   : failed to parse config file 
gazebo/trunk/player_cfgs/gazebo.cfg driver blocks

I am using the latest revisions of both player and gazebo.

Stephan


ximengzhu wrote:
 Hello all,
 I'm using gazebo svn and I recently tried to update and recompile. I got
 release 7669 and player is not able to load the libgazeboplugin, although it
 is correctly installed in the /usr/local/lib directory. Now I'm back to
 release 7561 that works quite well, but sometimes gazebo crashes saying

 ODE INTERNAL ERROR 2: invalid operation for locked space in dGeomMoved()
 Aborted

 This happens when I try to pick and move the pioneer with the mouse.
 I'm using gazebo on ubuntu 9.04 with player 2.1.1, ogre svn (1.6.2), ode
 0.11.

 I would like to try the latest gazebo svn, in view of the fact that some
 bugs have been resolved, as mouse picking and lights. Maybe I've done
 something wrong in the installation, I followed the Cmake standard
 procedure:
 $ cmake .
 $ make
 $ sudo make install

 (here is the output of cmake .)
 pa...@travbrenno:~/gazebo$ cmake .
 -- The C compiler identification is GNU
 -- The CXX compiler identification is GNU
 -- Check for working C compiler: /usr/bin/gcc
 -- Check for working C compiler: /usr/bin/gcc -- works
 -- Detecting C compiler ABI info
 -- Detecting C compiler ABI info - done
 -- Check for working CXX compiler: /usr/bin/c++
 -- Check for working CXX compiler: /usr/bin/c++ -- works
 -- Detecting CXX compiler ABI info
 -- Detecting CXX compiler ABI info - done
 -- Gazebo version 0.9.0
 -- == Finding 3rd Party Packages ==
 -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
 -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so -
 found
 -- Looking for gethostbyname
 -- Looking for gethostbyname - found
 -- Looking for connect
 -- Looking for connect - found
 -- Looking for remove
 -- Looking for remove - found
 -- Looking for shmat
 -- Looking for shmat - found
 -- Looking for IceConnectionNumber in ICE
 -- Looking for IceConnectionNumber in ICE - found
 -- Found X11: /usr/lib/libX11.so
 -- Found FLTK:
 fltk_images;fltk;fltk_gl;fltk_forms;/usr/lib/libSM.so;/usr/lib/libICE.so;/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libm.so
 -- checking for module 'OGRE=1.6.1'
 --   found OGRE, version 1.6.2
 -- checking for module 'ode=0.10.1'
 --   found ode, version 0.11
 -- checking for module 'libxml-2.0'
 --   found libxml-2.0, version 2.6.32
 -- checking for module 'xft'
 --   found xft, version 2.1.13
 -- checking for module 'openal'
 --   found openal, version 1.3.253
 -- checking for module 'libavformat'
 --   found libavformat, version 52.31.0
 -- checking for module 'libavcodec'
 --   found libavcodec, version 52.20.0
 -- checking for module 'playerc++'
 --   found playerc++, version 2.1.1
 -- checking for module 'websim'
 --   package 'websim' not found
 -- Warning: Websim not found. Webgazebo will not be built
 -- Boost version: 1.35.0
 -- Found the following Boost libraries:
 -- Boost version: 1.35.0
 -- Found the following Boost libraries:
 --   thread
 --   signals
 -- Boost Include Path: /usr/include
 -- Boost Library Path: /usr/lib
 -- Boost Libraries:
 ;/usr/lib/libboost_thread-gcc43-mt-1_35.so;/usr/lib/libboost_signals-gcc43-mt-1_35.so
 -- Looking for FreeImage.h - found
 -- Looking for libfreeimage - found
 -- Looking for avformat.h - found
 -- Looking for avcodec.h - found
 -- Looking for event.h - found
 -- Looking for yaml.h - found
 -- 
 -- Build Type: RELEASE
 -- Install path: /usr/local
 -- Configuring done
 -- Generating done
 -- Build files have been written to: /home/paolo/gazebo
 pa...@travbrenno:~/gazebo$ 

 Any Idea?
 Thanks for your replies
 Ximengzhu


   

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com 
___
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo


Re: [PlayerStage-Gazebo] libgazeboplugin not working in gazebo svn r7669

2009-05-21 Thread ximengzhu

Hello all,
I'm writing this message because I've found a temporary solution to this
problem and maybe someone could be interessed in it. I've been able to get a
stable and reliable installation of gazebo by using the release 7669, and
substituting the libgazeboplugin with the one provided in release 7561. I
still do not have any idea what is wrong in the libgazeboplugin provided by
release 7669.

However, this is ok for the start of my work but not for a long term usage,
since I 'm developing a controller for a pioneer on 3d surface and a
controller for a quadrotor, and so i need to recompile and reinstall gazebo
lots of times.

Thanks for your replies
Ximengzhu


-- 
View this message in context: 
http://www.nabble.com/libgazeboplugin-not-working-in-gazebo-svn-r7669-tp23560402p23619474.html
Sent from the playerstage-gazebo mailing list archive at Nabble.com.


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com 
___
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo


[PlayerStage-Gazebo] Fwd: [Playerstage-users] Problem in car like model

2009-05-21 Thread Toby Collett
I am forwarding this to the gazebo list as there are probably more people
there able to help.

-- Forwarded message --
From: rbpRenato 1030...@isep.ipp.pt
Date: 2009/5/20
Subject: [Playerstage-users] Problem in car like model
To: playerstage-us...@lists.sourceforge.net



Hello,

The problem is that i get a error runnig the example simplecar.model,
the error is:

ODE INTERNAL ERROR 1: assertion bNormalizationResult failed in
_dNormalize3() [../../include/ode/odemath.h]
Aborted

If i change on hinge2 in the model robot, body1 whith body 2 it wokrs but
bad, the front wheels turn in bad configuration. Someone could help me?
--
View this message in context:
http://www.nabble.com/Problem-in-car-like-model-tp23635027p23635027.html
Sent from the playerstage-users mailing list archive at Nabble.com.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Playerstage-users mailing list
playerstage-us...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users



-- 
This email is intended for the addressee only and may contain privileged
and/or confidential information
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com 
___
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo