CN115223423B - Programming method and device and electronic equipment - Google Patents

Programming method and device and electronic equipment Download PDF

Info

Publication number
CN115223423B
CN115223423B CN202210429475.7A CN202210429475A CN115223423B CN 115223423 B CN115223423 B CN 115223423B CN 202210429475 A CN202210429475 A CN 202210429475A CN 115223423 B CN115223423 B CN 115223423B
Authority
CN
China
Prior art keywords
target
programming
information
controlling
building block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210429475.7A
Other languages
Chinese (zh)
Other versions
CN115223423A (en
Inventor
杨立斌
王子桢
靳洪都
周毅威
彭飞飞
刘苏
谭佳亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qiaoxing Education Technology Co ltd
Original Assignee
Beijing Qiaoxing Education Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qiaoxing Education Technology Co ltd filed Critical Beijing Qiaoxing Education Technology Co ltd
Priority to CN202210429475.7A priority Critical patent/CN115223423B/en
Publication of CN115223423A publication Critical patent/CN115223423A/en
Application granted granted Critical
Publication of CN115223423B publication Critical patent/CN115223423B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B19/00Teaching not covered by other main groups of this subclass
    • G09B19/0053Computers, e.g. programming
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a programming method, a programming device and electronic equipment, wherein the programming method is applied to graphical programming software, and comprises the following steps: the method comprises the steps that programming software obtains information of a first target, wherein the information of the first target at least comprises action information of the first target; the programming software generates a control instruction for controlling the second target according to the acquired information of the first target; the programming software sends the control instruction to the second target. According to the invention, the second target is controlled according to the action information of the first target, and a set of program is not required to be independently written to control the second target, so that the interaction relation between the first target and the second target can be intuitively displayed, the use of children without a programming foundation is facilitated, and the learning efficiency of the children can be effectively improved.

Description

Programming method and device and electronic equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a programming method, apparatus, and electronic device.
Background
At present, various intelligent robots enter daily life of people, and the life quality is improved. The development of intelligent robot technology requires a large number of technicians in the related field, but the learning difficulty aiming at robot programming is high, and the intelligent robot technology is not suitable for learning children without programming bases.
Disclosure of Invention
It is an object of the present invention to provide a new solution for graphical programming.
According to a first aspect of the present invention, there is provided a programming method applied to graphic programming software, the method comprising:
The method comprises the steps that programming software obtains information of a first target, wherein the information of the first target at least comprises action information of the first target;
The programming software generates a control instruction for controlling the second target according to the acquired information of the first target;
the programming software sends the control instruction to the second target.
Optionally, the first object is an animated character displayed on the programming software, the animated character being controllable by the programming software, and the second object is programmable hardware.
Optionally, the programming software generates a control instruction for controlling the second target according to the acquired information of the first target, including:
the programming software obtains a first graphical programming building block, and the first graphical programming building block is used for controlling the programmable hardware;
The first graphical programming building block generates control instructions for controlling the programmable hardware according to the motion information of the animated character.
Optionally, the first graphical programming building block generates a control instruction for controlling the programmable hardware according to the motion information of the animation character, including:
Based on a preset conversion rule, the first graphical programming building block generates action information of programmable hardware according to the action information of the animation role;
the first graphical programming building block generates control instructions for controlling the programmable hardware according to the action information of the programmable hardware.
Optionally, the first object is programmable hardware, the second object is an animated character displayed on the programming software, and the animated character is controllable by the programming software.
Optionally, the programming software generates a control instruction for controlling the second target according to the acquired information of the first target, including:
The programming software obtains a second graphical programming building block, and the second graphical programming building block is used for controlling the animation role;
And the second graphical programming building block generates control instructions for controlling the animation roles according to the action information of the programmable hardware.
Optionally, the second graphical programming building block generates a control instruction for controlling the animated character according to the action information of the programmable hardware, including:
Based on a preset conversion rule, a second graphical programming building block generates action information of the animation character according to the action information of the programming hardware;
the second graphical programming building block generates control instructions for controlling the animated character based on the motion information of the animated character.
According to a second aspect of the present invention, there is provided a programming apparatus, the apparatus comprising:
the target information acquisition module is used for acquiring information of a first target, wherein the information of the first target at least comprises action information of the first target;
the instruction generation module is used for generating a control instruction for controlling the second target according to the acquired information of the first target;
and the instruction sending module is used for sending the generated control instruction to the second target.
Optionally, the instruction generating module includes an information converting module, where the information converting module is configured to generate the action information of the second target according to a preset conversion rule and the action information of the first target.
According to a third aspect of the present invention there is provided an electronic device comprising a processor and a memory storing a program executable by the processor, the program when executed by the processor implementing a method according to the first aspect of the present invention.
According to the method and the device for controlling the second target, the second target is controlled according to the action information of the first target, so that the second target can execute the same action as the first target, a set of programs are not required to be independently written to control the second target, the interaction relation between the first target and the second target can be intuitively displayed, the use of children without programming bases is facilitated, and the learning efficiency of the children can be effectively improved.
Other features of the present invention and its advantages will become apparent from the following detailed description of exemplary embodiments of the invention, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a block diagram of a programming system in accordance with an embodiment of the present invention.
FIG. 2 is a flow chart of a programming method in an embodiment of the invention.
Fig. 3 is a schematic diagram of an animated character and robot performing a lift action in an embodiment of the invention.
Fig. 4 is a schematic diagram of an animated character and a robot performing a movement action in an embodiment of the invention.
FIG. 5 is a functional block diagram of a programming apparatus according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of functional modules of an electronic device according to an embodiment of the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless it is specifically stated otherwise.
The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of exemplary embodiments may have different values.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
First, referring to fig. 1, an architecture of a programming system provided by an embodiment of the present invention will be described: the programming system includes a programming device and at least one programmable hardware communicatively coupled to the programming device.
In the programming system, the programming device is an electronic device on which programming software is installed, the programming device is a host computer of programmable hardware, and the programming device can control the programmable hardware and can write programs into the programmable hardware. The programmable hardware may execute instructions sent by the programming device, which may be written by the programming device and run the program. In the present invention, the programming software loaded by the programming apparatus may be graphic programming software, and the user may program by using the graphic programming building blocks.
Based on the above programming system, the embodiment of the present invention introduces a programming method, as shown in fig. 2, which includes steps S1-S3.
S1: the programming software obtains information of a first target, wherein the information of the first target at least comprises action information of the first target.
S2: and the programming software generates a control instruction for controlling the second target according to the acquired information of the first target.
S3: the programming software sends the control instruction to the second target.
According to the invention, the second target is controlled according to the action information of the first target, so that the second target executes the same action as the first target, and a set of program is not required to be independently written to control the second target, so that the interaction relation between the first target and the second target can be intuitively displayed, the use of children without programming foundation is facilitated, and the learning efficiency of the children can be effectively improved.
In an embodiment of the present invention, the first object is an animated character displayed on the programming software, the animated character is controllable by the programming software, and the second object is programmable hardware.
As shown in FIG. 3, in one example, the programming software has an animation display region within which the animated character 1 is displayed, and a user can control the motion of the animated character 1, e.g., control the animated character 1 to move, change the pose of the animated character 1, by the programming software. The programmable hardware may be a robot 2 by means of which a user can control the movements of the robot 2.
For example, the programming software sends a "raise" control command to the animated character, and after animated character 1 performs a raise action, both hands of animated character 1 are raised. The programming software generates control instructions according to the hand-lifting action of the animated character 1. The programming software transmits the control command to the robot 2, and after the robot 2 receives the control command, the robot 2 also performs a hand lifting action, and both hands of the robot 2 are lifted similarly.
According to the invention, the robot is controlled to execute the same action according to the action of the animation role, so that the linkage between the animation role and the robot is realized, the control mode of the robot is simplified, the robot can be controlled by children without writing a complex robot control program, and the learning difficulty of the children is reduced.
In the embodiment of the present invention, the step S2 includes steps S211 to S212.
S211: the programming software obtains a first patterned programmed building block that is used to control the programmable hardware.
S212: the first graphical programming building block generates control instructions for controlling the programmable hardware according to the motion information of the animated character.
As shown in fig. 4, in one example, the programmable hardware is a robot 2, and a first patterned programmed block capable of controlling the operation of the robot 2 is provided in the programming software, and the animated character 1 is two-dimensional and movable in the horizontal direction. The programming software sends a control instruction of 'moving' to the animation character, wherein the 'moving' control instruction has the moving distance and the moving direction of the animation character, the programming software generates a control instruction for controlling the robot 2 to move through the first graphical programming building block, and the robot 2 starts to move after receiving the control instruction. For example, the animated character 1 moves to the right and so does the robot 2.
According to the invention, the action information of the animation roles is transmitted between the animation roles and the robot by using the first graphical programming building block, so that a user does not need to write an extra program, the animation roles are convenient for children without programming experience to use, and the learning efficiency of the children is effectively improved.
In an embodiment of the present invention, the step S212 includes steps S2121-S2122.
S2121: based on a preset conversion rule, the first graphical programming building block generates action information of programmable hardware according to the action information of the animation role.
S2122: the first graphical programming building block generates control instructions for controlling the programmable hardware according to the action information of the programmable hardware.
In the actual programming process, the moving distance of the animation character cannot be directly set as the moving distance of the robot because the animation character moves on the screen and the robot moves in the real space, and the moving distance of the animation character needs to be converted according to a preset conversion rule to be converted into the distance required to be moved by the robot. Since the animated character is moving in the horizontal direction, the movable section of the animated character on the screen can be set to 10 units long, assuming that the moving track length of the robot in reality is 20m, if the animated character is moved 2 units long on the screen, the robot moving distance is 4m.
Likewise, the moving direction of the animated character can also be switched. For example, an animated character moves left and right on a screen, while a robot can move in the east-west direction in real space. Then the robot can be controlled to move to the west when the animated character moves to the left; and when the animation character moves rightwards, the robot is controlled to move eastern.
The invention can accurately control the action of the programmable hardware by generating the action information of the programmable hardware according to the action information of the animation character, and ensure the synchronization of the animation character and the programmable hardware in executing the action. Meanwhile, the realization mode is simple, and the children can understand the device conveniently.
In the embodiment of the invention, the first target is programmable hardware, the second target is an animation character displayed on the programming software, and the animation character can be controlled by the programming software.
In one example, the programming software has an animation display region within which the animated character is displayed, and the user can control the action of the animated character, such as controlling the animated character to move, changing the pose of the animated character, through the programming software. The programmable hardware may be a robot through which a user may control the robot actions.
For example, after the robot performs the lifting action, the right hand of the robot is lifted, the programming software obtains the lifting action of the robot, generates a control instruction according to the lifting action of the robot, and controls the animated character to perform the lifting action according to the control instruction, and the lifted hand of the animated character is also the right hand.
According to the invention, the same actions are executed by the animation roles according to the actions of the robot, so that the linkage between the animation roles and the robot is realized, the actions executed by the robot are intuitively displayed on the screen by the animation roles, the knowledge of children on the robot is deepened, and the learning of children is facilitated.
In the embodiment of the present invention, the step S2 includes steps S221 to S222.
S221: the programming software obtains a second graphical programming building block for controlling the animated character.
S222: and the second graphical programming building block generates control instructions for controlling the animation roles according to the action information of the programmable hardware.
In one example, the animated character is two-dimensional, movable in a horizontal direction, and a second graphical programming block is provided within the programming software that controls the animated character. The programmable hardware is a robot that can be controlled by programming software. After the robot moves, the programming software obtains the moving distance and the moving direction of the robot, a control instruction for controlling the animation role is generated through the second graphical programming building block, the second graphical programming building block can generate the distance of the animation role to be moved according to the moving distance of the robot, and the animation role starts to move after receiving the control instruction. Such as the robot moving to the right, the animated character also moves to the right.
In the embodiment of the present invention, the step S222 includes steps S2221-S2222.
S2221: based on a preset conversion rule, the second graphical programming building block generates motion information of the animation roles according to the motion information of the programming hardware.
S2222: the second graphical programming building block generates control instructions for controlling the animated character based on the motion information of the animated character.
In one example, the programmable hardware is a robot. In the actual programming process, the robot moves in the real space, so that the moving distance of the robot cannot be directly set as the moving distance of the animation character, the moving distance of the robot needs to be converted according to a preset conversion rule, and the moving distance of the robot is converted into the distance required to move by the animation character. Assuming that the moving track length of the robot in reality is 20m and the movable section of the animated character on the screen is 10 unit lengths, if the robot moves by 4m in reality, the animated character moves by 2 unit lengths on the screen.
Likewise, the direction of movement of the robot may be switched. For example, the robot may move in the east-west direction in the display space, and the animated character may move left and right on the screen. Then the animated character may be controlled to move to the left as the robot moves to the west; the animated character may be controlled to move to the right as the robot moves to the east.
In one example, when the robot moves in real space, the robot can move along eight directions of east, northeast, north, northwest, west, southwest, south and southeast, and the animation character can move along eight directions of right, upper left, lower right and lower right on the screen, the eight directions of the robot movement respectively correspond to the eight directions of the animation character movement, and the movement direction of the animation character can be determined according to the movement direction of the robot.
According to the invention, the action information of the animation character is generated according to the action information of the programmable hardware, so that the action of the animation character can be accurately controlled, the synchronization of the animation character and the programmable hardware in executing the action is ensured, the action of the programmable hardware is displayed on a screen in real time through the animation character, and the children can conveniently understand the action.
The programming software is also provided with an animation programming area and a hardware programming area, a plurality of graphical programming building blocks related to animation programming are arranged in the animation programming area, and a user controls the animation roles by using the graphical programming building blocks related to animation programming. Within the hardware programming area are located a plurality of patterned programming building blocks associated with hardware programming by which a user controls programmable hardware. The user can control only the animated character through the programming software, can control only the programmable hardware through the programming software, or can control the animated character and the programmable hardware simultaneously.
When the user controls only the animated character through the programming software, the user selects a graphical programming building block associated with the animated programming in the animated programming zone. For example, when the user selects the "moving animated character" graphically programmed building block, the moving distance, moving speed, and moving direction of the animated character are set, and the programming software runs the "moving animated character" graphically programmed building block set by the user, the animated character moves at the moving speed and moving direction set by the user, and the animated character stops moving after moving the moving distance set by the user. Or the user can set the target coordinates and the moving speed through the graphical programming building block, when the programming software runs the graphical programming building block set by the user, the animation character moves to the target coordinates according to the moving speed set by the user, and the movement is stopped after the animation character moves to the target coordinates.
When the user controls only the programmable hardware through the programming software, the user selects a graphical programming building block associated with the hardware programming in the hardware programming region. For example, the programmable hardware is a robot, the user selects a "mobile robot" graphically-programmed building block, the moving distance, moving speed and moving direction of the robot are set, and when the "mobile robot" graphically-programmed building block set by the user is operated, the programming software sends a control instruction to the robot, and the robot moves according to the moving distance, moving speed and moving direction set by the user.
When a user controls the animated character and the programmable hardware simultaneously through the programming software, a connection between the programming software and the programmable hardware is first established. The user then mixes the graphical programming building blocks associated with the animation programming with the graphical programming building blocks associated with the hardware programming while controlling the animation character and the programmable hardware.
As shown in fig. 5, an embodiment of the present invention introduces a programming apparatus 200, the programming apparatus 200 comprising:
The target information obtaining module 201 is configured to obtain information of a first target, where the information of the first target includes at least action information of the first target.
The instruction generating module 202 is configured to generate a control instruction for controlling the second target according to the acquired information of the first target.
The instruction sending module 203 is configured to send the generated control instruction to the second target.
In one embodiment of the present invention, the instruction generating module includes an information converting module, where the information converting module is configured to generate the action information of the second target according to a preset conversion rule and the action information of the first target.
As shown in fig. 6, an embodiment of the present invention introduces an electronic device 300, including a processor 301 and a memory 302, where the memory 302 stores a program executable by the processor 301, and the program implements the programming method described in any embodiment of the present invention when executed by the processor 301.
The present invention may be a system, method, and/or computer program product. The computer program product may include a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: portable computer disks, hard disks, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static Random Access Memory (SRAM), portable compact disk read-only memory (CD-ROM), digital Versatile Disks (DVD), memory sticks, floppy disks, mechanical coding devices, punch cards or in-groove structures such as punch cards or grooves having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, are not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., optical pulses through fiber optic cables), or electrical signals transmitted through wires.
The computer readable program instructions described herein may be downloaded from a computer readable storage medium to a respective computing/processing device or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing/processing device.
Computer program instructions for carrying out operations of the present invention may be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as SMALLTALK, C ++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing electronic circuitry, such as programmable logic circuitry, field Programmable Gate Arrays (FPGAs), or Programmable Logic Arrays (PLAs), with state information for computer readable program instructions, which can execute the computer readable program instructions.
Various aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are all equivalent.
The foregoing description of embodiments of the invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the technical improvement of the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (9)

