libgazeboplugin not working in gazebo svn r7669

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

libgazeboplugin not working in gazebo svn r7669

ximengzhu
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 .)
paolo@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
paolo@travBrenno:~/gazebo$

Any Idea?
Thanks for your replies
Ximengzhu

Reply | Threaded
Open this post in threaded view
|

Re: libgazeboplugin not working in gazebo svn r7669

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 .)
> paolo@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
> paolo@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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
Reply | Threaded
Open this post in threaded view
|

Re: libgazeboplugin not working in gazebo svn r7669

ximengzhu
In reply to this post by 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

Reply | Threaded
Open this post in threaded view
|

Re: libgazeboplugin not working in gazebo svn r7669

ximengzhu
In reply to this post by Stephan Pleines
Hello all,
I recently discovered that the libgazeboplugin.so is not installed as executable.
So I tried:

# sudo chmod 755 /usr/local/lib/libgazeboplugin.so

This command made libgazeboplugin.so executable. While libgazeboplugin of release 7775 still doesn't work (segmentation faults in player while using the plugin), latest (release r7804) libgazeboplugin works!!!
So, if someone get the same problem I had, try to change the permission of the library.
Ximengzhu


Stephan Pleines wrote
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 .)
> paolo@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
> paolo@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