Skip to content
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

chore: remove the support to auto-msgs. #115

Merged
merged 2 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions build_depends.repos
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ repositories:
type: git
url: https://github.com/autowarefoundation/autoware_msgs.git
version: main
core/external/autoware_auto_msgs:
type: git
url: https://github.com/tier4/autoware_auto_msgs.git
version: tier4/main
core/autoware_adapi_msgs:
type: git
url: https://github.com/autowarefoundation/autoware_adapi_msgs.git
Expand Down
1 change: 0 additions & 1 deletion planning/planning_debug_tools/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

<build_depend>rosidl_default_generators</build_depend>

<depend>autoware_auto_perception_msgs</depend>
<depend>autoware_motion_utils</depend>
<depend>autoware_perception_msgs</depend>
<depend>autoware_planning_msgs</depend>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
from subprocess import check_output
import time

from autoware_auto_perception_msgs.msg import (
TrafficSignalArray as autoware_auto_perception_msgs_TrafficSignalArray,
)
from autoware_perception_msgs.msg import (
TrafficSignalArray as autoware_perception_msgs_TrafficSignalArray,
)
Expand Down Expand Up @@ -154,22 +151,7 @@ def load_rosbag(self, rosbag2_path: str):
assert (
type(new_msg).__name__ == "TrafficLightGroupArray"
), f"Unsupported conversion to {type(new_msg).__name__}"
if isinstance(msg, autoware_auto_perception_msgs_TrafficSignalArray):
new_msg.stamp = msg.header.stamp
for traffic_signal in msg.signals:
traffic_light_group = TrafficLightGroup()
traffic_light_group.traffic_light_group_id = (
traffic_signal.map_primitive_id
)
for traffic_light in traffic_signal.lights:
traffic_light_element = TrafficLightElement()
traffic_light_element.color = traffic_light.color
traffic_light_element.shape = traffic_light.shape
traffic_light_element.status = traffic_light.status
traffic_light_element.confidence = traffic_light.confidence
traffic_light_group.elements.append(traffic_light_element)
new_msg.traffic_light_groups.append(traffic_light_group)
elif isinstance(msg, autoware_perception_msgs_TrafficSignalArray):
if isinstance(msg, autoware_perception_msgs_TrafficSignalArray):
new_msg.stamp = msg.stamp
for traffic_signal in msg.signals:
traffic_light_group = TrafficLightGroup()
Expand Down
Loading