SlideShare a Scribd company logo
1 of 3
Download to read offline
Robotic OS (Cheatsheet) 
 
Installation 
ROS (Robotic OS) is made to work with Ubuntu. 
Each Ubuntu version has its own ROS: 
● Ubuntu 14.04 → ROS Indigo 
● Ubuntu 16.04 → ROS Kinetic 
● Ubuntu 17.07 → ROS Lunar 
● Ubuntu 18.04 → ROS Melodic 
● Ubuntu 20.04 → ROS Noetic 
 
→ Install ROS using ​this link​. 
 
ROS has also been released in a ROS 2 version. 
● Ubuntu 16.04 → ROS 2 Crystal 
● Ubuntu 18.04 → ROS 2 Dashing Diademata 
● Ubuntu 20.04 → ROS Foxy Fitzroy 
 
→ Install ROS 2 using ​this link​. 
 
Architecture 
Once ROS is installed, it uses the following architecture: 
 
● A node is a program: For example, obstacle detection. 
It uses: 
○ A subscriber that receives information: For example, a camera image 
○ A publisher that publishes information: For example, position of an 
obstacle in the image 
● A topic is that the node publishes on. 
● A message is the type of information exchanged between nodes. 
 
ROS Commands - The Essential 
 
MASTER 
Run a master 
● roscore 
 
NODES 
Get list of nodes 
● rosnode list 
 
Get information on a node 
● Rosnode info [node] 
 
TOPICS 
Get list of topics 
● rostopic list 
 
Get information on a topic (subscribers, publishers, …) 
● rostopic info [topic] 
 
Visualize a topic 
● rostopic echo [topic] 
 
MESSAGES 
Get list of messages 
● rosmsg list 
 
Visualize a message structure 
● rosmsg show [message_type] 
 
FILESYSTEM 
Run a Node 
● rosrun [package] [node] 
 
Launch an application 
● roslaunch [package] [launcher] 
 
Build a package 
● catkin_create_pkg 
 
Compile a workspace 
● Catkin_make 
ROS Commands - What we’ll need 
 
MASTER 
Run a master 
● roscore 
 
Visualize a topic 
● rostopic echo [topic] 
 
MESSAGES 
Visualize a message structure 
● rosmsg show [message_type] 
 
FILESYSTEM 
Play a bag 
● rosbag play 
● rosbag play -l (will play in loop) 
 
Record a bag 
● rosbag record [node] 
● rosbag record -a (will record all topics) 
 
Run a Node 
● rosrun [package] [node] 
 
Run RVIZ 
● rosrun rviz rviz 
 
Run RQT_IMAGE_VIEW 
● rqt_image_view 
 
Show the Graph 
● rosrun rqt_graph rqt_graph 
 
Launch an application 
● roslaunch [package] [launcher] 
 
Build a package 
● catkin_create_pkg 
 
Compile a workspace 
● catkin_make 

More Related Content

Similar to Robotic os (cheatsheet)

ROS_Course_Syllabus learning path for operating system
ROS_Course_Syllabus learning path for operating systemROS_Course_Syllabus learning path for operating system
ROS_Course_Syllabus learning path for operating system
NandhakumarNANDY1
 

Similar to Robotic os (cheatsheet) (20)

rubyonrails
rubyonrailsrubyonrails
rubyonrails
 
ROS_Course_Syllabus learning path for operating system
ROS_Course_Syllabus learning path for operating systemROS_Course_Syllabus learning path for operating system
ROS_Course_Syllabus learning path for operating system
 
Voxxed days Vilnius 2015 - Android Reverse Engineering Lab
Voxxed days Vilnius 2015 - Android Reverse Engineering LabVoxxed days Vilnius 2015 - Android Reverse Engineering Lab
Voxxed days Vilnius 2015 - Android Reverse Engineering Lab
 
Delivering a bleeding edge community-led openstack distribution: RDO
Delivering a bleeding edge community-led openstack distribution: RDO Delivering a bleeding edge community-led openstack distribution: RDO
Delivering a bleeding edge community-led openstack distribution: RDO
 
Yocto and IoT - a retrospective
Yocto and IoT - a retrospectiveYocto and IoT - a retrospective
Yocto and IoT - a retrospective
 
CodeMotion tel aviv 2015 - android reverse engineering lab
CodeMotion tel aviv 2015 - android reverse engineering labCodeMotion tel aviv 2015 - android reverse engineering lab
CodeMotion tel aviv 2015 - android reverse engineering lab
 
Hacking with Linux on Android devices #MOCPON
Hacking with Linux on Android devices    #MOCPONHacking with Linux on Android devices    #MOCPON
Hacking with Linux on Android devices #MOCPON
 
Hack Rio/OS
Hack Rio/OSHack Rio/OS
Hack Rio/OS
 
Hello android
Hello androidHello android
Hello android
 
Lab-1-ROS-Intro.pdf
Lab-1-ROS-Intro.pdfLab-1-ROS-Intro.pdf
Lab-1-ROS-Intro.pdf
 
Developing Android Platform Tools
Developing Android Platform ToolsDeveloping Android Platform Tools
Developing Android Platform Tools
 
X86 ROM Cooking 101 (Android Builders Summit 2014)
X86 ROM Cooking 101 (Android Builders Summit 2014)X86 ROM Cooking 101 (Android Builders Summit 2014)
X86 ROM Cooking 101 (Android Builders Summit 2014)
 
