Package Summary
Tags | No category tags. |
Version | 0.1.0 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/ieiauto/autodrrt.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2025-05-30 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Fumiya Watanabe
- Taiki Tanaka
- Kyoichi Sugahara
Authors
- Fumiya Watanabe
RTC Interface
Purpose
RTC Interface is an interface to publish the decision status of behavior planning modules and receive execution command from external of an autonomous driving system.
Inner-workings / Algorithms
Usage example
// Generate instance (in this example, "intersection" is selected)
rtc_interface::RTCInterface rtc_interface(node, "intersection");
// Generate UUID
const unique_identifier_msgs::msg::UUID uuid = generateUUID(getModuleId());
// Repeat while module is running
while (...) {
// Get safety status of the module corresponding to the module id
const bool safe = ...
// Get distance to the object corresponding to the module id
const double start_distance = ...
const double finish_distance = ...
// Get time stamp
const rclcpp::Time stamp = ...
// Update status
rtc_interface.updateCooperateStatus(uuid, safe, start_distance, finish_distance, stamp);
if (rtc_interface.isActivated(uuid)) {
// Execute planning
} else {
// Stop planning
}
// Get time stamp
const rclcpp::Time stamp = ...
// Publish status topic
rtc_interface.publishCooperateStatus(stamp);
}
// Remove the status from array
rtc_interface.removeCooperateStatus(uuid);
Inputs / Outputs
RTCInterface (Constructor)
rtc_interface::RTCInterface(rclcpp::Node & node, const std::string & name);
Description
A constructor for rtc_interface::RTCInterface
.
Input
-
node
: Node calling this interface -
name
: Name of cooperate status array topic and cooperate commands service- Cooperate status array topic name :
~/{name}/cooperate_status
- Cooperate commands service name :
~/{name}/cooperate_commands
- Cooperate status array topic name :
Output
An instance of RTCInterface
publishCooperateStatus
rtc_interface::publishCooperateStatus(const rclcpp::Time & stamp)
Description
Publish registered cooperate status.
Input
-
stamp
: Time stamp
Output
Nothing
updateCooperateStatus
rtc_interface::updateCooperateStatus(const unique_identifier_msgs::msg::UUID & uuid, const bool safe, const double start_distance, const double finish_distance, const rclcpp::Time & stamp)
Description
Update cooperate status corresponding to uuid
.
If cooperate status corresponding to uuid
is not registered yet, add new cooperate status.
File truncated at 100 lines see the full file
Package Dependencies
Deps | Name |
---|---|
ament_cmake_auto | |
ament_lint_auto | |
autoware_lint_common | |
rclcpp | |
tier4_rtc_msgs | |
unique_identifier_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged rtc_interface at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 0.1.0 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/ieiauto/autodrrt.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2025-05-30 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Fumiya Watanabe
- Taiki Tanaka
- Kyoichi Sugahara
Authors
- Fumiya Watanabe
RTC Interface
Purpose
RTC Interface is an interface to publish the decision status of behavior planning modules and receive execution command from external of an autonomous driving system.
Inner-workings / Algorithms
Usage example
// Generate instance (in this example, "intersection" is selected)
rtc_interface::RTCInterface rtc_interface(node, "intersection");
// Generate UUID
const unique_identifier_msgs::msg::UUID uuid = generateUUID(getModuleId());
// Repeat while module is running
while (...) {
// Get safety status of the module corresponding to the module id
const bool safe = ...
// Get distance to the object corresponding to the module id
const double start_distance = ...
const double finish_distance = ...
// Get time stamp
const rclcpp::Time stamp = ...
// Update status
rtc_interface.updateCooperateStatus(uuid, safe, start_distance, finish_distance, stamp);
if (rtc_interface.isActivated(uuid)) {
// Execute planning
} else {
// Stop planning
}
// Get time stamp
const rclcpp::Time stamp = ...
// Publish status topic
rtc_interface.publishCooperateStatus(stamp);
}
// Remove the status from array
rtc_interface.removeCooperateStatus(uuid);
Inputs / Outputs
RTCInterface (Constructor)
rtc_interface::RTCInterface(rclcpp::Node & node, const std::string & name);
Description
A constructor for rtc_interface::RTCInterface
.
Input
-
node
: Node calling this interface -
name
: Name of cooperate status array topic and cooperate commands service- Cooperate status array topic name :
~/{name}/cooperate_status
- Cooperate commands service name :
~/{name}/cooperate_commands
- Cooperate status array topic name :
Output
An instance of RTCInterface
publishCooperateStatus
rtc_interface::publishCooperateStatus(const rclcpp::Time & stamp)
Description
Publish registered cooperate status.
Input
-
stamp
: Time stamp
Output
Nothing
updateCooperateStatus
rtc_interface::updateCooperateStatus(const unique_identifier_msgs::msg::UUID & uuid, const bool safe, const double start_distance, const double finish_distance, const rclcpp::Time & stamp)
Description
Update cooperate status corresponding to uuid
.
If cooperate status corresponding to uuid
is not registered yet, add new cooperate status.
File truncated at 100 lines see the full file
Package Dependencies
Deps | Name |
---|---|
ament_cmake_auto | |
ament_lint_auto | |
autoware_lint_common | |
rclcpp | |
tier4_rtc_msgs | |
unique_identifier_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged rtc_interface at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 0.1.0 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/ieiauto/autodrrt.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2025-05-30 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Fumiya Watanabe
- Taiki Tanaka
- Kyoichi Sugahara
Authors
- Fumiya Watanabe
RTC Interface
Purpose
RTC Interface is an interface to publish the decision status of behavior planning modules and receive execution command from external of an autonomous driving system.
Inner-workings / Algorithms
Usage example
// Generate instance (in this example, "intersection" is selected)
rtc_interface::RTCInterface rtc_interface(node, "intersection");
// Generate UUID
const unique_identifier_msgs::msg::UUID uuid = generateUUID(getModuleId());
// Repeat while module is running
while (...) {
// Get safety status of the module corresponding to the module id
const bool safe = ...
// Get distance to the object corresponding to the module id
const double start_distance = ...
const double finish_distance = ...
// Get time stamp
const rclcpp::Time stamp = ...
// Update status
rtc_interface.updateCooperateStatus(uuid, safe, start_distance, finish_distance, stamp);
if (rtc_interface.isActivated(uuid)) {
// Execute planning
} else {
// Stop planning
}
// Get time stamp
const rclcpp::Time stamp = ...
// Publish status topic
rtc_interface.publishCooperateStatus(stamp);
}
// Remove the status from array
rtc_interface.removeCooperateStatus(uuid);
Inputs / Outputs
RTCInterface (Constructor)
rtc_interface::RTCInterface(rclcpp::Node & node, const std::string & name);
Description
A constructor for rtc_interface::RTCInterface
.
Input
-
node
: Node calling this interface -
name
: Name of cooperate status array topic and cooperate commands service- Cooperate status array topic name :
~/{name}/cooperate_status
- Cooperate commands service name :
~/{name}/cooperate_commands
- Cooperate status array topic name :
Output
An instance of RTCInterface
publishCooperateStatus
rtc_interface::publishCooperateStatus(const rclcpp::Time & stamp)
Description
Publish registered cooperate status.
Input
-
stamp
: Time stamp
Output
Nothing
updateCooperateStatus
rtc_interface::updateCooperateStatus(const unique_identifier_msgs::msg::UUID & uuid, const bool safe, const double start_distance, const double finish_distance, const rclcpp::Time & stamp)
Description
Update cooperate status corresponding to uuid
.
If cooperate status corresponding to uuid
is not registered yet, add new cooperate status.
File truncated at 100 lines see the full file
Package Dependencies
Deps | Name |
---|---|
ament_cmake_auto | |
ament_lint_auto | |
autoware_lint_common | |
rclcpp | |
tier4_rtc_msgs | |
unique_identifier_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged rtc_interface at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 0.1.0 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/ieiauto/autodrrt.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2025-05-30 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Fumiya Watanabe
- Taiki Tanaka
- Kyoichi Sugahara
Authors
- Fumiya Watanabe
RTC Interface
Purpose
RTC Interface is an interface to publish the decision status of behavior planning modules and receive execution command from external of an autonomous driving system.
Inner-workings / Algorithms
Usage example
// Generate instance (in this example, "intersection" is selected)
rtc_interface::RTCInterface rtc_interface(node, "intersection");
// Generate UUID
const unique_identifier_msgs::msg::UUID uuid = generateUUID(getModuleId());
// Repeat while module is running
while (...) {
// Get safety status of the module corresponding to the module id
const bool safe = ...
// Get distance to the object corresponding to the module id
const double start_distance = ...
const double finish_distance = ...
// Get time stamp
const rclcpp::Time stamp = ...
// Update status
rtc_interface.updateCooperateStatus(uuid, safe, start_distance, finish_distance, stamp);
if (rtc_interface.isActivated(uuid)) {
// Execute planning
} else {
// Stop planning
}
// Get time stamp
const rclcpp::Time stamp = ...
// Publish status topic
rtc_interface.publishCooperateStatus(stamp);
}
// Remove the status from array
rtc_interface.removeCooperateStatus(uuid);
Inputs / Outputs
RTCInterface (Constructor)
rtc_interface::RTCInterface(rclcpp::Node & node, const std::string & name);
Description
A constructor for rtc_interface::RTCInterface
.
Input
-
node
: Node calling this interface -
name
: Name of cooperate status array topic and cooperate commands service- Cooperate status array topic name :
~/{name}/cooperate_status
- Cooperate commands service name :
~/{name}/cooperate_commands
- Cooperate status array topic name :
Output
An instance of RTCInterface
publishCooperateStatus
rtc_interface::publishCooperateStatus(const rclcpp::Time & stamp)
Description
Publish registered cooperate status.
Input
-
stamp
: Time stamp
Output
Nothing
updateCooperateStatus
rtc_interface::updateCooperateStatus(const unique_identifier_msgs::msg::UUID & uuid, const bool safe, const double start_distance, const double finish_distance, const rclcpp::Time & stamp)
Description
Update cooperate status corresponding to uuid
.
If cooperate status corresponding to uuid
is not registered yet, add new cooperate status.
File truncated at 100 lines see the full file
Package Dependencies
Deps | Name |
---|---|
ament_cmake_auto | |
ament_lint_auto | |
autoware_lint_common | |
rclcpp | |
tier4_rtc_msgs | |
unique_identifier_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged rtc_interface at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 0.1.0 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/ieiauto/autodrrt.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2025-05-30 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Fumiya Watanabe
- Taiki Tanaka
- Kyoichi Sugahara
Authors
- Fumiya Watanabe
RTC Interface
Purpose
RTC Interface is an interface to publish the decision status of behavior planning modules and receive execution command from external of an autonomous driving system.
Inner-workings / Algorithms
Usage example
// Generate instance (in this example, "intersection" is selected)
rtc_interface::RTCInterface rtc_interface(node, "intersection");
// Generate UUID
const unique_identifier_msgs::msg::UUID uuid = generateUUID(getModuleId());
// Repeat while module is running
while (...) {
// Get safety status of the module corresponding to the module id
const bool safe = ...
// Get distance to the object corresponding to the module id
const double start_distance = ...
const double finish_distance = ...
// Get time stamp
const rclcpp::Time stamp = ...
// Update status
rtc_interface.updateCooperateStatus(uuid, safe, start_distance, finish_distance, stamp);
if (rtc_interface.isActivated(uuid)) {
// Execute planning
} else {
// Stop planning
}
// Get time stamp
const rclcpp::Time stamp = ...
// Publish status topic
rtc_interface.publishCooperateStatus(stamp);
}
// Remove the status from array
rtc_interface.removeCooperateStatus(uuid);
Inputs / Outputs
RTCInterface (Constructor)
rtc_interface::RTCInterface(rclcpp::Node & node, const std::string & name);
Description
A constructor for rtc_interface::RTCInterface
.
Input
-
node
: Node calling this interface -
name
: Name of cooperate status array topic and cooperate commands service- Cooperate status array topic name :
~/{name}/cooperate_status
- Cooperate commands service name :
~/{name}/cooperate_commands
- Cooperate status array topic name :
Output
An instance of RTCInterface
publishCooperateStatus
rtc_interface::publishCooperateStatus(const rclcpp::Time & stamp)
Description
Publish registered cooperate status.
Input
-
stamp
: Time stamp
Output
Nothing
updateCooperateStatus
rtc_interface::updateCooperateStatus(const unique_identifier_msgs::msg::UUID & uuid, const bool safe, const double start_distance, const double finish_distance, const rclcpp::Time & stamp)
Description
Update cooperate status corresponding to uuid
.
If cooperate status corresponding to uuid
is not registered yet, add new cooperate status.
File truncated at 100 lines see the full file
Package Dependencies
Deps | Name |
---|---|
ament_cmake_auto | |
ament_lint_auto | |
autoware_lint_common | |
rclcpp | |
tier4_rtc_msgs | |
unique_identifier_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged rtc_interface at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 0.1.0 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/ieiauto/autodrrt.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2025-05-30 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Fumiya Watanabe
- Taiki Tanaka
- Kyoichi Sugahara
Authors
- Fumiya Watanabe
RTC Interface
Purpose
RTC Interface is an interface to publish the decision status of behavior planning modules and receive execution command from external of an autonomous driving system.
Inner-workings / Algorithms
Usage example
// Generate instance (in this example, "intersection" is selected)
rtc_interface::RTCInterface rtc_interface(node, "intersection");
// Generate UUID
const unique_identifier_msgs::msg::UUID uuid = generateUUID(getModuleId());
// Repeat while module is running
while (...) {
// Get safety status of the module corresponding to the module id
const bool safe = ...
// Get distance to the object corresponding to the module id
const double start_distance = ...
const double finish_distance = ...
// Get time stamp
const rclcpp::Time stamp = ...
// Update status
rtc_interface.updateCooperateStatus(uuid, safe, start_distance, finish_distance, stamp);
if (rtc_interface.isActivated(uuid)) {
// Execute planning
} else {
// Stop planning
}
// Get time stamp
const rclcpp::Time stamp = ...
// Publish status topic
rtc_interface.publishCooperateStatus(stamp);
}
// Remove the status from array
rtc_interface.removeCooperateStatus(uuid);
Inputs / Outputs
RTCInterface (Constructor)
rtc_interface::RTCInterface(rclcpp::Node & node, const std::string & name);
Description
A constructor for rtc_interface::RTCInterface
.
Input
-
node
: Node calling this interface -
name
: Name of cooperate status array topic and cooperate commands service- Cooperate status array topic name :
~/{name}/cooperate_status
- Cooperate commands service name :
~/{name}/cooperate_commands
- Cooperate status array topic name :
Output
An instance of RTCInterface
publishCooperateStatus
rtc_interface::publishCooperateStatus(const rclcpp::Time & stamp)
Description
Publish registered cooperate status.
Input
-
stamp
: Time stamp
Output
Nothing
updateCooperateStatus
rtc_interface::updateCooperateStatus(const unique_identifier_msgs::msg::UUID & uuid, const bool safe, const double start_distance, const double finish_distance, const rclcpp::Time & stamp)
Description
Update cooperate status corresponding to uuid
.
If cooperate status corresponding to uuid
is not registered yet, add new cooperate status.
File truncated at 100 lines see the full file
Package Dependencies
Deps | Name |
---|---|
ament_cmake_auto | |
ament_lint_auto | |
autoware_lint_common | |
rclcpp | |
tier4_rtc_msgs | |
unique_identifier_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged rtc_interface at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 0.1.0 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/ieiauto/autodrrt.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2025-05-30 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Fumiya Watanabe
- Taiki Tanaka
- Kyoichi Sugahara
Authors
- Fumiya Watanabe
RTC Interface
Purpose
RTC Interface is an interface to publish the decision status of behavior planning modules and receive execution command from external of an autonomous driving system.
Inner-workings / Algorithms
Usage example
// Generate instance (in this example, "intersection" is selected)
rtc_interface::RTCInterface rtc_interface(node, "intersection");
// Generate UUID
const unique_identifier_msgs::msg::UUID uuid = generateUUID(getModuleId());
// Repeat while module is running
while (...) {
// Get safety status of the module corresponding to the module id
const bool safe = ...
// Get distance to the object corresponding to the module id
const double start_distance = ...
const double finish_distance = ...
// Get time stamp
const rclcpp::Time stamp = ...
// Update status
rtc_interface.updateCooperateStatus(uuid, safe, start_distance, finish_distance, stamp);
if (rtc_interface.isActivated(uuid)) {
// Execute planning
} else {
// Stop planning
}
// Get time stamp
const rclcpp::Time stamp = ...
// Publish status topic
rtc_interface.publishCooperateStatus(stamp);
}
// Remove the status from array
rtc_interface.removeCooperateStatus(uuid);
Inputs / Outputs
RTCInterface (Constructor)
rtc_interface::RTCInterface(rclcpp::Node & node, const std::string & name);
Description
A constructor for rtc_interface::RTCInterface
.
Input
-
node
: Node calling this interface -
name
: Name of cooperate status array topic and cooperate commands service- Cooperate status array topic name :
~/{name}/cooperate_status
- Cooperate commands service name :
~/{name}/cooperate_commands
- Cooperate status array topic name :
Output
An instance of RTCInterface
publishCooperateStatus
rtc_interface::publishCooperateStatus(const rclcpp::Time & stamp)
Description
Publish registered cooperate status.
Input
-
stamp
: Time stamp
Output
Nothing
updateCooperateStatus
rtc_interface::updateCooperateStatus(const unique_identifier_msgs::msg::UUID & uuid, const bool safe, const double start_distance, const double finish_distance, const rclcpp::Time & stamp)
Description
Update cooperate status corresponding to uuid
.
If cooperate status corresponding to uuid
is not registered yet, add new cooperate status.
File truncated at 100 lines see the full file
Package Dependencies
Deps | Name |
---|---|
ament_cmake_auto | |
ament_lint_auto | |
autoware_lint_common | |
rclcpp | |
tier4_rtc_msgs | |
unique_identifier_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged rtc_interface at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 0.1.0 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/ieiauto/autodrrt.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2025-05-30 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Fumiya Watanabe
- Taiki Tanaka
- Kyoichi Sugahara
Authors
- Fumiya Watanabe
RTC Interface
Purpose
RTC Interface is an interface to publish the decision status of behavior planning modules and receive execution command from external of an autonomous driving system.
Inner-workings / Algorithms
Usage example
// Generate instance (in this example, "intersection" is selected)
rtc_interface::RTCInterface rtc_interface(node, "intersection");
// Generate UUID
const unique_identifier_msgs::msg::UUID uuid = generateUUID(getModuleId());
// Repeat while module is running
while (...) {
// Get safety status of the module corresponding to the module id
const bool safe = ...
// Get distance to the object corresponding to the module id
const double start_distance = ...
const double finish_distance = ...
// Get time stamp
const rclcpp::Time stamp = ...
// Update status
rtc_interface.updateCooperateStatus(uuid, safe, start_distance, finish_distance, stamp);
if (rtc_interface.isActivated(uuid)) {
// Execute planning
} else {
// Stop planning
}
// Get time stamp
const rclcpp::Time stamp = ...
// Publish status topic
rtc_interface.publishCooperateStatus(stamp);
}
// Remove the status from array
rtc_interface.removeCooperateStatus(uuid);
Inputs / Outputs
RTCInterface (Constructor)
rtc_interface::RTCInterface(rclcpp::Node & node, const std::string & name);
Description
A constructor for rtc_interface::RTCInterface
.
Input
-
node
: Node calling this interface -
name
: Name of cooperate status array topic and cooperate commands service- Cooperate status array topic name :
~/{name}/cooperate_status
- Cooperate commands service name :
~/{name}/cooperate_commands
- Cooperate status array topic name :
Output
An instance of RTCInterface
publishCooperateStatus
rtc_interface::publishCooperateStatus(const rclcpp::Time & stamp)
Description
Publish registered cooperate status.
Input
-
stamp
: Time stamp
Output
Nothing
updateCooperateStatus
rtc_interface::updateCooperateStatus(const unique_identifier_msgs::msg::UUID & uuid, const bool safe, const double start_distance, const double finish_distance, const rclcpp::Time & stamp)
Description
Update cooperate status corresponding to uuid
.
If cooperate status corresponding to uuid
is not registered yet, add new cooperate status.
File truncated at 100 lines see the full file
Package Dependencies
Deps | Name |
---|---|
ament_cmake_auto | |
ament_lint_auto | |
autoware_lint_common | |
rclcpp | |
tier4_rtc_msgs | |
unique_identifier_msgs |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged rtc_interface at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 0.1.0 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/ieiauto/autodrrt.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2025-05-30 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Fumiya Watanabe
- Taiki Tanaka
- Kyoichi Sugahara
Authors
- Fumiya Watanabe
RTC Interface
Purpose
RTC Interface is an interface to publish the decision status of behavior planning modules and receive execution command from external of an autonomous driving system.
Inner-workings / Algorithms
Usage example
// Generate instance (in this example, "intersection" is selected)
rtc_interface::RTCInterface rtc_interface(node, "intersection");
// Generate UUID
const unique_identifier_msgs::msg::UUID uuid = generateUUID(getModuleId());
// Repeat while module is running
while (...) {
// Get safety status of the module corresponding to the module id
const bool safe = ...
// Get distance to the object corresponding to the module id
const double start_distance = ...
const double finish_distance = ...
// Get time stamp
const rclcpp::Time stamp = ...
// Update status
rtc_interface.updateCooperateStatus(uuid, safe, start_distance, finish_distance, stamp);
if (rtc_interface.isActivated(uuid)) {
// Execute planning
} else {
// Stop planning
}
// Get time stamp
const rclcpp::Time stamp = ...
// Publish status topic
rtc_interface.publishCooperateStatus(stamp);
}
// Remove the status from array
rtc_interface.removeCooperateStatus(uuid);
Inputs / Outputs
RTCInterface (Constructor)
rtc_interface::RTCInterface(rclcpp::Node & node, const std::string & name);
Description
A constructor for rtc_interface::RTCInterface
.
Input
-
node
: Node calling this interface -
name
: Name of cooperate status array topic and cooperate commands service- Cooperate status array topic name :
~/{name}/cooperate_status
- Cooperate commands service name :
~/{name}/cooperate_commands
- Cooperate status array topic name :
Output
An instance of RTCInterface
publishCooperateStatus
rtc_interface::publishCooperateStatus(const rclcpp::Time & stamp)
Description
Publish registered cooperate status.
Input
-
stamp
: Time stamp
Output
Nothing
updateCooperateStatus
rtc_interface::updateCooperateStatus(const unique_identifier_msgs::msg::UUID & uuid, const bool safe, const double start_distance, const double finish_distance, const rclcpp::Time & stamp)
Description
Update cooperate status corresponding to uuid
.
If cooperate status corresponding to uuid
is not registered yet, add new cooperate status.
File truncated at 100 lines see the full file
Package Dependencies
Deps | Name |
---|---|
ament_cmake_auto | |
ament_lint_auto | |
autoware_lint_common | |
rclcpp | |
tier4_rtc_msgs | |
unique_identifier_msgs |