File tree 7 files changed +20
-19
lines changed
planning/static_centerline_optimizer
include/autoware_static_centerline_optimizer
7 files changed +20
-19
lines changed Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- #ifndef STATIC_CENTERLINE_OPTIMIZER__STATIC_CENTERLINE_OPTIMIZER_NODE_HPP_
16
- #define STATIC_CENTERLINE_OPTIMIZER__STATIC_CENTERLINE_OPTIMIZER_NODE_HPP_
15
+ #ifndef AUTOWARE_STATIC_CENTERLINE_OPTIMIZER__STATIC_CENTERLINE_OPTIMIZER_NODE_HPP_
16
+ #define AUTOWARE_STATIC_CENTERLINE_OPTIMIZER__STATIC_CENTERLINE_OPTIMIZER_NODE_HPP_
17
17
18
- #include " rclcpp/rclcpp.hpp"
19
18
#include " autoware_static_centerline_optimizer/srv/load_map.hpp"
20
19
#include " autoware_static_centerline_optimizer/srv/plan_path.hpp"
21
20
#include " autoware_static_centerline_optimizer/srv/plan_route.hpp"
22
21
#include " autoware_static_centerline_optimizer/type_alias.hpp"
22
+ #include " rclcpp/rclcpp.hpp"
23
23
#include " vehicle_info_util/vehicle_info_util.hpp"
24
24
25
25
#include < geography_utils/lanelet2_projector.hpp>
@@ -110,4 +110,4 @@ class StaticCenterlineOptimizerNode : public rclcpp::Node
110
110
};
111
111
} // namespace static_centerline_optimizer
112
112
} // namespace autoware
113
- #endif // STATIC_CENTERLINE_OPTIMIZER__STATIC_CENTERLINE_OPTIMIZER_NODE_HPP_
113
+ #endif // AUTOWARE_STATIC_CENTERLINE_OPTIMIZER__STATIC_CENTERLINE_OPTIMIZER_NODE_HPP_
Original file line number Diff line number Diff line change 11
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
- #ifndef STATIC_CENTERLINE_OPTIMIZER__TYPE_ALIAS_HPP_
15
- #define STATIC_CENTERLINE_OPTIMIZER__TYPE_ALIAS_HPP_
14
+ #ifndef AUTOWARE_STATIC_CENTERLINE_OPTIMIZER__TYPE_ALIAS_HPP_
15
+ #define AUTOWARE_STATIC_CENTERLINE_OPTIMIZER__TYPE_ALIAS_HPP_
16
16
17
17
#include " route_handler/route_handler.hpp"
18
18
#include " tier4_autoware_utils/geometry/geometry.hpp"
@@ -46,4 +46,4 @@ using visualization_msgs::msg::MarkerArray;
46
46
} // namespace static_centerline_optimizer
47
47
} // namespace autoware
48
48
49
- #endif // STATIC_CENTERLINE_OPTIMIZER__TYPE_ALIAS_HPP_
49
+ #endif // AUTOWARE_STATIC_CENTERLINE_OPTIMIZER__TYPE_ALIAS_HPP_
Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- #ifndef STATIC_CENTERLINE_OPTIMIZER__UTILS_HPP_
16
- #define STATIC_CENTERLINE_OPTIMIZER__UTILS_HPP_
15
+ #ifndef AUTOWARE_STATIC_CENTERLINE_OPTIMIZER__UTILS_HPP_
16
+ #define AUTOWARE_STATIC_CENTERLINE_OPTIMIZER__UTILS_HPP_
17
17
18
- #include " route_handler/route_handler.hpp"
19
18
#include " autoware_static_centerline_optimizer/type_alias.hpp"
19
+ #include " route_handler/route_handler.hpp"
20
20
21
21
#include < rclcpp/time.hpp>
22
22
@@ -53,4 +53,4 @@ MarkerArray create_distance_text_marker(
53
53
} // namespace static_centerline_optimizer
54
54
} // namespace autoware
55
55
56
- #endif // STATIC_CENTERLINE_OPTIMIZER__UTILS_HPP_
56
+ #endif // AUTOWARE_STATIC_CENTERLINE_OPTIMIZER__UTILS_HPP_
Original file line number Diff line number Diff line change 17
17
import json
18
18
import uuid
19
19
20
+ from autoware_static_centerline_optimizer .srv import LoadMap
21
+ from autoware_static_centerline_optimizer .srv import PlanPath
22
+ from autoware_static_centerline_optimizer .srv import PlanRoute
20
23
from flask import Flask
21
24
from flask import jsonify
22
25
from flask import request
23
26
from flask_cors import CORS
24
27
import rclpy
25
28
from rclpy .node import Node
26
- from autoware_static_centerline_optimizer .srv import LoadMap
27
- from autoware_static_centerline_optimizer .srv import PlanPath
28
- from autoware_static_centerline_optimizer .srv import PlanRoute
29
29
30
30
rclpy .init ()
31
31
node = Node ("static_centerline_optimizer_http_server" )
Original file line number Diff line number Diff line change 14
14
15
15
#include " autoware_static_centerline_optimizer/static_centerline_optimizer_node.hpp"
16
16
17
+ #include " autoware_static_centerline_optimizer/msg/points_with_lane_id.hpp"
18
+ #include " autoware_static_centerline_optimizer/type_alias.hpp"
19
+ #include " autoware_static_centerline_optimizer/utils.hpp"
17
20
#include " lanelet2_extension/utility/message_conversion.hpp"
18
21
#include " lanelet2_extension/utility/query.hpp"
19
22
#include " lanelet2_extension/utility/utilities.hpp"
23
26
#include " motion_utils/trajectory/conversion.hpp"
24
27
#include " obstacle_avoidance_planner/node.hpp"
25
28
#include " path_smoother/elastic_band_smoother.hpp"
26
- #include " autoware_static_centerline_optimizer/msg/points_with_lane_id.hpp"
27
- #include " autoware_static_centerline_optimizer/type_alias.hpp"
28
- #include " autoware_static_centerline_optimizer/utils.hpp"
29
29
#include " tier4_autoware_utils/geometry/geometry.hpp"
30
30
#include " tier4_autoware_utils/ros/parameter.hpp"
31
31
Original file line number Diff line number Diff line change @@ -216,4 +216,4 @@ MarkerArray create_distance_text_marker(
216
216
}
217
217
} // namespace utils
218
218
} // namespace static_centerline_optimizer
219
- } // namespace autoware
219
+ } // namespace autoware
Original file line number Diff line number Diff line change 28
28
@pytest .mark .launch_test
29
29
def generate_test_description ():
30
30
lanelet2_map_path = os .path .join (
31
- get_package_share_directory ("autoware_static_centerline_optimizer" ), "test/data/lanelet2_map.osm"
31
+ get_package_share_directory ("autoware_static_centerline_optimizer" ),
32
+ "test/data/lanelet2_map.osm" ,
32
33
)
33
34
34
35
static_centerline_optimizer_node = Node (
You can’t perform that action at this time.
0 commit comments