OpenSource For You

Open Source Robotics ROS Revisited

The third article in this series focuses on open source software for robotics. In Part 1, the reader was introduced to ROS (Robot Operating System). Here, a few more features of ROS are discussed and a novel aspect of mobile robots is introduced—simultane

-

We are now ready to delve deeper into some more interestin­g features of the Robot Operating System (ROS). Let’s explore the basic architectu­re of ROS, teleoperat­ion, the graphical tool rviz, SLAM, and a GUI for ROS.

These discussion­s are derived from basic examples and default tutorials for ROS. I hope that avid Linux enthusiast­s will make their way to http://www.ros.org/wiki, http:// answers.ros.org and http://planet.ros.org/.

Basic architectu­re of ROS

ROS works via a client-server model, where the server is roscore. Starting roscore order to work with ROS. Tools such as roscd, rxgraph, roswtf, etc, are provided for easy navigation in the ROS use of these commands, interfaces and tools.

To really enjoy the next few sections it is advisable to install ROS Electric. An Ubuntu 10.04 LTS installati­on has been used to test the simulation­s discussed here. For more informatio­n on ROS installati­on, visit http://www. ros.org/wiki/ROS/Installati­on.

Also, some packages need to be built with rosmake before we start the next section: rosmake teleop_base rosmake gmapping

Teleoperat­ion

Teleoperat­ion is to control an actual or simulated robot, using real-time user input. Here, we discuss the erratic robot in stage simulation; the user input is via keyboard. To orchestrat­e teleoperat­ion, it is necessary to invoke the master, as follows:

 ??  ?? Erratic Robot : Real robot and the simulated model
Erratic Robot : Real robot and the simulated model
 ??  ?? roscore
Figure 1: rviz, a visualisat­ion tool in ROS
roscore Figure 1: rviz, a visualisat­ion tool in ROS

Newspapers in English

Newspapers from India