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

roboticist's profile - activity

2013-05-21 11:04:24 -0500 received badge  Famous Question (source)
2013-03-20 06:51:57 -0500 received badge  Notable Question (source)
2013-02-19 08:09:31 -0500 received badge  Student (source)
2013-02-19 08:09:00 -0500 received badge  Popular Question (source)
2013-01-04 11:53:30 -0500 received badge  Editor (source)
2013-01-04 11:44:59 -0500 asked a question Trouble compiling Penn's ipc-bridge

Hi, I am working on a robotics project where we would like to run a high level control algorithm in Matlab, "subscribing" to robot state estimate and "publishing" the desired control inputs.

It seems like the ipc-bridge package available at

alliance.seas.upenn.edu/~meam620/wiki/index.php?n=Roslab.IpcBridge

would be the best thing, but I am having trouble with step 7 where the message folders are compiled.

roscd ipc_roslib && make

works ok, no errors, but the next step

roscd ipc_std_msgs && make

throws tons of errors of "undefined reference to ros::(some ros function)", finally ending with

collect2: ld returned 1 exit status
make: *** [std_msgs_Bool_publisher] Error 1

So it looks like there is some problem with linking to the ROS library, or something.

I am using ubuntu 12.04 with ROS fuerte, along with Matlab 2012a.

I also found this website

groups.google.com/forum/?fromgroups=#!topic/ros-sig-matlab/5zEqeFTj8qI

which discusses issues with incompatible boost versions between ROS and Matlab, but I am not clear on how they fixed the problem, or if that is what is happening here.

Does anyone here use the ipc-bridge package in their project? How did you get it to work?

edit: after posting this, I found the same question had already been asked, and their solution worked for me:

answers.ros.org/question/45838/error-when-installing-ipc-bridge-for-ros-and-matlab/