There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Remove the CMakelists.txt file."
A block of code is set as follows:
def talker_main():
rospy.init_node('ros1_talker_node')
pub = rospy.Publisher('/chatter', String)
msg = String()
i = 0
Any command-line input or output is written as follows:
$ sudo apt-get update
$ sudo rosdep init
Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Click on Software & Updates and enable all of the Ubuntu repositories."
Warnings or important notes appear like this.
Tips and tricks appear like this.