Skip to content

Commit

Permalink
feat(autoware_ad_api_msgs): replace adapi message (autowarefoundation…
Browse files Browse the repository at this point in the history
…#1897)

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
  • Loading branch information
isamu-takagi authored and boyali committed Oct 3, 2022
1 parent 80d5535 commit f296a3b
Show file tree
Hide file tree
Showing 29 changed files with 46 additions and 202 deletions.
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ control/shift_decider/** takamasa.horibe@tier4.jp
control/pure_pursuit/** takamasa.horibe@tier4.jp
control/operation_mode_transition_manager/** takamasa.horibe@tier4.jp
control/control_performance_analysis/** ali.boyali@tier4.jp berkay@leodrive.ai
common/autoware_ad_api_msgs/** isamu.takagi@tier4.jp
common/motion_common/** christopherj.ho@gmail.com
common/component_interface_specs/** isamu.takagi@tier4.jp
common/motion_testing/** christopherj.ho@gmail.com
Expand Down
26 changes: 0 additions & 26 deletions common/autoware_ad_api_msgs/CMakeLists.txt

This file was deleted.

39 changes: 0 additions & 39 deletions common/autoware_ad_api_msgs/README.md

This file was deleted.

10 changes: 0 additions & 10 deletions common/autoware_ad_api_msgs/common/msg/ResponseStatus.msg

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

30 changes: 0 additions & 30 deletions common/autoware_ad_api_msgs/package.xml

This file was deleted.

2 changes: 0 additions & 2 deletions common/autoware_ad_api_msgs/routing/msg/Route.msg

This file was deleted.

3 changes: 0 additions & 3 deletions common/autoware_ad_api_msgs/routing/msg/RouteData.msg

This file was deleted.

2 changes: 0 additions & 2 deletions common/autoware_ad_api_msgs/routing/msg/RoutePrimitive.msg

This file was deleted.

2 changes: 0 additions & 2 deletions common/autoware_ad_api_msgs/routing/msg/RouteSegment.msg

This file was deleted.

8 changes: 0 additions & 8 deletions common/autoware_ad_api_msgs/routing/msg/RouteState.msg

This file was deleted.

2 changes: 0 additions & 2 deletions common/autoware_ad_api_msgs/routing/srv/ClearRoute.srv

This file was deleted.

6 changes: 0 additions & 6 deletions common/autoware_ad_api_msgs/routing/srv/SetRoute.srv

This file was deleted.

8 changes: 0 additions & 8 deletions common/autoware_ad_api_msgs/routing/srv/SetRoutePoints.srv

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
#ifndef AUTOWARE_AD_API_SPECS__INTERFACE_HPP_
#define AUTOWARE_AD_API_SPECS__INTERFACE_HPP_

#include <autoware_ad_api_msgs/srv/interface_version.hpp>
#include <autoware_adapi_version_msgs/srv/interface_version.hpp>

namespace autoware_ad_api::interface
{

struct Version
{
using Service = autoware_ad_api_msgs::srv::InterfaceVersion;
using Service = autoware_adapi_version_msgs::srv::InterfaceVersion;
static constexpr char name[] = "/api/interface/version";
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@

#include <rclcpp/qos.hpp>

#include <autoware_ad_api_msgs/msg/localization_initialization_state.hpp>
#include <autoware_ad_api_msgs/srv/initialize_localization.hpp>
#include <autoware_adapi_v1_msgs/msg/localization_initialization_state.hpp>
#include <autoware_adapi_v1_msgs/srv/initialize_localization.hpp>

namespace autoware_ad_api::localization
{

struct Initialize
{
using Service = autoware_ad_api_msgs::srv::InitializeLocalization;
using Service = autoware_adapi_v1_msgs::srv::InitializeLocalization;
static constexpr char name[] = "/api/localization/initialize";
};

struct InitializationState
{
using Message = autoware_ad_api_msgs::msg::LocalizationInitializationState;
using Message = autoware_adapi_v1_msgs::msg::LocalizationInitializationState;
static constexpr char name[] = "/api/localization/initialization_state";
static constexpr size_t depth = 3;
static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,36 +17,36 @@

#include <rclcpp/qos.hpp>

#include <autoware_ad_api_msgs/msg/route.hpp>
#include <autoware_ad_api_msgs/msg/route_state.hpp>
#include <autoware_ad_api_msgs/srv/clear_route.hpp>
#include <autoware_ad_api_msgs/srv/set_route.hpp>
#include <autoware_ad_api_msgs/srv/set_route_points.hpp>
#include <autoware_adapi_v1_msgs/msg/route.hpp>
#include <autoware_adapi_v1_msgs/msg/route_state.hpp>
#include <autoware_adapi_v1_msgs/srv/clear_route.hpp>
#include <autoware_adapi_v1_msgs/srv/set_route.hpp>
#include <autoware_adapi_v1_msgs/srv/set_route_points.hpp>

namespace autoware_ad_api::routing
{

struct SetRoutePoints
{
using Service = autoware_ad_api_msgs::srv::SetRoutePoints;
using Service = autoware_adapi_v1_msgs::srv::SetRoutePoints;
static constexpr char name[] = "/api/routing/set_route_points";
};

struct SetRoute
{
using Service = autoware_ad_api_msgs::srv::SetRoute;
using Service = autoware_adapi_v1_msgs::srv::SetRoute;
static constexpr char name[] = "/api/routing/set_route";
};

struct ClearRoute
{
using Service = autoware_ad_api_msgs::srv::ClearRoute;
using Service = autoware_adapi_v1_msgs::srv::ClearRoute;
static constexpr char name[] = "/api/routing/clear_route";
};

struct RouteState
{
using Message = autoware_ad_api_msgs::msg::RouteState;
using Message = autoware_adapi_v1_msgs::msg::RouteState;
static constexpr char name[] = "/api/routing/state";
static constexpr size_t depth = 3;
static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE;
Expand All @@ -55,7 +55,7 @@ struct RouteState

struct Route
{
using Message = autoware_ad_api_msgs::msg::Route;
using Message = autoware_adapi_v1_msgs::msg::Route;
static constexpr char name[] = "/api/routing/route";
static constexpr size_t depth = 1;
static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@

#include <rclcpp/qos.hpp>

#include <autoware_ad_api_msgs/msg/localization_initialization_state.hpp>
#include <autoware_ad_api_msgs/srv/initialize_localization.hpp>
#include <autoware_adapi_v1_msgs/msg/localization_initialization_state.hpp>
#include <autoware_adapi_v1_msgs/srv/initialize_localization.hpp>

namespace localization_interface
{

struct Initialize
{
using Service = autoware_ad_api_msgs::srv::InitializeLocalization;
using Service = autoware_adapi_v1_msgs::srv::InitializeLocalization;
static constexpr char name[] = "/localization/initialize";
};

struct InitializationState
{
using Message = autoware_ad_api_msgs::msg::LocalizationInitializationState;
using Message = autoware_adapi_v1_msgs::msg::LocalizationInitializationState;
static constexpr char name[] = "/localization/initialization_state";
static constexpr size_t depth = 3;
static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,36 +17,36 @@

#include <rclcpp/qos.hpp>

#include <autoware_ad_api_msgs/msg/route.hpp>
#include <autoware_ad_api_msgs/msg/route_state.hpp>
#include <autoware_ad_api_msgs/srv/clear_route.hpp>
#include <autoware_ad_api_msgs/srv/set_route.hpp>
#include <autoware_ad_api_msgs/srv/set_route_points.hpp>
#include <autoware_adapi_v1_msgs/msg/route.hpp>
#include <autoware_adapi_v1_msgs/msg/route_state.hpp>
#include <autoware_adapi_v1_msgs/srv/clear_route.hpp>
#include <autoware_adapi_v1_msgs/srv/set_route.hpp>
#include <autoware_adapi_v1_msgs/srv/set_route_points.hpp>

namespace planning_interface
{

struct SetRoutePoints
{
using Service = autoware_ad_api_msgs::srv::SetRoutePoints;
using Service = autoware_adapi_v1_msgs::srv::SetRoutePoints;
static constexpr char name[] = "/planning/mission_planning/set_route_points";
};

struct SetRoute
{
using Service = autoware_ad_api_msgs::srv::SetRoute;
using Service = autoware_adapi_v1_msgs::srv::SetRoute;
static constexpr char name[] = "/planning/mission_planning/set_route";
};

struct ClearRoute
{
using Service = autoware_ad_api_msgs::srv::ClearRoute;
using Service = autoware_adapi_v1_msgs::srv::ClearRoute;
static constexpr char name[] = "/planning/mission_planning/clear_route";
};

struct RouteState
{
using Message = autoware_ad_api_msgs::msg::RouteState;
using Message = autoware_adapi_v1_msgs::msg::RouteState;
static constexpr char name[] = "/planning/mission_planning/route_state";
static constexpr size_t depth = 3;
static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE;
Expand All @@ -55,7 +55,7 @@ struct RouteState

struct Route
{
using Message = autoware_ad_api_msgs::msg::Route;
using Message = autoware_adapi_v1_msgs::msg::Route;
static constexpr char name[] = "/planning/mission_planning/route";
static constexpr size_t depth = 1;
static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef COMPONENT_INTERFACE_UTILS__RCLCPP__EXCEPTIONS_HPP_
#define COMPONENT_INTERFACE_UTILS__RCLCPP__EXCEPTIONS_HPP_

#include <autoware_ad_api_msgs/msg/response_status.hpp>
#include <autoware_adapi_v1_msgs/msg/response_status.hpp>

#include <stdexcept>
#include <string>
Expand All @@ -26,7 +26,7 @@ namespace component_interface_utils
class ServiceException : public std::runtime_error
{
public:
using ResponseStatus = autoware_ad_api_msgs::msg::ResponseStatus;
using ResponseStatus = autoware_adapi_v1_msgs::msg::ResponseStatus;
using ResponseStatusCode = ResponseStatus::_code_type;

ServiceException(ResponseStatusCode code, const std::string & message)
Expand Down
2 changes: 1 addition & 1 deletion common/component_interface_utils/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<build_depend>autoware_cmake</build_depend>

<depend>autoware_ad_api_msgs</depend>
<depend>autoware_adapi_v1_msgs</depend>
<depend>rclcpp</depend>
<depend>rclcpp_components</depend>

Expand Down
Loading

0 comments on commit f296a3b

Please sign in to comment.