forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request autowarefoundation#639 from tier4/sync-upstream
chore: sync upstream
- Loading branch information
Showing
40 changed files
with
571 additions
and
141 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
common/component_interface_specs/include/component_interface_specs/map.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// Copyright 2023 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 COMPONENT_INTERFACE_SPECS__MAP_HPP_ | ||
#define COMPONENT_INTERFACE_SPECS__MAP_HPP_ | ||
|
||
#include <rclcpp/qos.hpp> | ||
|
||
#include <tier4_map_msgs/msg/map_projector_info.hpp> | ||
|
||
namespace map_interface | ||
{ | ||
|
||
struct MapProjectorInfo | ||
{ | ||
using Message = tier4_map_msgs::msg::MapProjectorInfo; | ||
static constexpr char name[] = "/map/map_projector_type"; | ||
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 map_interface | ||
|
||
#endif // COMPONENT_INTERFACE_SPECS__MAP_HPP_ |
76 changes: 76 additions & 0 deletions
76
common/component_interface_specs/include/component_interface_specs/vehicle.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
// Copyright 2023 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 COMPONENT_INTERFACE_SPECS__VEHICLE_HPP_ | ||
#define COMPONENT_INTERFACE_SPECS__VEHICLE_HPP_ | ||
|
||
#include <rclcpp/qos.hpp> | ||
|
||
#include <autoware_auto_vehicle_msgs/msg/gear_report.hpp> | ||
#include <autoware_auto_vehicle_msgs/msg/hazard_lights_report.hpp> | ||
#include <autoware_auto_vehicle_msgs/msg/steering_report.hpp> | ||
#include <autoware_auto_vehicle_msgs/msg/turn_indicators_report.hpp> | ||
#include <tier4_vehicle_msgs/msg/battery_status.hpp> | ||
|
||
namespace vehicle_interface | ||
{ | ||
|
||
struct SteeringStatus | ||
{ | ||
using Message = autoware_auto_vehicle_msgs::msg::SteeringReport; | ||
static constexpr char name[] = "/vehicle/status/steering_status"; | ||
static constexpr size_t depth = 1; | ||
static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE; | ||
static constexpr auto durability = RMW_QOS_POLICY_DURABILITY_VOLATILE; | ||
}; | ||
|
||
struct GearStatus | ||
{ | ||
using Message = autoware_auto_vehicle_msgs::msg::GearReport; | ||
static constexpr char name[] = "/vehicle/status/gear_status"; | ||
static constexpr size_t depth = 1; | ||
static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE; | ||
static constexpr auto durability = RMW_QOS_POLICY_DURABILITY_VOLATILE; | ||
}; | ||
|
||
struct TurnIndicatorStatus | ||
{ | ||
using Message = autoware_auto_vehicle_msgs::msg::TurnIndicatorsReport; | ||
static constexpr char name[] = "/vehicle/status/turn_indicators_status"; | ||
static constexpr size_t depth = 1; | ||
static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE; | ||
static constexpr auto durability = RMW_QOS_POLICY_DURABILITY_VOLATILE; | ||
}; | ||
|
||
struct HazardLightStatus | ||
{ | ||
using Message = autoware_auto_vehicle_msgs::msg::HazardLightsReport; | ||
static constexpr char name[] = "/vehicle/status/hazard_lights_status"; | ||
static constexpr size_t depth = 1; | ||
static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE; | ||
static constexpr auto durability = RMW_QOS_POLICY_DURABILITY_VOLATILE; | ||
}; | ||
|
||
struct EnergyStatus | ||
{ | ||
using Message = tier4_vehicle_msgs::msg::BatteryStatus; | ||
static constexpr char name[] = "/vehicle/status/battery_charge"; | ||
static constexpr size_t depth = 1; | ||
static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE; | ||
static constexpr auto durability = RMW_QOS_POLICY_DURABILITY_VOLATILE; | ||
}; | ||
|
||
} // namespace vehicle_interface | ||
|
||
#endif // COMPONENT_INTERFACE_SPECS__VEHICLE_HPP_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.