1. A programming method, wherein the programming method is applied to graphical programming software, the method comprising:
The method comprises the steps that programming software obtains information of a first target, wherein the information of the first target at least comprises action information of the first target;
The programming software generates a control instruction for controlling the second target according to the acquired information of the first target;
the programming software sends the control instructions to the second target,
Wherein the programming software controls the second target according to the action information of the first target, so that the second target executes the same action as the first target,
The programming software generates a control instruction for controlling a second target according to the acquired information of the first target, and the control instruction comprises the following steps:
The programming software obtains a graphical programming building block of a first target, wherein the graphical programming building block of the first target is used for controlling the second target;
Based on a preset conversion rule, the graphical programming building block of the first target generates action information of the second target according to the action information of the first target;
the graphical programming building block of the first target generates a control instruction for controlling the second target according to the action information of the second target.
2. The method of claim 1, wherein the first object is an animated character displayed on the programming software, the animated character being controllable by the programming software, and the second object is programmable hardware.
3. The method of claim 2, wherein the programming software generates control instructions for controlling a second target based on the acquired information of the first target, comprising:
the programming software obtains a first graphical programming building block, and the first graphical programming building block is used for controlling the programmable hardware;
The first graphical programming building block generates control instructions for controlling the programmable hardware according to the motion information of the animated character.
4. The method of claim 3, wherein the first graphical programming block generates control instructions for controlling the programmable hardware based on motion information of an animated character, comprising:
Based on a preset conversion rule, the first graphical programming building block generates action information of programmable hardware according to the action information of the animation role;
the first graphical programming building block generates control instructions for controlling the programmable hardware according to the action information of the programmable hardware.
5. The method of claim 1, wherein the first object is programmable hardware and the second object is an animated character displayed on the programming software, the animated character being controllable by the programming software.
6. The method of claim 5, wherein the programming software generating control instructions for controlling a second target based on the acquired information of the first target comprises:
The programming software obtains a second graphical programming building block, and the second graphical programming building block is used for controlling the animation role;
And the second graphical programming building block generates control instructions for controlling the animation roles according to the action information of the programmable hardware.
7. The method of claim 6, wherein the second graphical programming block generates control instructions for controlling the animated character based on the action information of the programmable hardware, comprising:
Based on a preset conversion rule, a second graphical programming building block generates action information of the animation character according to the action information of the programming hardware;
the second graphical programming building block generates control instructions for controlling the animated character based on the motion information of the animated character.
8. A programming apparatus programmed according to the method of any one of claims 1-7, said apparatus comprising:
the target information acquisition module is used for acquiring information of a first target, wherein the information of the first target at least comprises action information of the first target;
the instruction generation module is used for generating a control instruction for controlling the second target according to the acquired information of the first target;
an instruction sending module for sending the generated control instruction to the second target,
The device controls a second target according to the action information of the first target, so that the second target executes the same action as the first target, and the instruction generation module comprises an information conversion module, wherein the information conversion module is used for generating the action information of the second target according to a preset conversion rule and the action information of the first target.
9. An electronic device comprising a processor and a memory, the memory storing a program executable by the processor, the program when executed by the processor implementing the method of any one of claims 1-7.
CN202210429475.7A 2022-04-22 2022-04-22 Programming method and device and electronic equipment Active CN115223423B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210429475.7A CN115223423B (en) 2022-04-22 2022-04-22 Programming method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210429475.7A CN115223423B (en) 2022-04-22 2022-04-22 Programming method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN115223423A CN115223423A (en) 2022-10-21
CN115223423B true CN115223423B (en) 2024-04-16

