How much has to be explicitly exposed via @tool #55
Unanswered
igillespie
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm new to ROSA and langchain. I have built the open source rover and I've been playing around controlling my rover using ROSA.
I wrote a couple of custom nodes before I started with ROSA. One is move_distance which makes the robot move a passed in distance linearly. I also implemented a turn_in_place command that will rotate the rover x degrees left or right. I exposed these with @tool in my simple ROSA agent:
This works well, but I was playing with the chat agent and we had this dialog:
This got me wondering if I can just expose common nodes from the ROS2 system that it can automatically integrate with. I assume there is maybe a way to do this? For example, I have /battery_state the publishes information about the battery. Is there a way to tell the ROSA agent about this without explicitly writing a @tool function that returns the battery info?
Beta Was this translation helpful? Give feedback.
All reactions