Matlab IPC_bridge Custom datatype (Array) communication [closed]

asked 2012-05-05 05:52:45 -0500

sj haque gravatar image

updated 2012-05-05 05:53:08 -0500

Has anybody written a working script of IPC_bridge to get the simple array data from Matlab in ROS ?

I have tried to write it (following the format of poseArray in geometry_msgs) but its not working, Matlab gives the " Segmentation violation" error when I try to transmit array.

While if i just transmit length of Array (integer), and not set the array itself, Matlab doesn't give error, but checking the communication by rostopic, I see the array comes blank, I have even tried to assign dummy values to array in script (ros/xxx_subscriber.cc), still the transmitted array comes empty. If anyone has tried this then please help..

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2014-12-07 01:58:30.317430