Re: [ros-users] Matlab and Ipc issue

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ path (application/octet-stream)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: Re: [ros-users] Matlab and Ipc issue
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 <> 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 <> 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 <>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 <>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
>>>>
>>>> https://code.ros.org/mailman/listinfo/ros-users
>>>>
>>>>
>>>
>>> _______________________________________________
>>> ros-users mailing https://code.ros.org/mailman/listinfo/ros-users
>>>
>>>
>>>
>>> _______________________________________________
>>> ros-users mailing list
>>>
>>> https://code.ros.org/mailman/listinfo/ros-users
>>>
>>>
>>
>>
>> --
>> Tien Thanh Nguyen
>>
>>
>> _______________________________________________
>> ros-users mailing list
>>
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>
>



--
Tien Thanh Nguyen