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

first 'roscore' and a question arrises- like i'm 5

asked 2017-08-24 17:32:07 -0600

updated 2017-08-24 18:24:08 -0600

jayess gravatar image

~beginner decrypting the workings of ROS~ hmm.. how to phrase this.. well, partly, I'm wondering

  1. if I need to also be in my catkin workspace before roslaunching...
  2. what is the difference between the catkin and roslaunch?
  3. I understand that the catkin is like a framework/build system basically for package management??
  4. So now that I'm learning about nodes, I'm wondering, how is the node different from a catkin built package?
  5. How are roslaunch and associated tools, different from catkin?
edit retag flag offensive close merge delete

Comments

There's a lot of questions here... Have you gone through the tutorials?

jayess gravatar image jayess  ( 2017-08-24 18:06:37 -0600 )edit

I edited your question to make it a bit easier to see all the questions.

jayess gravatar image jayess  ( 2017-08-24 18:24:28 -0600 )edit

I think that the Getting Started pages might be more suitable for a first introduction, especially when the questions are more of a conceptual nature.

gvdhoorn gravatar image gvdhoorn  ( 2017-08-25 02:12:24 -0600 )edit
1

@binarybabe: it might be helpful for you to go get a book or two about ROS. Some are even free. See wiki/Books. A good one is probably: A Gentle Introduction to ROS.

gvdhoorn gravatar image gvdhoorn  ( 2017-08-25 02:13:37 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-08-24 18:26:08 -0600

jayess gravatar image

updated 2017-08-25 02:22:49 -0600

  1. No, you don't need to be in your workspace to run roslaunch, you can roslaunch from anywhere.
  2. catkin is used to create and build packages and roslaunch starts up nodes, sets parameters, etc.
  3. As @gvdhoorn pointed out in the comments, catkin

    is a wrapper around CMake that makes building entire ROS workspaces easier / feasible. Package management is expressly not part of its responsibilities.

  4. A node is a program and a catkin package is a place that houses nodes and certain files.

  5. See #2.
edit flag offensive delete link more

Comments

@jayess: no, catkin is not a framework for package management. It is a wrapper around CMake that makes building entire ROS workspaces easier / feasible. Package management is expressly not part of its responsibilities.

gvdhoorn gravatar image gvdhoorn  ( 2017-08-25 02:11:43 -0600 )edit

@gvdhoorn: thanks for pointing out my error. I updated the answer based on your comment.

jayess gravatar image jayess  ( 2017-08-25 02:20:00 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-08-24 17:32:07 -0600

Seen: 250 times

Last updated: Aug 25 '17