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

How to use the .so file in my project?

asked 2013-04-10 20:33:52 -0500

Chris_Tian gravatar image

updated 2014-01-28 17:16:08 -0500

ngrennan gravatar image

I followed the "beginner tutorial" to study the ROS, now I want to build a new project which communicates with the robot by using the Serial Port. I searched the packages and found the "cereal_port", I downloaded the source , compiled and got the "libcereal_port.so" file. I used the Eclipse to develop the code and tried to find how to use the .so file in Eclipse, however, I added the .so in the /lib and modified the project configuration which added the file as a library, it can't be found, the "#include <cereal_port cerealport.h="">" gave an error.

Could anyone please help me?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2013-04-11 05:01:31 -0500

For the 'cereal port' download and install (with rosmake) this package == > http://isr-uc-ros-pkg.googlecode.com/svn/stacks/serial_communication/. I have used this to work with my Roomba 560 robot (https://github.com/Arkapravo/roomba_500_ROS_drivers).Hope that solves your problem. Just a tip, please mention the version of ROS (and other softwares, Eclipse in your case) in your future postings here.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-10 20:33:52 -0500

Seen: 969 times

Last updated: Apr 11 '13