File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 19
19
from langchain_core .runnables import Runnable
20
20
from rai .agents .conversational_agent import State , create_conversational_agent
21
21
from rai .communication .ros2 .connectors import ROS2ARIConnector
22
- from rai .tools .ros2 . topics import ROS2TopicsToolkit
22
+ from rai .tools .ros2 import ROS2ServicesToolkit , ROS2TopicsToolkit
23
23
from rai .tools .time import WaitForSecondsTool
24
24
from rai .utils .model_initialization import get_llm_model
25
25
from rclpy .callback_groups import ReentrantCallbackGroup
@@ -109,6 +109,7 @@ def main():
109
109
system_prompt = SYSTEM_PROMPT ,
110
110
tools = [
111
111
* ROS2TopicsToolkit (connector = connector ).get_tools (),
112
+ * ROS2ServicesToolkit (connector = connector ).get_tools (),
112
113
WaitForSecondsTool (),
113
114
],
114
115
)
You can’t perform that action at this time.
0 commit comments