Hello,

can anyone help me?
I implemented a simple Robot with sonars in gazebo and everything worked.
Now I'm trying to add infra red sensors and get undefined references when I
want to load my model/worldfile in wxgazebo.
Building the model (make) works without any errors. 

Commenting out all references to gz_ir_* (i.e: gz_ir_alloc();) makes the
errors on loading the model/worldfile disappear.
Here's the output:
starting server
waiting for server
** Gazebo 0.7.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]
rendering: [GLXP pbuffer] direct [yes] RGBA [8 8 8 0] depth [24]
loading /home/rante/mosroSim/worlds/./MosroModel.so...
error   : error loading plugin: /home/rante/mosroSim/worlds/./MosroModel.so:
undefined symbol: gz_ir_alloc

/// I think here, gazebo tries to load my model from another location, but
the real error is the one above.
loading /home/rante/local/lib/gazebo/plugins/MosroModel.so...
error   : error loading plugin:
/home/rante/local/lib/gazebo/plugins/MosroModel.so: cannot open shared
object file: No such file or directory
Initialization failed
server died
stopping server

My Gazebo installation worked fine, checking my libs with the nm tool to
verify that the lib is complete brought following output:
nm libgazebo.a | grep ir
         U mkdir
         U rmdir
gz_ir.o:
00000000 T gz_ir_alloc
0000012e T gz_ir_close
0000004d T gz_ir_create
000000c9 T gz_ir_destroy
0000002c T gz_ir_free
00000146 T gz_ir_lock
000000e1 T gz_ir_open
00000168 T gz_ir_post
00000157 T gz_ir_unlock

This looks good, doesn't it?
There is NO libgazebo.so file in my lib-dir, I think that's okay, but to
test it i created an .so file.
Works fine without any gz_ir_* stuff.

Any idea?
-- 
View this message in context: 
http://www.nabble.com/Problem-with-infra-red-interface-tf4634277.html#a13233834
Sent from the playerstage-gazebo mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to