-
Notifications
You must be signed in to change notification settings - Fork 650
Commit
chore: sync upstream
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// Copyright 2022 TIER IV, Inc. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
#ifndef AUTOWARE_AD_API_SPECS__MOTION_HPP_ | ||
#define AUTOWARE_AD_API_SPECS__MOTION_HPP_ | ||
|
||
#include <rclcpp/qos.hpp> | ||
|
||
#include <autoware_ad_api_msgs/msg/motion_state.hpp> | ||
#include <autoware_ad_api_msgs/srv/accept_start.hpp> | ||
|
||
namespace autoware_ad_api::motion | ||
{ | ||
|
||
struct AcceptStart | ||
{ | ||
using Service = autoware_ad_api_msgs::srv::AcceptStart; | ||
static constexpr char name[] = "/api/motion/accept_start"; | ||
}; | ||
|
||
struct State | ||
{ | ||
using Message = autoware_ad_api_msgs::msg::MotionState; | ||
static constexpr char name[] = "/api/motion/state"; | ||
static constexpr size_t depth = 1; | ||
static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE; | ||
static constexpr auto durability = RMW_QOS_POLICY_DURABILITY_TRANSIENT_LOCAL; | ||
}; | ||
|
||
} // namespace autoware_ad_api::motion | ||
|
||
#endif // AUTOWARE_AD_API_SPECS__MOTION_HPP_ |