Skip to content

Commit

Permalink
Perception: fix perception to v2x fusion error (ApolloAuto#12632)
Browse files Browse the repository at this point in the history
* Perception: fix perception to v2x fusion error

* Perception: fix v2x fusion error in perception lgsvl
  • Loading branch information
jeroldchen authored Sep 21, 2020
1 parent f8e51f7 commit f3ad586
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 41 deletions.
28 changes: 16 additions & 12 deletions modules/perception/production/dag/dag_streaming_perception.dag
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,21 @@ module_config {
}
}

components {
class_name : "V2XFusionComponent"
config {
name : "v2x_fusion"
flag_file_path : "/apollo/modules/v2x/conf/v2x_fusion_tracker.conf"
readers: [
{
channel: "/perception/vehicle/obstacles"
}
]
}
}
}

module_config {
module_library : "/apollo/bazel-bin/modules/v2x/fusion/apps/libv2x_fusion_component.so"

components {
class_name : "V2XFusionComponent"
config {
name : "v2x_fusion"
flag_file_path : "/apollo/modules/v2x/conf/v2x_fusion_tracker.conf"
readers: [
{
channel: "/perception/vehicle/obstacles"
}
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,22 @@ module_config {
}
}

components {
class_name : "V2XFusionComponent"
config {
name : "v2x_fusion"
flag_file_path : "/apollo/modules/v2x/conf/v2x_fusion_tracker.conf"
readers: [
{
channel: "/perception/vehicle/obstacles"
}
]
}
}

}

module_config {
module_library : "/apollo/bazel-bin/modules/v2x/fusion/apps/libv2x_fusion_component.so"

components {
class_name : "V2XFusionComponent"
config {
name : "v2x_fusion"
flag_file_path : "/apollo/modules/v2x/conf/v2x_fusion_tracker.conf"
readers: [
{
channel: "/perception/vehicle/obstacles"
}
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,21 @@ module_config {
}
}

components {
class_name : "V2XFusionComponent"
config {
name : "v2x_fusion"
flag_file_path : "/apollo/modules/v2x/conf/v2x_fusion_tracker.conf"
readers: [
{
channel: "/perception/vehicle/obstacles"
}
]
}
}

}

module_config {
module_library : "/apollo/bazel-bin/modules/v2x/fusion/apps/libv2x_fusion_component.so"

components {
class_name : "V2XFusionComponent"
config {
name : "v2x_fusion"
flag_file_path : "/apollo/modules/v2x/conf/v2x_fusion_tracker.conf"
readers: [
{
channel: "/perception/vehicle/obstacles"
}
]
}
}
}
2 changes: 0 additions & 2 deletions modules/v2x/fusion/configs/fusion_tracker_gflags.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ namespace v2x {
namespace ft {

// config manager
DEFINE_string(config_manager_path, "./conf", "The ModelConfig config paths.");
DEFINE_string(work_root, "", "Project work root direcotry.");
DEFINE_string(config_path, "/apollo/modules/v2x/data",
"ADU shared data path, including maps, routings...");
DEFINE_string(v2x_module_name, "v2x_fusion", "name");
Expand Down
2 changes: 0 additions & 2 deletions modules/v2x/fusion/configs/fusion_tracker_gflags.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ namespace v2x {
namespace ft {

// config manager
DECLARE_string(config_manager_path);
DECLARE_string(work_root);
DECLARE_string(config_path);
DECLARE_string(v2x_module_name);
DECLARE_string(v2x_fusion_obstacles_topic);
Expand Down

0 comments on commit f3ad586

Please sign in to comment.