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

programming question

asked 2012-11-02 01:34:02 -0600

agrirobot-George gravatar image

updated 2014-04-20 14:09:28 -0600

ngrennan gravatar image

Hi everybody I understand ROS is an operating system for robots. I have installed it both on a robot and on a linux machine. I want to write a program that will give me information from the robot's camera(s) and sensors. This program will be a user interface of what the robot sees and senses. My question might sound very stupid but I have to ask this so I can get it clear in my head: Do I use ROS to write this "user interface program" or do I use a regular programming language like C++ to do this?

Thank you all

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-11-02 01:50:01 -0600

Lorenz gravatar image

Have a look at the ros wiki to find out more about what ros actually is, in particular this page.

ROS is not a specific programming language. It is a set of utilities and libraries for implementing all different kinds of functionality on robots. Among other things, it provides many C++ libraries.

edit flag offensive delete link more

answered 2012-11-02 07:20:20 -0600

As another answer mentioned, ROS is not a specific programming language. ROS let you easily develop your program without worrying how camera(s) and sensors work.

If you want to write programs using functions provided by ROS, you can take a quick view of these tutorials(especially 5~7. Node, Topic, Service are important concepts.)

Once you got some basic knowledge, you can try this tutorial to write a useful program by yourself, at that time you can fully understand what ROS stands for and how to write your program.

edit flag offensive delete link more

Question Tools


Asked: 2012-11-02 01:34:02 -0600

Seen: 491 times

Last updated: Nov 02 '12