Android Variants, Hacks, Tricks and Resources
Android Variants, Hacks, Tricks and ResourcesAndroid Variants, Hacks, Tricks and Resources
Android Variants, Hacks, Tricks and Resources
 
Android on Intel Architecture: ROM Cooking Tutorial
Android on Intel Architecture: ROM Cooking TutorialAndroid on Intel Architecture: ROM Cooking Tutorial
Android on Intel Architecture: ROM Cooking Tutorial
 
Odroid Magazine March 2014
Odroid Magazine March 2014Odroid Magazine March 2014
Odroid Magazine March 2014
 
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special EditionIntroduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
 
Introduction to Android ROM cooking, part of my AnDevCon workshop (AnDevCon S...
Introduction to Android ROM cooking, part of my AnDevCon workshop (AnDevCon S...Introduction to Android ROM cooking, part of my AnDevCon workshop (AnDevCon S...
Introduction to Android ROM cooking, part of my AnDevCon workshop (AnDevCon S...
 
Docker workshop
Docker workshopDocker workshop
Docker workshop
 
OpenWrt From Top to Bottom
OpenWrt From Top to BottomOpenWrt From Top to Bottom
OpenWrt From Top to Bottom
 
Let's build a robot with ROS - Internet of Things, Hardware & Robotics meetup...
Let's build a robot with ROS - Internet of Things, Hardware & Robotics meetup...Let's build a robot with ROS - Internet of Things, Hardware & Robotics meetup...
Let's build a robot with ROS - Internet of Things, Hardware & Robotics meetup...
 

Recently uploaded

Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
BalamuruganV28
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
drjose256
 
Microkernel in Operating System | Operating System
Microkernel in Operating System | Operating SystemMicrokernel in Operating System | Operating System
Microkernel in Operating System | Operating System
Sampad Kar
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
benjamincojr
 
Online crime reporting system project.pdf
Online crime reporting system project.pdfOnline crime reporting system project.pdf
Online crime reporting system project.pdf
Kamal Acharya
 

Recently uploaded (20)

Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
 
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTUUNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
 
Electrical shop management system project report.pdf
Electrical shop management system project report.pdfElectrical shop management system project report.pdf
Electrical shop management system project report.pdf
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)
 
Insurance management system project report.pdf
Insurance management system project report.pdfInsurance management system project report.pdf
Insurance management system project report.pdf
 
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
 
Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...
 
The Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxThe Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptx
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
Microkernel in Operating System | Operating System
Microkernel in Operating System | Operating SystemMicrokernel in Operating System | Operating System
Microkernel in Operating System | Operating System
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
 
Piping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdfPiping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdf
 
Online crime reporting system project.pdf
Online crime reporting system project.pdfOnline crime reporting system project.pdf
Online crime reporting system project.pdf
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AI
 
Introduction to Arduino Programming: Features of Arduino
Introduction to Arduino Programming: Features of ArduinoIntroduction to Arduino Programming: Features of Arduino
Introduction to Arduino Programming: Features of Arduino
 

Robotic os (cheatsheet)

  • 1. Robotic OS (Cheatsheet)    Installation  ROS (Robotic OS) is made to work with Ubuntu.  Each Ubuntu version has its own ROS:  ● Ubuntu 14.04 → ROS Indigo  ● Ubuntu 16.04 → ROS Kinetic  ● Ubuntu 17.07 → ROS Lunar  ● Ubuntu 18.04 → ROS Melodic  ● Ubuntu 20.04 → ROS Noetic    → Install ROS using ​this link​.    ROS has also been released in a ROS 2 version.  ● Ubuntu 16.04 → ROS 2 Crystal  ● Ubuntu 18.04 → ROS 2 Dashing Diademata  ● Ubuntu 20.04 → ROS Foxy Fitzroy    → Install ROS 2 using ​this link​.    Architecture  Once ROS is installed, it uses the following architecture:    ● A node is a program: For example, obstacle detection.  It uses:  ○ A subscriber that receives information: For example, a camera image  ○ A publisher that publishes information: For example, position of an  obstacle in the image  ● A topic is that the node publishes on.  ● A message is the type of information exchanged between nodes. 
  • 2.   ROS Commands - The Essential    MASTER  Run a master  ● roscore    NODES  Get list of nodes  ● rosnode list    Get information on a node  ● Rosnode info [node]    TOPICS  Get list of topics  ● rostopic list    Get information on a topic (subscribers, publishers, …)  ● rostopic info [topic]    Visualize a topic  ● rostopic echo [topic]    MESSAGES  Get list of messages  ● rosmsg list    Visualize a message structure  ● rosmsg show [message_type]    FILESYSTEM  Run a Node  ● rosrun [package] [node]    Launch an application  ● roslaunch [package] [launcher]    Build a package  ● catkin_create_pkg    Compile a workspace  ● Catkin_make 
  • 3. ROS Commands - What we’ll need    MASTER  Run a master  ● roscore    Visualize a topic  ● rostopic echo [topic]    MESSAGES  Visualize a message structure  ● rosmsg show [message_type]    FILESYSTEM  Play a bag  ● rosbag play  ● rosbag play -l (will play in loop)    Record a bag  ● rosbag record [node]  ● rosbag record -a (will record all topics)    Run a Node  ● rosrun [package] [node]    Run RVIZ  ● rosrun rviz rviz    Run RQT_IMAGE_VIEW  ● rqt_image_view    Show the Graph  ● rosrun rqt_graph rqt_graph    Launch an application  ● roslaunch [package] [launcher]    Build a package  ● catkin_create_pkg    Compile a workspace  ● catkin_make