You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Parsing.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ This tutorial explains how to create configs and other objects from source data.
5
5
-[Parse from yaml](#parse-from-yaml)
6
6
-[Parse from ROS](#parse-from-ros)
7
7
-[Parse from the command line](#parse-from-the-command-line)
8
+
-[Parse via global context](#parse-via-global-context)
8
9
9
10
## Parse from yaml
10
11
@@ -127,7 +128,7 @@ int main(int argc, char** argv) {
127
128
}
128
129
```
129
130
130
-
# Parsing via global context
131
+
# Parse via global context
131
132
132
133
Usually the command line arguments or parsed YAML are not globally available to every part of an executable.
133
134
Similar to the ROS1 parameter server (and access to the parameter server by `ros::NodeHandle`), we provide a global `config::internal::Context` object (included via `parsing/context.h`) that handles tracking parsed YAML.
0 commit comments