CN109766087B - Method and system for programming through coordinates - Google Patents

Method and system for programming through coordinates Download PDF

Info

Publication number
CN109766087B
CN109766087B CN201910031996.5A CN201910031996A CN109766087B CN 109766087 B CN109766087 B CN 109766087B CN 201910031996 A CN201910031996 A CN 201910031996A CN 109766087 B CN109766087 B CN 109766087B
Authority
CN
China
Prior art keywords
coordinates
machine equipment
programming
map
path
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
CN201910031996.5A
Other languages
Chinese (zh)
Other versions
CN109766087A (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.)
Shenzhen Qianqian Programming Technology Co ltd
Original Assignee
Shenzhen Qianqian Programming 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 Shenzhen Qianqian Programming Technology Co ltd filed Critical Shenzhen Qianqian Programming Technology Co ltd
Priority to CN201910031996.5A priority Critical patent/CN109766087B/en
Publication of CN109766087A publication Critical patent/CN109766087A/en
Application granted granted Critical
Publication of CN109766087B publication Critical patent/CN109766087B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Toys (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

The invention discloses a method and a system for programming through coordinates. Wherein the method comprises the following steps: setting a marking coordinate on a map, reading a two-dimensional coordinate of the machine equipment according to the marking coordinate set on the map, programming a traveling path of the machine equipment according to the read two-dimensional coordinate of the machine equipment, and controlling the machine equipment to travel and interact according to the path corresponding to the programming according to the programming of the traveling path of the machine equipment. By the aid of the mode, the control mode of the machine equipment can be conveniently operated, the cost is low, and the space for children to create is large.

Description

Method and system for programming through coordinates
Technical Field
The invention relates to the technical field of machine equipment, in particular to a method and a system for programming through coordinates.
Background
The programming mode of machine equipment such as robots and similar products in the existing market is that the machine equipment is controlled to move and interact by sending fixed instructions such as forward, backward, left-turn, right-turn, stop and the like, or route identification and interaction are carried out by infrared line patrol, so that movement control and interaction are realized. The movement control and interaction of the realization are generally based on the recognition of a drawn line by a camera or an infrared recognition probe, and the control and interaction can be realized only by the line which is drawn in advance or spliced.
Disclosure of Invention
In view of the above, the present invention provides a method and a system for programming through coordinates, which can realize a convenient operation of a control mode of a machine device, have a low cost, and provide a large space for a child to create.
According to an aspect of the present invention, there is provided a method of programming by coordinates, comprising:
setting a labeling coordinate on a map;
reading the two-dimensional coordinates of the machine equipment according to the labeling coordinates set on the map;
programming a traveling path of the machine equipment according to the read two-dimensional coordinates of the machine equipment;
and controlling the machine equipment to carry out path traveling and interaction according to the programmed path according to the programming of the traveling path of the machine equipment.
Wherein, the setting of the labeling coordinate on the map comprises:
the labeling coordinates are set on the map in such a manner that each 64 pixels of the coordinate code X-axis is a unit, and each 65 pixels of the coordinate code Y-axis is a unit.
Wherein, according to the labeling coordinate set on the map, reading the two-dimensional coordinate of the machine equipment, and the method comprises the following steps:
and reading the two-dimensional coordinates of the machine equipment through an identifier combined with the machine equipment according to the set labeling coordinates on the map.
Wherein the programming the travel path of the machine device according to the read two-dimensional coordinates of the machine device comprises:
and according to the read two-dimensional coordinates of the machine equipment, a coordinate path is circled on the set labeling coordinates on the map in a software mode, and the traveling path of the machine equipment is programmed.
Wherein, the controlling the machine equipment to proceed path proceeding and interaction according to the programmed path according to the programming of the proceeding path of the machine equipment comprises:
and according to the programming of the traveling path of the machine equipment, converting the corresponding pixel points on the set marking coordinates on the map into a series of coordinates, analyzing the series of coordinates by software to obtain a control instruction, sending the obtained control instruction to the machine equipment through a wireless signal, and controlling the machine equipment to travel and interact according to the path corresponding to the programming.
According to another aspect of the present invention, there is provided a system for programming by coordinates, comprising:
the device comprises a building unit, a reading unit, a programming unit and a control unit;
the establishing unit is used for setting a marking coordinate on a map;
The reading unit is used for reading the two-dimensional coordinates of the machine equipment according to the labeling coordinates set on the map;
the programming unit is used for programming a traveling path of the machine equipment according to the read two-dimensional coordinates of the machine equipment;
and the control unit is used for controlling the machine equipment to carry out path travelling and interaction according to the programmed path according to the programming of the travelling path of the machine equipment.
Wherein, the establishing unit is specifically configured to:
and setting marking coordinates on the map in a mode that every 6 pixels on the X axis of the coordinate code are taken as a unit, and every 65 pixels on the Y axis of the coordinate code are taken as a unit.
Wherein, the reading unit is specifically configured to:
and reading the two-dimensional coordinates of the machine equipment through an identifier combined with the machine equipment according to the set labeling coordinates on the map.
Wherein, the programming unit is specifically configured to:
and according to the read two-dimensional coordinates of the machine equipment, a coordinate path is circled on the set labeling coordinates on the map in a software mode, and the traveling path of the machine equipment is programmed.
Wherein, the control unit is specifically configured to:
and according to the programming of the traveling path of the machine equipment, converting the corresponding pixel points on the set marking coordinates on the map into a series of coordinates, analyzing the series of coordinates by software to obtain a control instruction, sending the obtained control instruction to the machine equipment through a wireless signal, and controlling the machine equipment to travel and interact according to the path corresponding to the programming.
It can be found that, according to the above scheme, the labeling coordinate can be set on the map, and then the two-dimensional coordinate of the machine equipment is read according to the labeling coordinate set on the map, and then the traveling path of the machine equipment is programmed according to the read two-dimensional coordinate of the machine equipment, and then the machine equipment is controlled to travel and interact according to the path corresponding to the programming according to the programming performed on the traveling path of the machine equipment, so that the control mode of the machine equipment can be conveniently operated, the cost is low, and the space created by the child can be played is large.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram illustrating one embodiment of a method for programming by coordinates of the present invention;
FIG. 2 is a schematic diagram of an embodiment of a system for programming by coordinates according to the present invention;
FIG. 3 is a schematic structural diagram of another embodiment of the system for programming by coordinates according to the present invention.
Detailed Description
The invention is described in further detail below with reference to the figures and examples. It is to be noted that the following examples are only illustrative of the present invention, and do not limit the scope of the present invention. Similarly, the following examples are only some but not all examples of the present invention, and all other examples obtained by those skilled in the art without any inventive work are within the scope of the present invention.
The invention provides a method for programming through coordinates, which can realize convenient operation of a control mode of machine equipment, has lower cost and can create a large space for children to play.
Referring to fig. 1, fig. 1 is a schematic flow chart of an embodiment of a method for programming through coordinates according to the present invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in fig. 1 if the results are substantially the same. As shown in fig. 1, the method comprises the steps of:
S101: and setting marking coordinates on the map.
Wherein, the setting of the annotation coordinate on the map may include:
and setting the marked coordinates on the map in a mode that every 64 pixels of the coordinate code X axis are taken as a unit, and every 65 pixels of the coordinate code Y axis are taken as a unit.
S102: and reading the two-dimensional coordinates of the machine equipment according to the set labeling coordinates on the map.
Wherein, the reading the two-dimensional coordinates of the machine device according to the labeled coordinates set on the map may include:
and reading the two-dimensional coordinates of the machine equipment through an identifier combined with the machine equipment according to the marked coordinates set on the map.
S103: and programming the traveling path of the machine equipment according to the read two-dimensional coordinates of the machine equipment.
Wherein the programming the traveling path of the machine device according to the read two-dimensional coordinates of the machine device may include:
and according to the read two-dimensional coordinates of the machine equipment, a coordinate path is circled on the labeling coordinates set on the map in a software mode, and the traveling path of the machine equipment is programmed.
S104: and controlling the machine equipment to travel and interact according to the programmed path according to the programming of the travel path of the machine equipment.
Wherein, should carry out the programming according to the route of should advancing to this machine equipment, control this machine equipment to carry out route travel and interaction according to this programmed route of correspondence, can include:
according to the programming of the traveling path of the machine equipment, converting the corresponding pixel points on the set marking coordinates on the map into a series of coordinates, analyzing the series of coordinates by software to obtain a control instruction, sending the obtained control instruction to the machine equipment through a wireless signal, and controlling the machine equipment to travel and interact according to the path corresponding to the programming.
In this embodiment, the coordinates can be read through the identifier combined with the machine device for programming, the travel route of the machine device can be freely programmed by circling the coordinate path on the software during programming, and the interaction along the way can be defined only by circling on the software. The whole system is convenient to operate, high in flexibility, simple in system integration and low in cost, and can be used for children to freely exert creativity for programming.
In this embodiment, can carry out this mechanical equipment mobility control through discernment head discernment coordinate code, route and interactive all realize through software, easy operation, and the system is small, and the integrated level is high, and is with low costs.
In the embodiment, the bottom code of each map is a pixel point invisible to naked eyes, each 64 pixels of an X axis of a coordinate code is a unit, each 65 pixels of a Y axis of the coordinate code is a unit, and when a route of X and Y coordinates on software is established, the pixel points are converted into a series of coordinates, and the coordinates are analyzed by the software and then sent to a trolley to become a control instruction. When adding the interdynamic, will predetermine the different instructions of big or small cell definition, discern the passback through the discernment head and give the high in the clouds, give other modules like light, motor realization control by high in the clouds rethread wireless signal send instruction.
It can be found that, in this embodiment, a label coordinate may be set on a map, and then a two-dimensional coordinate of the machine device may be read according to the label coordinate set on the map, and then a travel path of the machine device may be programmed according to the read two-dimensional coordinate of the machine device, and then the machine device may be controlled to travel and interact according to the path corresponding to the programming according to the programming performed on the travel path of the machine device, so that convenience in operation of a control mode of the machine device may be achieved, the cost is low, and a large space for a child to create may be provided.
The invention also provides a system for programming through coordinates, which can realize convenient operation of a control mode of the machine equipment, has lower cost and can create a large space for children to play.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an embodiment of a system for programming by coordinates according to the present invention. In the present embodiment, the system 20 for programming by coordinates includes a setup unit 21, a reading unit 22, a programming unit 23, and a control unit 24.
The establishing unit 21 is configured to set the labeling coordinates on the map.
The reading unit 22 is configured to read the two-dimensional coordinates of the machine device according to the labeled coordinates set on the map.
The programming unit 23 is configured to program the travel path of the machine device according to the read two-dimensional coordinates of the machine device.
The control unit 24 is configured to control the machine device to travel and interact according to the programmed path according to the programming of the travel path of the machine device.
Optionally, the establishing unit 21 may be specifically configured to:
the labeling coordinates are set on the map in such a manner that each 64 pixels of the coordinate code X-axis is a unit, and each 65 pixels of the coordinate code Y-axis is a unit.
Optionally, the reading unit 22 may be specifically configured to:
and reading the two-dimensional coordinates of the machine equipment through an identifier combined with the machine equipment according to the marked coordinates set on the map.
Optionally, the programming unit 23 may be specifically configured to:
and according to the read two-dimensional coordinates of the machine equipment, a coordinate path is circled on the labeling coordinates set on the map in a software mode, and the traveling path of the machine equipment is programmed.
Optionally, the control unit 24 may be specifically configured to:
according to the programming of the traveling path of the machine equipment, converting the corresponding pixel points on the set marking coordinates on the map into a series of coordinates, analyzing the series of coordinates by software to obtain a control instruction, sending the obtained control instruction to the machine equipment through a wireless signal, and controlling the machine equipment to travel and interact according to the path corresponding to the programming.
Each unit module of the system 20 programmed by coordinates can respectively execute the corresponding steps in the above method embodiments, and therefore, the detailed description of each unit module is omitted here, and please refer to the description of the corresponding steps above.
Referring to fig. 3, fig. 3 is a schematic structural diagram of another embodiment of the system for programming by coordinates according to the present invention. The unit modules of the system programmed by coordinates can respectively execute the corresponding steps in the above method embodiments. For a detailed description of the above method, please refer to the above method, which is not repeated herein.
In this embodiment, the system for programming by coordinates includes: a processor 51, a memory 52 coupled to the processor 51, a programmer 53, and a controller 54.
The processor 51 is configured to set a labeling coordinate on the map, and read a two-dimensional coordinate of the machine device according to the labeling coordinate set on the map.
The memory 52 is used for storing an operating system, instructions executed by the processor 51, and the like.
The programmer 53 is configured to program the travel path of the machine device according to the read two-dimensional coordinates of the machine device.
The controller 54 is configured to control the machine device to travel and interact according to the programmed path according to the programming of the travel path of the machine device.
Optionally, the processor 51 may be specifically configured to:
the labeling coordinates are set on the map in such a manner that each 64 pixels of the coordinate code X-axis is a unit, and each 65 pixels of the coordinate code Y-axis is a unit.
Optionally, the processor 51 may be specifically configured to:
and reading the two-dimensional coordinates of the machine equipment through an identifier combined with the machine equipment according to the marked coordinates set on the map.
Optionally, the programmer 53 may be specifically configured to:
and according to the read two-dimensional coordinates of the machine equipment, a coordinate path is circled on the labeling coordinates set on the map in a software mode, and the traveling path of the machine equipment is programmed.
Optionally, the controller 54 may be specifically configured to:
according to the programming of the travelling path of the machine equipment, converting the pixel points corresponding to the marking coordinates set on the map into a series of coordinates, analyzing the coordinates through software to obtain a control instruction, sending the obtained control instruction to the machine equipment through a wireless signal, and controlling the machine equipment to travel and interact according to the path corresponding to the programming.
It can be found that, according to the above scheme, the labeling coordinate can be set on the map, and then the two-dimensional coordinate of the machine equipment is read according to the labeling coordinate set on the map, and then the traveling path of the machine equipment is programmed according to the two-dimensional coordinate of the machine equipment which is read, and then the machine equipment is controlled to travel and interact according to the path corresponding to the programming according to the programming of the traveling path of the machine equipment, so that the control mode of the machine equipment can be conveniently operated, the cost is low, and the space created by children can be large.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be substantially or partially implemented in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
The above description is only a part of the embodiments of the present invention, and not intended to limit the scope of the present invention, and all equivalent devices or equivalent processes performed by the present invention through the contents of the specification and the drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (4)

1. A method of programming by coordinates, comprising:
setting a labeling coordinate on a map;
the setting of the annotation coordinate on the map comprises the following steps:
setting marking coordinates on a map in a mode that every 64 pixels of an X axis of a coordinate code are taken as a unit, and every 65 pixels of a Y axis of the coordinate code are taken as a unit;
reading a two-dimensional coordinate of the machine equipment according to the set labeling coordinate on the map;
the reading of the two-dimensional coordinates of the machine equipment according to the labeling coordinates set on the map includes:
reading the two-dimensional coordinates of the machine equipment through an identifier combined with the machine equipment according to the set labeling coordinates on the map;
programming a traveling path of the machine equipment according to the read two-dimensional coordinates of the machine equipment;
the programming the traveling path of the machine device according to the read two-dimensional coordinates of the machine device comprises:
according to the read two-dimensional coordinates of the machine equipment, a coordinate path is circled on the marking coordinates set on the map in a software mode, and the traveling path of the machine equipment is programmed;
And controlling the machine equipment to carry out path traveling and interaction according to the programmed path according to the programming of the traveling path of the machine equipment.
2. The method for programming by coordinates of claim 1, wherein the controlling the machine device to travel and interact according to the programmed path of travel of the machine device according to the programming of the path of travel of the machine device comprises:
and according to the programming of the traveling path of the machine equipment, converting the corresponding pixel points on the set marking coordinates on the map into a series of coordinates, analyzing the series of coordinates by software to obtain a control instruction, sending the obtained control instruction to the machine equipment through a wireless signal, and controlling the machine equipment to travel and interact according to the path corresponding to the programming.
3. A system for programming by coordinates, comprising:
the device comprises a building unit, a reading unit, a programming unit and a control unit;
the establishing unit is used for setting a marking coordinate on a map;
the establishing unit is specifically configured to:
setting marking coordinates on a map in a mode that every 6 pixels on an X axis of a coordinate code are taken as a unit, and every 65 pixels on a Y axis of the coordinate code are taken as a unit;
The reading unit is used for reading the two-dimensional coordinates of the machine equipment according to the marking coordinates set on the map;
the reading unit is specifically configured to:
reading the two-dimensional coordinates of the machine equipment through an identifier combined with the machine equipment according to the set labeling coordinates on the map;
the programming unit is used for programming a traveling path of the machine equipment according to the read two-dimensional coordinates of the machine equipment;
the programming unit is specifically configured to:
according to the read two-dimensional coordinates of the machine equipment, a coordinate path is circled on the marking coordinates set on the map in a software mode, and the traveling path of the machine equipment is programmed;
and the control unit is used for controlling the machine equipment to carry out path travelling and interaction according to the programmed path according to the programming of the travelling path of the machine equipment.
4. System for programming by coordinates according to claim 3, characterized in that the control unit is particularly adapted to:
and according to the programming of the traveling path of the machine equipment, converting the corresponding pixel points on the set marking coordinates on the map into a series of coordinates, analyzing the series of coordinates by software to obtain a control instruction, sending the obtained control instruction to the machine equipment through a wireless signal, and controlling the machine equipment to travel and interact according to the path corresponding to the programming.
CN201910031996.5A 2019-01-14 2019-01-14 Method and system for programming through coordinates Active CN109766087B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910031996.5A CN109766087B (en) 2019-01-14 2019-01-14 Method and system for programming through coordinates

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910031996.5A CN109766087B (en) 2019-01-14 2019-01-14 Method and system for programming through coordinates

Publications (2)

Publication Number Publication Date
CN109766087A CN109766087A (en) 2019-05-17
CN109766087B true CN109766087B (en) 2022-06-10

Family

ID=66453684

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910031996.5A Active CN109766087B (en) 2019-01-14 2019-01-14 Method and system for programming through coordinates

Country Status (1)

Country Link
CN (1) CN109766087B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001036297A (en) * 1999-07-23 2001-02-09 Yamagata Casio Co Ltd Component mounting apparatus
CN101802879A (en) * 2007-04-03 2010-08-11 人类网络实验室公司 Method and apparatus for acquiring local position and overlaying information
CN104063291A (en) * 2014-07-14 2014-09-24 河北水木寰虹机器人科技有限公司 Programming robot control device
CN207950672U (en) * 2018-01-25 2018-10-12 智高实业股份有限公司 programming toy set

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001036297A (en) * 1999-07-23 2001-02-09 Yamagata Casio Co Ltd Component mounting apparatus
CN101802879A (en) * 2007-04-03 2010-08-11 人类网络实验室公司 Method and apparatus for acquiring local position and overlaying information
CN104063291A (en) * 2014-07-14 2014-09-24 河北水木寰虹机器人科技有限公司 Programming robot control device
CN207950672U (en) * 2018-01-25 2018-10-12 智高实业股份有限公司 programming toy set

Also Published As

Publication number Publication date
CN109766087A (en) 2019-05-17

Similar Documents

Publication Publication Date Title
US20220122260A1 (en) Method and apparatus for labeling point cloud data, electronic device, and computer-readable storage medium
CN109848985B (en) Robot graphic programming method and device and intelligent terminal
Asadi et al. Building an integrated mobile robotic system for real-time applications in construction
Boren et al. Exponential growth of ROS [ROS topics]
CN104516352A (en) Robot system for detecting rectangular target
CN109766087B (en) Method and system for programming through coordinates
Bräunl Robot adventures in Python and C
CN113601510B (en) Robot movement control method, device, system and equipment based on binocular vision
CN111399504A (en) AGV simulation method and device based on double-wheel drive and computer equipment
US20240077882A1 (en) Systems and methods for configuring a robot to scan for features within an environment
CN112613469A (en) Motion control method of target object and related equipment
CN206039295U (en) Automatic seek system of warehouse goods based on mobile robot
US11645778B2 (en) Apparatus and method for identifying and picking object using artificial intelligence algorithm
Simončič et al. Vision‐based control of a line‐tracing mobile robot
KR20200074340A (en) Smart Toy System Capable of Controlling Multiple Coding Sources
CN111399489A (en) Method and apparatus for generating information
CN109917781A (en) For dispatching the method, apparatus and system of automated guided vehicle
CN113758481A (en) Grid map generation method, device, system, storage medium and electronic equipment
CN112233208B (en) Robot state processing method, apparatus, computing device and storage medium
CN112546630A (en) Role moving method and device
CN111762498A (en) Movable indicating equipment, picking system, picking method and server
CN112414410A (en) Path generation method, device operation method and device control system
CN114019977B (en) Path control method and device for mobile robot, storage medium and electronic equipment
CN109515557A (en) Server carrier
CN116551664A (en) Robot, robot work docking method, and storage medium

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