Graphical programming method for robot interaction based on tiles

A graphical programming and robot technology, applied in the field of graphical programming of robot interaction, can solve problems that are not suitable for the promotion of interactive applications for non-professional users, achieve intuitive and accessible programming, save time for dragging programming, and enhance readability sexual effect

Active Publication Date: 2020-07-31
HARBIN INST OF TECH
View PDF8 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Traditional robot programming is mostly used for pre-development and offline debugging, and generally uses a robo

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Graphical programming method for robot interaction based on tiles
  • Graphical programming method for robot interaction based on tiles
  • Graphical programming method for robot interaction based on tiles

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0045] according to figure 1 As shown, the present invention provides a graphical programming method for robot interaction based on blocks,

[0046] A block-based graphical programming method for robot interaction, comprising the following steps:

[0047] Step 1: Add the Blockly dependency library to the web page source code, and perform page layout and configuration;

[0048] The step 1 is specifically: adding Blockly dependency library in the web page source code, determining the web page through the html file, carrying out custom data marking and setting through the XML extended markup language, adopting the title in the head in the html to determine the title of the page, Use the link cascading style sheet in html, use the css file in html to assist in the layout of the page, use script to refer to the basic dependent script of the page; use div or table tags in html for page layout and configuration;

[0049] Through the sub-area set by div, similar settings are made in...

specific Embodiment 2

[0075] What this implementation method describes is a graphical programming method based on blocks, including the following steps:

[0076] Step 1. Add the Blockly dependency library to the source code of the web page and perform page layout and configuration;

[0077] Based on the dynamic language JavaScript design, draggable tiles rely on Blockly design. Blockly is an open source web page drag block editor developed based on JavaScript. Each block is the basic unit of the program and can be combined and interlocked in the form of drag and drop. It supports Web, Android, IOS systems and other software environments. Use it to provide support for code generation, and by default support the generation of programming languages ​​such as JavaScript, Python, and PHP. On this basis, this method carries out the professional programming block design oriented to the robot. Such as figure 2 As shown, this method is implemented based on Web design.

[0078] Such as figure 2 As sho...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a graphical programming method for robot interaction based on tiles. The method comprises the following steps: adding a Blockly dependent library into a webpage source code, and carrying out page layout and configuration; performing task requirement analysis according to the moving operation type of the robot, determining needed image blocks, wherein the needed image blocks comprise task type image blocks and statement type image blocks; determining a data interface of a required graph block according to the task, designing a custom graph block object and quoting, anddesigning the shape and connection characteristics of the graph block; designing a code generation function according to the self-defined image block object and the self-defined image block function;and performing graphical program processing, including program running, storing, taking, sending and verifying, and achieving control over the real robot. According to the method, graphic simulation is included, verification of a user program is facilitated, and therefore errors of a real robot are minimized.

Description

technical field [0001] The invention relates to the technical field of graphic programming for robot interaction, and relates to a graphical programming method for robot interaction based on blocks. Background technique [0002] In recent years, with the rapid development of robot technology, robots have provided unprecedented convenience for human production and life, and their application fields have become more and more extensive, and have gradually extended from scientific research and industrial fields to aerospace, disaster relief, medical care, education and home furnishing. Catering and other industries. However, the programming and operation of most special-purpose robots are relatively complicated, and the application threshold is high, requiring users to have strong professional ability and cumbersome training for users, which is very unfavorable for the further popularization of robots. If you want to provide the powerful functions of the robot to a wider range ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/34
CPCG06F8/34Y02P90/02
Inventor 蒋再男刘大翔孙永军刘宏
Owner HARBIN INST OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products