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

How Ros program work in Linux kernel system??

asked 2020-04-24 08:52:37 -0500

anonymous user

Anonymous

Are Ros program system program or application program??

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-04-25 07:41:39 -0500

gvdhoorn gravatar image

updated 2020-04-27 04:39:21 -0500

It's all straightforward user space processes.

There is no support to create ROS nodes as kernel modules/drivers.

I also don't believe that would be something you'd use ROS for.

edit flag offensive delete link more

Comments

To add, ROS is not an OS!

pring gravatar image pring  ( 2020-04-25 14:18:20 -0500 )edit
1

Well. That's being said more and more, but I guess it depends on how you define "OS". If an OS would be a collection of software and services which allow you to make use of specific hardware and the functionality of that hardware, and if the hardware would be / include robots and related electromechanical systems, it wouldn't be so strange to call ROS an "OS".

Sure, it would not be something you'd run Word on, and it doesn't include code to implement a interrupt based, round-robin process schedular or page-based virtual memory, but neither do some of the "cloud OS" these days.

gvdhoorn gravatar image gvdhoorn  ( 2020-04-25 14:28:09 -0500 )edit

Thank u helped me!!

anonymous userAnonymous ( 2020-04-27 00:02:31 -0500 )edit

Then how threads are scheduled don't they need that also why publisher and subscriber nodes run in different terminal

anonymous userAnonymous ( 2020-04-29 12:51:03 -0500 )edit

ROS nodes are regular Linux/Windows/OSX processes, so the scheduler of the underlying OS will take care of providing scheduling services.

gvdhoorn gravatar image gvdhoorn  ( 2020-04-29 14:48:21 -0500 )edit

Oh...now I understood thanks!!

anonymous userAnonymous ( 2020-05-01 06:42:47 -0500 )edit

Hi, just another question can u please explain the filesystem structure in ROS ? please

anonymous userAnonymous ( 2020-05-01 07:21:23 -0500 )edit

No, I won't do that in this question.

This is not a forum, but a Q&A site like Stack Overflow. You should not post (random) questions as comments under already answered other questions. That's not how this works.

You should post a new question -- after having made sure your question is not already answered by another post here on ROS Answers.

gvdhoorn gravatar image gvdhoorn  ( 2020-05-01 07:23:10 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-04-24 08:52:37 -0500

Seen: 552 times

Last updated: Apr 27 '20