Hi Fabian,
Thanks a lot. Actually it was a mistake in my constructor. It's working now.
Regards,
Diluka
Sent from my iPhone
On Jun 24, 2011, at 3:58 PM, Fabian <onlinezeug@...> wrote:
> Hi Diluka,
>
> Post your config file please. It seems like you missed the provide section.
>
> And take a look at the nimu driver (<path to player
> sources>/server/drivers/imu). In nimuplayer.cpp there is an example
> configuration given.
>
> Regards, Fabian
>
>
>
> Am 23.06.2011 18:30, schrieb Diluka Moratuwage:
>> Hello all,
>> Isn't there a built in interface called imu ? I'm writing a simple
>> plugin for an imu, and want to use the interface of the imu. I saw in
>> some documentation that there is an interface called imu. I wrote a
>> sample driver and load it, by specifying
>>
>> provides ["imu:0"]
>>
>> But player doesn't seem to understand the about "imu" interface, and
>> replies with the following:
>>
>> seahawk@...$ player
>> example.cfg
>> Registering driver
>> Player v.3.0.2
>>
>> * Part of the Player/Stage/Gazebo Project
>> [http://playerstage.sourceforge.net].
>> * Copyright (C) 2000 - 2009 Brian Gerkey, Richard Vaughan, Andrew Howard,
>> * Nate Koenig, and contributors. Released under the GNU General Public
>> License.
>> * Player comes with ABSOLUTELY NO WARRANTY. This is free software,
>> and you
>> * are welcome to redistribute it under certain conditions; see COPYING
>> * for details.
>>
>> invoking player_driver_init()...
>> Example driver initializing
>> Example driver done
>> success
>> error : Failed to find provides block for interface 4
>> error : Initialization failed for driver "exampledriver"
>> error : failed to parse config file example.cfg driver blocks
>>
>>
>> I'm sure that there is no problem with the code, which when I'm using
>> the position2d interface, it is working properly. But instead of it I
>> need to use the imu interface. Kinly let me know if anybody knows
>> about this. I just wanna know whether they provide this interface.
>>
>> Thanks,
>> Diluka.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Simplify data backup and recovery for your virtual environment with vRanger.
>> Installation's a snap, and flexible recovery options mean your data is safe,
>> secure and there when you need it. Data protection magic?
>> Nope - It's vRanger. Get your free trial download today.
>> http://p.sf.net/sfu/quest-sfdev2dev
>>
>>
>> _______________________________________________
>> Playerstage-users mailing list
>> Playerstage-users@...
>> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense..
> http://p.sf.net/sfu/splunk-d2d-c1
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
|