Family

ID=83607532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210429475.7A Active CN115223423B (en) 2022-04-22 2022-04-22 Programming method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115223423B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2208584A1 (en) * 2009-01-14 2010-07-21 GFRT - Fortschrittliche Robotertechnologie GmbH & Co. KG Method and device for controlling industrial robots
CN105479468A (en) * 2015-12-29 2016-04-13 浙江瑞鹏机器人科技有限公司 Remote robot motion controller
CN106774118A (en) * 2016-12-20 2017-05-31 上海新时达电气股份有限公司 Robot manipulation's box and operating system
CN207037373U (en) * 2017-08-22 2018-02-23 泰州市江南教学仪器设备有限公司 A kind of programmable robot for facilitating adolescents with learning to program
CN108508762A (en) * 2018-04-09 2018-09-07 重庆鲁班机器人技术研究院有限公司 A kind of simulated experiment construction method and device
CN110465951A (en) * 2018-05-11 2019-11-19 西门子股份公司 For the method for robotic programming, equipment, computer-readable storage medium and computer program
CN111880783A (en) * 2020-07-01 2020-11-03 腾讯科技(深圳)有限公司 Equipment control method, system, electronic equipment and storage medium
CN113419483A (en) * 2021-07-06 2021-09-21 乐聚(深圳)机器人技术有限公司 Method and device for displaying equipment state, terminal and storage medium
CN113570944A (en) * 2021-05-17 2021-10-29 海南师范大学 Intelligent teaching aid control system and method for building block programming learning

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2208584A1 (en) * 2009-01-14 2010-07-21 GFRT - Fortschrittliche Robotertechnologie GmbH & Co. KG Method and device for controlling industrial robots
CN105479468A (en) * 2015-12-29 2016-04-13 浙江瑞鹏机器人科技有限公司 Remote robot motion controller
CN106774118A (en) * 2016-12-20 2017-05-31 上海新时达电气股份有限公司 Robot manipulation's box and operating system
CN207037373U (en) * 2017-08-22 2018-02-23 泰州市江南教学仪器设备有限公司 A kind of programmable robot for facilitating adolescents with learning to program
CN108508762A (en) * 2018-04-09 2018-09-07 重庆鲁班机器人技术研究院有限公司 A kind of simulated experiment construction method and device
CN110465951A (en) * 2018-05-11 2019-11-19 西门子股份公司 For the method for robotic programming, equipment, computer-readable storage medium and computer program
CN111880783A (en) * 2020-07-01 2020-11-03 腾讯科技(深圳)有限公司 Equipment control method, system, electronic equipment and storage medium
CN113570944A (en) * 2021-05-17 2021-10-29 海南师范大学 Intelligent teaching aid control system and method for building block programming learning
CN113419483A (en) * 2021-07-06 2021-09-21 乐聚(深圳)机器人技术有限公司 Method and device for displaying equipment state, terminal and storage medium

