nasa-jpl / rosa

ROSA 🤖 is an AI Agent designed to interact with ROS1- and ROS2-based robotics systems using natural language queries. ROSA helps robot developers inspect, diagnose, understand, and operate robots.
https://github.com/nasa-jpl/rosa/wiki
Apache License 2.0
674 stars 49 forks source link

[Bug]: ROSATools always tries to import ros1 and ros2 resources #6

Closed ndahn closed 3 months ago

ndahn commented 3 months ago

Checked for duplicates

Describe the bug ROSATools:65 tries to import the ros1 and ros2 toolsets, which will fail unless the system has installed both. This can be easily solved by removing the imports from that line since they are imported (properly) later inside their if-statements.

What did you expect? ROS1 should not be a requirement for ROS2 and vice versa.

Reproducible steps Instantiate ROSATools on a system that does not have ROS1 and ROS2 installed.

What is your environment? Ubuntu 22, ROS2 humble. No ROS1 :)

RobRoyce commented 3 months ago

Good catch! Resolved in ec578c1