提交 9ef87a78 编写于 作者: S storypku 提交者: Liu Jiaming

Docs: bugfix for sample DAG file. resolves issue#13606

上级 266afbf6
...@@ -122,20 +122,20 @@ To configure the DAG file (`common.dag` here), specify the following items: ...@@ -122,20 +122,20 @@ To configure the DAG file (`common.dag` here), specify the following items:
```protobuf ```protobuf
# Define all components in DAG streaming. # Define all components in DAG streaming.
component_config { module_config {
component_library : "/apollo/bazel-bin/cyber/examples/common_component_example/libcommon_component_example.so" module_library : "/apollo/bazel-bin/cyber/examples/common_component_example/libcommon_component_example.so"
components { components {
class_name : "CommonComponentSample" class_name : "CommonComponentSample"
config { config {
name : "common" name : "common"
readers { readers {
channel: "/apollo/prediction" channel: "/apollo/prediction"
} }
readers { readers {
channel: "/apollo/test" channel: "/apollo/test"
}
} }
} }
}
} }
``` ```
......
...@@ -114,20 +114,20 @@ cpplint() ...@@ -114,20 +114,20 @@ cpplint()
```bash ```bash
# Define all components in DAG streaming. # Define all components in DAG streaming.
component_config { module_config {
component_library : "/apollo/bazel-bin/cyber/examples/common_component_example/libcommon_component_example.so" module_library : "/apollo/bazel-bin/cyber/examples/common_component_example/libcommon_component_example.so"
components { components {
class_name : "CommonComponentSample" class_name : "CommonComponentSample"
config { config {
name : "common" name : "common"
readers { readers {
channel: "/apollo/prediction" channel: "/apollo/prediction"
} }
readers { readers {
channel: "/apollo/test" channel: "/apollo/test"
}
} }
} }
}
} }
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册