Also Published As

Publication number Publication date
CN115223423A (en) 2022-10-21

Similar Documents

Publication Publication Date Title
De Giorgio et al. Human-machine collaboration in virtual reality for adaptive production engineering
Li et al. ROS-based indoor autonomous exploration and navigation wheelchair
RU2011101944A (en) SYSTEMS AND METHODS FOR IMMERSIVE INTERACTION WITH VALID AND / OR SIMULATED TECHNICAL MEANS FOR CONTROLLING A TECHNOLOGICAL PROCESS, ENVIRONMENTAL CONTROL AND INDUSTRIAL PRODUCTION
JP6647867B2 (en) Method, system and computer readable storage medium for generating animated motion sequences
JP5141876B2 (en) Orbit search device
CN115223423B (en) Programming method and device and electronic equipment
Rieger et al. Conquering the Mobile Device Jungle: Towards a Taxonomy for App-enabled Devices.
CN109857258B (en) Virtual remote control method, device and system
Salim et al. Form fostering: A novel design approach for interacting with parametric models in the embodied virtuality
CN106681498A (en) Implement method and device of making virtual reality scene directly facing user and virtual reality equipment
CN116518973A (en) Robot vision language navigation method suitable for real indoor environment
Khan ROS-based control of a manipulator arm for balancing a ball on a plate
Raje Evaluation of ros and gazebo simulation environment using turtlebot3 robot
JP2021530008A (en) Methods, devices and control systems for controlling mobile robots
Solvang et al. On industrial robots and cognitive info-communication
Park et al. Development of Digital twin for Plug-and-Produce of a Machine tending system through ISO 21919 interface
Jia et al. Collision detection based on augmented reality for construction robot
CN114571443A (en) System and method for teaching robot motion through mobile terminal wireless control low code
CN108804098A (en) A kind of click drawing type programmable control method and its software systems
Hosseini et al. Immersive Interaction in Digital Factory: Metaverse in Manufacturing
Duval et al. Embedding the features of the users' physical environments to improve the feeling of presence in collaborative Virtual Environments
Behzadan et al. Enabling smooth and scalable dynamic 3D visualization of discrete-event construction simulations in outdoor augmented reality
JP2009048396A (en) Simulator of motor motion
Kim et al. Metaphor-A tool for designing the next generation of human-building interaction
Stone et al. 1Augmented Reality Interface For Industrial Robot Controllers

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant