提交 475b4e0b 编写于 作者: S siyangy 提交者: unacao

move trajectory_point_collector to util (#348)

上级 bdc20c45
......@@ -2,34 +2,6 @@ load("//tools:cpplint.bzl", "cpplint")
package(default_visibility = ["//visibility:public"])
cc_library(
name = "trajectory_point_collector",
srcs = [
"trajectory_point_collector.cc",
],
hdrs = [
"trajectory_point_collector.h",
],
deps = [
"//modules/common/configs:vehicle_config_helper",
"//modules/common/math",
"//modules/dreamview/proto:simulation_world_proto",
"//modules/planning/proto:planning_proto",
],
)
cc_test(
name = "trajectory_point_collector_test",
size = "small",
srcs = [
"trajectory_point_collector_test.cc",
],
deps = [
":trajectory_point_collector",
"@gtest//:main",
],
)
cc_library(
name = "simulation_world_service",
srcs = [
......@@ -39,13 +11,13 @@ cc_library(
"simulation_world_service.h",
],
deps = [
":trajectory_point_collector",
"//modules/canbus/proto:canbus_proto",
"//modules/common:log",
"//modules/common/adapters:adapter_manager",
"//modules/common/math:quaternion",
"//modules/common/proto:common_proto",
"//modules/dreamview/backend/map:map_service",
"//modules/dreamview/backend/util:trajectory_point_collector",
"//modules/dreamview/proto:simulation_world_proto",
"//modules/localization/proto:localization_proto",
"//modules/planning/proto:planning_proto",
......
......@@ -26,7 +26,7 @@
#include "modules/common/proto/geometry.pb.h"
#include "modules/common/proto/vehicle_signal.pb.h"
#include "modules/common/time/time.h"
#include "modules/dreamview/backend/simulation_world/trajectory_point_collector.h"
#include "modules/dreamview/backend/util/trajectory_point_collector.h"
#include "modules/dreamview/proto/simulation_world.pb.h"
#include "modules/localization/proto/localization.pb.h"
#include "modules/planning/proto/planning.pb.h"
......
load("//tools:cpplint.bzl", "cpplint")
package(default_visibility = ["//visibility:public"])
cc_library(
name = "trajectory_point_collector",
srcs = [
"trajectory_point_collector.cc",
],
hdrs = [
"trajectory_point_collector.h",
],
deps = [
"//modules/common/configs:vehicle_config_helper",
"//modules/common/math",
"//modules/dreamview/proto:simulation_world_proto",
"//modules/planning/proto:planning_proto",
],
)
cc_test(
name = "trajectory_point_collector_test",
size = "small",
srcs = [
"trajectory_point_collector_test.cc",
],
deps = [
":trajectory_point_collector",
"@gtest//:main",
],
)
cpplint()
......@@ -14,7 +14,7 @@
* limitations under the License.
*****************************************************************************/
#include "modules/dreamview/backend/simulation_world/trajectory_point_collector.h"
#include "modules/dreamview/backend/util/trajectory_point_collector.h"
#include <vector>
......
......@@ -19,8 +19,8 @@
* @brief the class of TrajectoryPointCollector
*/
#ifndef MODULES_DREAMVIEW_BACKEND_SIM_WORLD_TRAJECTORY_POINT_COLLECTOR_H_
#define MODULES_DREAMVIEW_BACKEND_SIM_WORLD_TRAJECTORY_POINT_COLLECTOR_H_
#ifndef MODULES_DREAMVIEW_BACKEND_UTIL_TRAJECTORY_POINT_COLLECTOR_H_
#define MODULES_DREAMVIEW_BACKEND_UTIL_TRAJECTORY_POINT_COLLECTOR_H_
#include "modules/common/proto/pnc_point.pb.h"
#include "modules/dreamview/proto/simulation_world.pb.h"
......@@ -81,4 +81,4 @@ class TrajectoryPointCollector {
} // namespace dreamview
} // namespace apollo
#endif // MODULES_DREAMVIEW_BACKEND_SIM_WORLD_TRAJECTORY_POINT_COLLECTOR_H_
#endif // MODULES_DREAMVIEW_BACKEND_UTIL_TRAJECTORY_POINT_COLLECTOR_H_
......@@ -14,7 +14,7 @@
* limitations under the License.
*****************************************************************************/
#include "modules/dreamview/backend/simulation_world/trajectory_point_collector.h"
#include "modules/dreamview/backend/util/trajectory_point_collector.h"
#include <cmath>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册