|
17 | 17 |
|
18 | 18 | #include <rclcpp/qos.hpp>
|
19 | 19 |
|
20 |
| -#include <autoware_adapi_v1_msgs/msg/route_state.hpp> |
21 |
| -#include <autoware_adapi_v1_msgs/srv/clear_route.hpp> |
22 |
| -#include <autoware_adapi_v1_msgs/srv/set_route.hpp> |
23 |
| -#include <autoware_adapi_v1_msgs/srv/set_route_points.hpp> |
24 | 20 | #include <autoware_auto_planning_msgs/msg/trajectory.hpp>
|
25 | 21 | #include <autoware_planning_msgs/msg/lanelet_route.hpp>
|
| 22 | +#include <tier4_planning_msgs/msg/route_state.hpp> |
| 23 | +#include <tier4_planning_msgs/srv/clear_route.hpp> |
| 24 | +#include <tier4_planning_msgs/srv/set_lanelet_route.hpp> |
| 25 | +#include <tier4_planning_msgs/srv/set_waypoint_route.hpp> |
26 | 26 |
|
27 | 27 | namespace planning_interface
|
28 | 28 | {
|
29 | 29 |
|
30 |
| -struct SetRoutePoints |
| 30 | +struct SetLaneletRoute |
31 | 31 | {
|
32 |
| - using Service = autoware_adapi_v1_msgs::srv::SetRoutePoints; |
33 |
| - static constexpr char name[] = "/planning/mission_planning/set_route_points"; |
| 32 | + using Service = tier4_planning_msgs::srv::SetLaneletRoute; |
| 33 | + static constexpr char name[] = "/planning/mission_planning/route_selector/main/set_lanelet_route"; |
34 | 34 | };
|
35 | 35 |
|
36 |
| -struct SetRoute |
| 36 | +struct SetWaypointRoute |
37 | 37 | {
|
38 |
| - using Service = autoware_adapi_v1_msgs::srv::SetRoute; |
39 |
| - static constexpr char name[] = "/planning/mission_planning/set_route"; |
40 |
| -}; |
41 |
| - |
42 |
| -struct ChangeRoutePoints |
43 |
| -{ |
44 |
| - using Service = autoware_adapi_v1_msgs::srv::SetRoutePoints; |
45 |
| - static constexpr char name[] = "/planning/mission_planning/change_route_points"; |
46 |
| -}; |
47 |
| - |
48 |
| -struct ChangeRoute |
49 |
| -{ |
50 |
| - using Service = autoware_adapi_v1_msgs::srv::SetRoute; |
51 |
| - static constexpr char name[] = "/planning/mission_planning/change_route"; |
| 38 | + using Service = tier4_planning_msgs::srv::SetWaypointRoute; |
| 39 | + static constexpr char name[] = |
| 40 | + "/planning/mission_planning/route_selector/main/set_waypoint_route"; |
52 | 41 | };
|
53 | 42 |
|
54 | 43 | struct ClearRoute
|
55 | 44 | {
|
56 |
| - using Service = autoware_adapi_v1_msgs::srv::ClearRoute; |
57 |
| - static constexpr char name[] = "/planning/mission_planning/clear_route"; |
| 45 | + using Service = tier4_planning_msgs::srv::ClearRoute; |
| 46 | + static constexpr char name[] = "/planning/mission_planning/route_selector/main/clear_route"; |
58 | 47 | };
|
59 | 48 |
|
60 | 49 | struct RouteState
|
61 | 50 | {
|
62 |
| - using Message = autoware_adapi_v1_msgs::msg::RouteState; |
63 |
| - static constexpr char name[] = "/planning/mission_planning/route_state"; |
64 |
| - static constexpr size_t depth = 1; |
65 |
| - static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE; |
66 |
| - static constexpr auto durability = RMW_QOS_POLICY_DURABILITY_TRANSIENT_LOCAL; |
67 |
| -}; |
68 |
| - |
69 |
| -struct Route |
70 |
| -{ |
71 |
| - using Message = autoware_planning_msgs::msg::LaneletRoute; |
72 |
| - static constexpr char name[] = "/planning/mission_planning/route"; |
73 |
| - static constexpr size_t depth = 1; |
74 |
| - static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE; |
75 |
| - static constexpr auto durability = RMW_QOS_POLICY_DURABILITY_TRANSIENT_LOCAL; |
76 |
| -}; |
77 |
| - |
78 |
| -struct NormalRoute |
79 |
| -{ |
80 |
| - using Message = autoware_planning_msgs::msg::LaneletRoute; |
81 |
| - static constexpr char name[] = "/planning/mission_planning/normal_route"; |
| 51 | + using Message = tier4_planning_msgs::msg::RouteState; |
| 52 | + static constexpr char name[] = "/planning/mission_planning/route_selector/main/state"; |
82 | 53 | static constexpr size_t depth = 1;
|
83 | 54 | static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE;
|
84 | 55 | static constexpr auto durability = RMW_QOS_POLICY_DURABILITY_TRANSIENT_LOCAL;
|
85 | 56 | };
|
86 | 57 |
|
87 |
| -struct MrmRoute |
| 58 | +struct LaneletRoute |
88 | 59 | {
|
89 | 60 | using Message = autoware_planning_msgs::msg::LaneletRoute;
|
90 |
| - static constexpr char name[] = "/planning/mission_planning/mrm_route"; |
| 61 | + static constexpr char name[] = "/planning/mission_planning/route_selector/main/route"; |
91 | 62 | static constexpr size_t depth = 1;
|
92 | 63 | static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE;
|
93 | 64 | static constexpr auto durability = RMW_QOS_POLICY_DURABILITY_TRANSIENT_LOCAL;
|
|
0 commit comments