Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: simplify ros2 tools #362

Draft
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

boczekbartek
Copy link
Member

@boczekbartek boczekbartek commented Jan 14, 2025

Purpose

  • This PR simplify ros2 tools by using InjectedToolArg to pass ros2 node to langchaing tools.
  • Previously the tools required implementing advanced pydantic typing and writing a lot of boilerplate code

Proposed Changes

  • simplify ros2-based langchaing tools in rai
  • further refactor ros2 API (making it easier to merge with with feat: ROS2 High level generic API #360)
  • fix circular import issue, when typing in tools made it hard to add tools to RaiStateBasedLlmNode

TODOs:

  • refactor open-set vision tools
  • add open-set vision tools to rosbot example

Issues

  • Links to relevant issues

Testing

  • How was it tested, what were the results?

@boczekbartek boczekbartek force-pushed the refactor/simplify_ros2_tools branch 5 times, most recently from 227ee80 to c6c2489 Compare January 14, 2025 11:55
Base automatically changed from refactor/ros_communication to development January 14, 2025 14:21
@boczekbartek boczekbartek force-pushed the refactor/simplify_ros2_tools branch from c6c2489 to ebe7c6d Compare January 14, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant