[ros-users] Matlab and Ipc issue

Benjamin Cohen bencohen2 at gmail.com
Fri May 27 02:59:50 UTC 2011


Hey Tien,

I've never seen a 'Directory access failure' warning message before. From a
quick google search I found this page:
http://www.mathworks.com/support/solutions/en/data/1-18KUW/index.html?product=ML&solution=1-18KUW

It seems like you didn't compile ipc or it's not in your path..."libipc.so:
cannot open shared object file: No such file or directory."

Can you run 'locate libipc.so'? Is it found?

Did you run 'rosmake ipc_bridge_ros' ?


-- ben



On Thu, May 26, 2011 at 4:29 AM, Tien Thanh <nttputus at gmail.com> wrote:

> Hi Ben,
>
> I added all the folder ipc_bridge to Matlab path and rerun the example
> again, but this time I got error like this (in Matlab terminal)
>
> Warning: Directory access failure: /bin/bash.
> > In path at 110
>   In addpath at 87
>   In example_publisher at 9
> Warning: Name is nonexistent or not a directory: rospack.
> > In path at 110
>   In addpath at 87
>   In example_publisher at 9
> Warning: Name is nonexistent or not a directory: command not found/bin.
> > In path at 110
>   In addpath at 87
>   In example_publisher at 9
>  ??? Invalid MEX-file
> '/opt/ros/diamondback/stacks/ipc-bridge/ipc_msgs/ipc_geometry_msgs/bin/geometry_msgs_Twist.mexa64':
> libipc.so:
> cannot open shared object file: No such file or directory.
>
> Error in ==> example_publisher at 13
> pid=geometry_msgs_Twist('connect','publisher','example_module','twist');
>
> I also include a part of my Matlab in file "path" attached in this mail.
>
> Thanks for any help.
>
> Best,
>
> On Wed, May 25, 2011 at 6:45 PM, Benjamin Cohen <bencohen2 at gmail.com>wrote:
>
>> Hey Tien,
>>
>> It seems like your matlab path is screwed up. Can you post your matlab
>> path here? You can get the path by running "path".
>>
>>
>> thanks,
>> -- ben
>>
>>
>>
>>
>> On Wed, May 25, 2011 at 9:07 AM, Tien Thanh <nttputus at gmail.com> wrote:
>>
>>> Hi Cohen,
>>>
>>> It not worked with me, I can find the example_topic that list in the
>>> rostopic but the rostopic echo shows nothing and I got an error when execute
>>> example_publisher.m in Matlab
>>>
>>> Warning: Directory access failure: /bin/bash.
>>> > In path at 110
>>>   In addpath at 87
>>>   In example_publisher at 9
>>> Warning: Name is nonexistent or not a directory: rospack.
>>> > In path at 110
>>>   In addpath at 87
>>>   In example_publisher at 9
>>> Warning: Name is nonexistent or not a directory: command not found/bin.
>>> > In path at 110
>>>   In addpath at 87
>>>   In example_publisher at 9
>>> ??? Undefined function or method 'geometry_msgs_Twist' for input
>>> arguments of type 'char'.
>>>
>>> Error in ==> example_publisher at 13
>>> pid=geometry_msgs_Twist('connect','publisher','example_module','twist');
>>>
>>> Thanks for any help.
>>>
>>> Best,
>>> On Wed, May 25, 2011 at 10:27 AM, Nikos Mitsou <nmitsou at lsr.ei.tum.de>wrote:
>>>
>>>>
>>>> Yes, publisher and subscriber are working fine!
>>>> Thanks for the effort
>>>> Nikos
>>>>
>>>>
>>>> On 05/23/2011 11:26 PM, Benjamin Cohen wrote:
>>>>
>>>> Nikos,
>>>>
>>>> Actually, that part of the tutorial is outdated. No bin folders should
>>>> have been created in those folders. The bin folders should only be created
>>>> in the *ipc_[...]_msgs* folders such as  ipc_msgs/ipc_geometry_msgs/.
>>>>
>>>> I'll update the tutorial. Have you tried the example
>>>> publisher/subscriber?
>>>>
>>>> -- ben
>>>>
>>>>
>>>>
>>>> On Mon, May 23, 2011 at 4:26 AM, Nikos Mitsou <nmitsou at lsr.ei.tum.de>wrote:
>>>>
>>>>>  Hello all
>>>>>
>>>>> I tried to install the interoperability system between Matlab and Ros.
>>>>>
>>>>> (
>>>>> https://alliance.seas.upenn.edu/~meam620/wiki/index.php?n=Roslab.IpcBridge
>>>>> )
>>>>>
>>>>> I followed the instructions and the compilation of the packages
>>>>> produced no error.
>>>>> According to the instructions, bin folders should have been created
>>>>> e.g.
>>>>> ipc_bridge_ros/bin
>>>>> ipc_bridge_matlab/bin
>>>>>
>>>>> but are actually missing.
>>>>> Has anyone experienced something similar?
>>>>>
>>>>> Thanks
>>>>>  Nikos
>>>>>
>>>>> _______________________________________________
>>>>> ros-users mailing list
>>>>> ros-users at code.ros.org
>>>>> https://code.ros.org/mailman/listinfo/ros-users
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> ros-users mailing listros-users at code.ros.orghttps://code.ros.org/mailman/listinfo/ros-users
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> ros-users mailing list
>>>> ros-users at code.ros.org
>>>> https://code.ros.org/mailman/listinfo/ros-users
>>>>
>>>>
>>>
>>>
>>> --
>>> Tien Thanh Nguyen
>>>
>>>
>>> _______________________________________________
>>> ros-users mailing list
>>> ros-users at code.ros.org
>>> https://code.ros.org/mailman/listinfo/ros-users
>>>
>>>
>>
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>
>
> --
> Tien Thanh Nguyen
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110526/c4cf62ba/attachment-0002.html>


More information about the ros-users mailing list