Robot-AI Bridge Code Generation for Automated Message Mapping
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Developers face the inconvenience of manually hard-coding configuration settings for robot-specific protocols to communicate with AI services provided as web services, requiring separate code development and increasing costs due to resource demands and environmental variations.
Innovation Solution
An automated communication method is established using a bridge code and container definition file generated from a mapping rule between robot and AI service information, allowing message exchange between robots and AI services without manual coding, utilizing Docker containers and considering ROS-based robot software and web-based AI service details.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a separate application module with hard-coded configuration is used to communicate between robot and AI service, then communication functionality is achieved, but development complexity and time increase
Solution Approach 1:
The system automatically generates the application module code through code generation means that read configuration files and autonomously produce the necessary communication code, eliminating the need for manual hard-coding and reducing development complexity while maintaining communication functionality
Solution Approach 2:
Configuration files are prepared in advance with all necessary communication parameters and mapping rules defined before code generation, allowing the system to automatically generate ready-to-use application modules without requiring developers to write code from scratch
2Reliability
If manual hard coding is performed for each robot protocol and AI service configuration, then communication is established, but development time and costs increase
Solution Approach 1:
The code generation means automatically reads configuration files containing robot protocol and AI service details, then autonomously generates the application module code, eliminating manual hard-coding efforts and significantly reducing development time
Solution Approach 2:
The system uses configuration files as templates that define communication patterns, which are then copied and adapted automatically to generate specific application modules for different robot protocols and AI services, reducing repetitive development work
3Measurement precision
If robot-specific protocol messages are directly mapped to web service parameters without automation, then communication accuracy is maintained, but developer effort increases
Solution Approach 1:
The code generation means automatically performs the mapping between robot protocol messages and web service parameters by reading configuration files that define the mapping rules, ensuring accuracy while eliminating manual mapping effort from developers
Solution Approach 2:
Mapping rules between robot protocols and web service parameters are pre-defined in configuration files before code generation, allowing the system to automatically generate accurate mappings without requiring developers to manually establish each correspondence
Data Source
AI summary
Disclosed herein are an apparatus for automated communication between a robot and an artificial intelligence service. The method for automated communication between a robot and an artificial intelligence service is performed by an apparatus for automated communication between the robot and the artificial intelligence service, and includes generating bridge code and a container definition file based on a mapping rule defined between the robot and the artificial intelligence service, running a bridge container having an independent format based on the container definition file, executing the bridge code through the bridge container, and providing an automated communication environment by exchanging a message between the robot and the artificial intelligence service based on the bridge code.


