Skip to content

Commit

Permalink
feat: replace autoware_interface_specs_universe with autoware_interfa…
Browse files Browse the repository at this point in the history
…ce_specs

Signed-off-by: Ryohsuke Mitsudome <[email protected]>
  • Loading branch information
mitsudome-r committed Mar 12, 2025
1 parent ab5f45e commit ae54a9f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@

#include "rclcpp/rclcpp.hpp"

#include <autoware/component_interface_specs_universe/map.hpp>
#include <autoware/component_interface_utils/rclcpp.hpp>
#include <autoware/component_interface_specs/map.hpp>

#include <string>

Expand All @@ -34,8 +33,8 @@ class MapProjectionLoader : public rclcpp::Node
explicit MapProjectionLoader(const rclcpp::NodeOptions & options);

private:
using MapProjectorInfo = autoware::component_interface_specs_universe::map::MapProjectorInfo;
autoware::component_interface_utils::Publisher<MapProjectorInfo>::SharedPtr publisher_;
using MapProjectorInfo = autoware::component_interface_specs::map::MapProjectorInfo;
rclcpp::Publisher<MapProjectorInfo::Message>::SharedPtr publisher_;
};
} // namespace autoware::map_projection_loader

Expand Down
3 changes: 1 addition & 2 deletions map/autoware_map_projection_loader/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
<buildtool_depend>ament_cmake_auto</buildtool_depend>
<buildtool_depend>autoware_cmake</buildtool_depend>

<depend>autoware_component_interface_specs_universe</depend>
<depend>autoware_component_interface_utils</depend>
<depend>autoware_component_interface_specs</depend>
<depend>autoware_lanelet2_extension</depend>
<depend>autoware_map_msgs</depend>
<depend>rclcpp</depend>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,10 @@ MapProjectionLoader::MapProjectionLoader(const rclcpp::NodeOptions & options)
load_map_projector_info(yaml_filename, lanelet2_map_filename);

// Publish the message
const auto adaptor = autoware::component_interface_utils::NodeAdaptor(this);
adaptor.init_pub(publisher_);
MapProjectorInfo map_projector_info_specs;
publisher_ = this->create_publisher<MapProjectorInfo::Message>(
map_projector_info_specs.name,
autoware::component_interface_specs::get_qos(map_projector_info_specs));
publisher_->publish(msg);
}
} // namespace autoware::map_projection_loader
Expand Down

0 comments on commit ae54a9f

Please sign in to comment.