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

Why the dependencies in actionlib tutorial include "roslib"?

asked 2012-02-15 18:48:01 -0500

Mchaiiann gravatar image

In the introductary tutorial of actionlib package, the sand-box package is created with the dependency roslib. I check up the introduction of roslib package and realize that "roslib contains the definition of the ros::Time and ros::Duration objects used in roscpp and other ROS C++ libraries".

Then I opened a package, wrote a program, utilizing of the ros::Time and ros::Duration without the dependency of roslib. However it worked successfully.

Thus I'm wondering why the dependencies in actionlib tutorial include roslib.

Thanks for answering.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-02-15 22:51:02 -0500

dornhege gravatar image

roslib also contains python code.

edit flag offensive delete link more

Comments

Is roslib not a library which implement ros::Time and ros::Duration? It seems we do not have to include that when we use ros::Time and ros::Duration. Thank you~

sam gravatar image sam  ( 2012-02-26 03:29:26 -0500 )edit

roslib is used for c++ and python. The wiki page explains this in more detail: http://www.ros.org/wiki/roslib

dornhege gravatar image dornhege  ( 2012-02-26 06:54:54 -0500 )edit

I have seen this page before, and I found that I didn't notice roscpp and rospy use different way to run roslib. Thank you for this hint.

sam gravatar image sam  ( 2012-02-26 13:31:03 -0500 )edit

Question Tools

Stats

Asked: 2012-02-15 18:48:01 -0500

Seen: 435 times

Last updated: Feb 15 '12