Robotics StackExchange | Archived questions

Matlab IPC_bridge Custom datatype (Array) communication

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..

Asked by sj haque on 2012-05-05 05:52:45 UTC

Comments

Answers