Changes for page ROS Crash Course
Last modified by Leon Poon on 2021/08/30 23:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -9,7 +9,7 @@ 9 9 10 10 Paths, "/" and "." and ".." in navigating directories - absolute vs relative 11 11 12 -data type - binary itself is meaningless unless you say what data the binary represent12 +data type - binary itself is meaningless unless you say what information that the binary bits represent 13 13 14 14 declare variables (int, char, string as series of chars) 15 15 ... ... @@ -37,7 +37,7 @@ 37 37 38 38 Switch vs if-else differences - number of times expressions are evaluated 39 39 40 -your own function 40 +write your own function 41 41 42 42 calling with parameters copied as separate set of var values in function 43 43 ... ... @@ -53,6 +53,8 @@ 53 53 54 54 Value overflow because not enough number of bits to represent large numbers. 55 55 56 +Various integer data types - specifier in printf 57 + 56 56 Homework: implement factorial (1 to 20) calculator 57 57 58 58 in Linux, most things are case-sensitive. (A not equals a) ... ... @@ -94,6 +94,8 @@ 94 94 95 95 msg files - fields declaration with data type 96 96 97 -cpp file for a node 99 +create cpp file for a node 98 98 101 +quick reading of code for publisher node 102 + 99 99 homework: implement message subscriber node according to ROS book