-
Notifications
You must be signed in to change notification settings - Fork 698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(static_centerline_generator): prefix package and namespace with autoware_ #6817
Changes from all commits
4658b8b
d327221
8b0b8cc
0f4cfa1
3493140
3070fc9
e6fde59
9d734b2
725f0bc
3c898f8
d4e2b59
7ac5a67
60553c6
7758557
96c1c69
9348caf
8953b3b
1b9ad21
41afbc8
a49d9cd
9d4f3f8
f65f6c7
ba9e0ba
e0f8363
3bf323f
f88911d
f31a617
550640c
f4511ee
0d03622
cc745f1
e1902a4
de05c29
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,7 +130,7 @@ Visualization Manager: | |
Filter size: 10 | ||
History Policy: Keep Last | ||
Reliability Policy: Reliable | ||
Value: /static_centerline_generator/input_centerline | ||
Value: /autoware_static_centerline_generator/input_centerline | ||
Value: true | ||
View Drivable Area: | ||
Alpha: 0.9990000128746033 | ||
|
@@ -179,7 +179,7 @@ Visualization Manager: | |
Filter size: 10 | ||
History Policy: Keep Last | ||
Reliability Policy: Reliable | ||
Value: /static_centerline_generator/output_centerline | ||
Value: /autoware_static_centerline_generator/output_centerline | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be without prefix since the node name don't have the prefix too. |
||
Value: true | ||
View Footprint: | ||
Alpha: 1 | ||
|
@@ -222,7 +222,7 @@ Visualization Manager: | |
Filter size: 10 | ||
History Policy: Keep Last | ||
Reliability Policy: Reliable | ||
Value: /static_centerline_generator/debug/raw_centerline | ||
Value: /autoware_static_centerline_generator/debug/raw_centerline | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be without prefix since the node name don't have the prefix too. |
||
Value: false | ||
View Drivable Area: | ||
Alpha: 0.9990000128746033 | ||
|
@@ -268,7 +268,7 @@ Visualization Manager: | |
Durability Policy: Transient Local | ||
History Policy: Keep Last | ||
Reliability Policy: Reliable | ||
Value: /static_centerline_generator/debug/unsafe_footprints | ||
Value: /autoware_static_centerline_generator/debug/unsafe_footprints | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be without prefix since the node name don't have the prefix too. |
||
Value: true | ||
Enabled: false | ||
Name: debug | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,15 +17,15 @@ | |
import json | ||
import uuid | ||
|
||
from autoware_static_centerline_generator.srv import LoadMap | ||
from autoware_static_centerline_generator.srv import PlanPath | ||
from autoware_static_centerline_generator.srv import PlanRoute | ||
from flask import Flask | ||
from flask import jsonify | ||
from flask import request | ||
from flask_cors import CORS | ||
import rclpy | ||
from rclpy.node import Node | ||
from static_centerline_generator.srv import LoadMap | ||
from static_centerline_generator.srv import PlanPath | ||
from static_centerline_generator.srv import PlanRoute | ||
|
||
rclpy.init() | ||
node = Node("static_centerline_generator_http_server") | ||
|
@@ -51,7 +51,7 @@ def get_map(): | |
map_id = map_uuid | ||
|
||
# create client | ||
cli = create_client(LoadMap, "/planning/static_centerline_generator/load_map") | ||
cli = create_client(LoadMap, "/planning/autoware_static_centerline_generator/load_map") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be without prefix since the node name don't have the prefix too. |
||
|
||
# request map loading | ||
req = LoadMap.Request(map=data["map"]) | ||
|
@@ -85,7 +85,7 @@ def post_planned_route(): | |
print("map_id is not correct.") | ||
|
||
# create client | ||
cli = create_client(PlanRoute, "/planning/static_centerline_generator/plan_route") | ||
cli = create_client(PlanRoute, "/planning/autoware_static_centerline_generator/plan_route") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be without prefix since the node name don't have the prefix too. |
||
|
||
# request route planning | ||
req = PlanRoute.Request( | ||
|
@@ -123,7 +123,7 @@ def post_planned_path(): | |
print("map_id is not correct.") | ||
|
||
# create client | ||
cli = create_client(PlanPath, "/planning/static_centerline_generator/plan_path") | ||
cli = create_client(PlanPath, "/planning/autoware_static_centerline_generator/plan_path") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be without prefix since the node name don't have the prefix too. |
||
|
||
# request path planning | ||
route_lane_ids = [eval(i) for i in request.args.getlist("route[]")] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -155,7 +155,7 @@ def __init__(self): | |
transient_local_qos = QoSProfile(depth=1, durability=QoSDurabilityPolicy.TRANSIENT_LOCAL) | ||
self.sub_whole_centerline = self.create_subscription( | ||
Trajectory, | ||
"/static_centerline_generator/output_whole_centerline", | ||
"/autoware_static_centerline_generator/output_whole_centerline", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be without prefix since the node name don't have the prefix too. |
||
self.onWholeCenterline, | ||
transient_local_qos, | ||
) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
ros2 launch autoware_static_centerline_generator static_centerline_generator.launch.xml centerline_source:="bag_ego_trajectory_base" run_background:=false lanelet2_input_file_path:="$HOME/autoware_map/sample_map/lanelet2_map.osm" bag_filename:="$(ros2 pkg prefix autoware_static_centerline_generator --share)/test/data/bag_ego_trajectory.db3" vehicle_model:=lexus |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
ros2 launch autoware_static_centerline_generator static_centerline_generator.launch.xml centerline_source:="optimization_trajectory_base" run_background:=false lanelet2_input_file_path:="$HOME/autoware_map/sample_map/lanelet2_map.osm" start_lanelet_id:=125 end_lanelet_id:=132 vehicle_model:=lexus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be without prefix since the node name don't have the prefix too.