ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

please help! run example of ipc-bridge and error

asked 2016-01-20 14:20:34 -0500

ZYS gravatar image

updated 2016-01-21 02:30:42 -0500

gvdhoorn gravatar image

When I run the example_publisher.m, the function 'geometry_msgs_Twist' cannot be recognized shown as below

Undefined function 'geometry_msgs_Twist' for input arguments of type 'char'.

Error in example_subscriber (line 12) pid=geometry_msgs_Twist('connect','subscriber','example_module','twist');
edit retag flag offensive close merge delete

Comments

maybe plot full error logs for us to understand your issues. It seems like function declare problems.

crazymumu gravatar image crazymumu  ( 2016-01-20 21:12:57 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-01-21 13:32:20 -0500

ZYS gravatar image

If you want to use the ipc_bridge functions, you must first add the path of the specific binary to Matlab: addpath('Address to the /bin directory of specific message which includes all the mex-compiled binary files')

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-01-20 14:20:34 -0500

Seen: 149 times

Last updated: Jan 21 '16