CN108829241B - Motion capture device and node configuration method thereof - Google Patents

Motion capture device and node configuration method thereof Download PDF

Info

Publication number
CN108829241B
CN108829241B CN201810489953.7A CN201810489953A CN108829241B CN 108829241 B CN108829241 B CN 108829241B CN 201810489953 A CN201810489953 A CN 201810489953A CN 108829241 B CN108829241 B CN 108829241B
Authority
CN
China
Prior art keywords
node
switch group
configuring
node number
switch
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
CN201810489953.7A
Other languages
Chinese (zh)
Other versions
CN108829241A (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.)
Yungu Guan Technology Co Ltd
Original Assignee
Yungu Guan 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 Yungu Guan Technology Co Ltd filed Critical Yungu Guan Technology Co Ltd
Priority to CN201810489953.7A priority Critical patent/CN108829241B/en
Publication of CN108829241A publication Critical patent/CN108829241A/en
Application granted granted Critical
Publication of CN108829241B publication Critical patent/CN108829241B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality

Abstract

The invention provides a node configuration method of a motion capture device, wherein the motion capture device comprises a plurality of node devices, each node device comprises a switch group consisting of a plurality of switches; wherein the method comprises the following steps: and configuring corresponding node numbers according to the closing states of the switch groups of each node device, wherein the closing states of the switch groups of each node device are different. The node number of the node equipment is configured through the closing state of the switch group, and the node equipment configures the node number by itself, so that the communication between the node equipment and the master control system is reduced, and the workload of the master control system is reduced.

Description

Motion capture device and node configuration method thereof
Technical Field
The invention relates to the technical field of communication, in particular to a node configuration method of an inertial motion capture device and a motion capture device.
Background
The motion capture is that a tracker is arranged at a key position (namely a node) of a moving object, and data of three-dimensional space coordinates are obtained by capturing the position of the tracker and processing the tracker by a computer. After the data is identified by the computer, the method can be applied to the fields of animation production, gait analysis, biomechanics, human-machine engineering and the like. Each node has a unique node number to identify each network node device, so that the communication data can be correctly transmitted according to the node number. The initialization or node change of the inertial motion capture node is generally issued to each node by a computer host in a wireless or wired manner, and each node writes the issued node number into a memory or a global variable of the node, so that the computer host or other main processors are required to participate, the complexity of the system is increased, interactive confirmation is required, and the complexity of a communication protocol layer is increased.
Disclosure of Invention
In view of the above, embodiments of the present invention are directed to a node configuration method of a motion capture device to reduce the complexity of configuring a node number in the motion capture system.
According to an aspect of the present invention, an embodiment of the present invention provides a node configuration method for a motion capture apparatus, where the motion capture apparatus includes a plurality of node devices, where each of the node devices includes a switch group composed of a plurality of switches; wherein the method comprises the following steps: and configuring corresponding node numbers according to the closing states of the switch groups of each node device, wherein the closing states of the switch groups of each node device are different.
In an embodiment, the configuring, according to the closing state of the switch group of each node device, a corresponding node number includes: setting the closing states of the switch groups of the node devices to be different from each other; and configuring a corresponding node number according to the closing state of the switch group of each node device.
In an embodiment, the configuring, according to the closing state of the switch group of each node device, a corresponding node number includes: configuring an initial node number for the initial closed state of a switch group corresponding to the current node equipment; comparing the initial node number with the node numbers of other node devices; when the node number which is the same as the initial node number exists, changing the closing state of the switch group of the current node device so as to enable the closing state of the switch group of the current node device to be different from the closing state of the switch groups of other node devices; and configuring the node number of the current node equipment according to the changed closing state of the switch group.
In an embodiment, the configuring, according to the closed state of the switch group of each node device, a corresponding node number further includes: and when the node number identical to the initial node number does not exist, configuring the node number of the current node equipment as the initial node number.
In an embodiment, the method further comprises: when one or more of the switch groups needs to be replaced, the switch group is adjusted to the corresponding switch group of the node device before replacement.
In an embodiment, before configuring the corresponding node number according to the closed state of the switch group of each node device, the method further includes: and setting the input port and the output port of the corresponding node equipment to enter an interrupt mode.
In an embodiment, the interrupt mode comprises an edge triggered interrupt mode.
In one embodiment, the switch set comprises any one or more of the following switches in combination: a dial switch, a self-locking switch group and a knob switch group.
According to another method of the present invention, an embodiment of the present invention provides a motion capture apparatus, including: a plurality of node devices; the master control system is in communication connection with the node equipment; wherein the master control system is configured to perform the steps of the method as described above.
According to another method of the present invention, an embodiment of the present invention provides a motion capture apparatus, including: a plurality of node devices; the configuration modules are respectively in communication connection with the node devices; wherein the configuration module is configured to perform the steps of the method as described above.
According to the node configuration method of the motion capture device, the switch group is arranged at the node equipment, the node number of the node equipment is configured through the closing state of the switch group, the node equipment can configure the node number by itself, participation of a main control system is reduced, communication between the node equipment and the main control system is reduced, and workload of the main control system is reduced.
Drawings
FIG. 1 is a schematic structural diagram of a motion capture device according to an embodiment of the present invention.
FIG. 2 is a flowchart illustrating a node configuration method of a motion capture device according to an embodiment of the present invention.
FIG. 3 is a flowchart illustrating a node configuration method of a motion capture device according to another embodiment of the present invention.
FIG. 4 is a schematic structural diagram of a motion capture device according to another embodiment of the present invention.
FIG. 5 is a schematic structural diagram of a motion capture device according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
FIG. 1 is a schematic structural diagram of a motion capture device according to an embodiment of the present invention. The invention provides a node configuration method of a motion capture device, as shown in fig. 1, the motion capture device comprises a plurality of node devices, wherein each node device can comprise a switch group consisting of a plurality of switches. The configuration method comprises the following steps: and configuring corresponding node numbers according to the closing states of the respective switch groups of each node device, wherein the closing states of the switch groups of each node device are different. The node number configuration process is carried out by each node device, so that the information interaction between the node device and the main control system is reduced, and the workload of the main control system is reduced.
Specifically, as shown in fig. 2, the node number configuration method of the present invention includes the following steps:
step 201: and powering on the node equipment. And (4) turning on a power supply, powering on each node device, and preparing to configure a node number.
Step 202: the closed state of the switch group is read. The node devices read the closed or open state of the switches in the respective switch group.
Step 203: and configuring the node number of the node equipment according to the closing state of the switch group. And giving corresponding binary codes according to the closing or opening states of the switches in the switch groups of the node equipment. For example, a binary code of 1 for the closed state and 0 for the open state. Thus, according to the four switch states shown in FIG. 1: when the switch group is opened by K1, opened by K2, opened by K3, and closed by K4, the node number corresponding to the closed state of the switch group is 0001. And so on the node numbers corresponding to the closed states of other switch groups.
It should be understood that the present invention may also set the binary code of the closed state as 0 and the binary code of the open state as 1, and the present invention may also use other coding modes that can uniquely identify and distinguish the closed state of each switch group, and the coding mode of the closed state of the switch group is not limited in the present invention.
It should be understood that the present invention may select different numbers of switches in the switch group according to the applicable environment, the number of switches is only required to satisfy the use of the node number of the node device of the action step apparatus, and the number of switches included in the switch group is not limited by the present invention.
In an embodiment, the closing states of the respective switch groups of each node device may be set to be different, and the corresponding node numbers are configured according to the closing states of the respective switch groups of each node device. During initial setting, the closing state of the switch group corresponding to each node device may be set to be different, and after each node device is powered on, the node number of the node device is directly set according to the closing state of the respective switch group. The information interaction between the node equipment and the master control system is reduced, and the workload of the master control system is reduced.
In an embodiment, the node currently performing node number configuration is used as an object to describe the node configuration method, and for convenience of description, the node currently performing node number configuration is simply referred to as the current node device below. The initial node number may be configured for the initial closed state of the switch group corresponding to the current node device. And comparing the initial node number with the node numbers of other node devices, and changing the closing state of the switch group of the current node device when the node number identical to the initial node number exists so as to enable the closing state of the switch group of the current node device to be different from the closing state of the switch groups of other node devices. And configuring the node number of the current node equipment according to the changed closing state of the switch group.
In an embodiment, configuring a corresponding node number according to the closed state of the switch group of each node device further includes: and when the node number identical to the initial node number does not exist, configuring the node number of the current node equipment as the initial node number.
Specifically, as shown in fig. 3, the node number configuration method of the present invention adds steps 303 and 304 on the basis of the previous embodiment, wherein step 303 is disposed between step 202 and step 203, and the specific steps are as follows:
step 303: and judging whether node equipment in the same closed state exists or not, if so, turning to a step 304, and otherwise, turning to a step 203. The initial closed states of the switch groups may be the same, and thus, the node numbers configured according to the closed states of the initial switch groups may be duplicated. When the current node device is configured, an initial node number is configured according to the closing state of the initial switch group, the closing states of all other switch groups are compared, and the node number can be configured as the node number of the current node device only if the closing state of the switch group of the current node device is different from the closing states of the switch groups of other node devices. Through the comparison of the closed states, different node devices are prevented from being configured into the same node number, so that the accuracy and uniqueness of data transmission are avoided, and misoperation is avoided.
Step 304: the closed state of the switch group of the current node device is changed, and step 202 is performed. And when the same node number exists, changing the closing state of the switch group of the current node equipment so as to enable the closing state of the switch group of the current node equipment to be different from the closing state of the switch groups of other node equipment.
It should be understood that when the same node number exists, the closed state of the switch group of the current node device may be read again in step 202 after changing the closed state of the switch group of the current node device; and configuring the node number of the current node equipment according to the closing state of the switch group. The present invention may also be modified directly by manual work, so that the closed state of the switch group of the current node device is different from the closed state of the switch group of other node devices.
In one embodiment, when one or more switch groups need to be replaced, the closed state of the switch group after replacement is adjusted to the closed state of the switch group of the corresponding node device before replacement. The problem of in the past need change whole action capture device after breaking down is solved, can change one of them node equipment alone, change the operation more simply, nimble, also can reduce the waste of accessory simultaneously. When the damaged switch group or node equipment occurs and the switch group or node equipment needs to be replaced, the on-state of the switch group after replacement is only required to be adjusted to the on-state of the switch group before replacement.
In an embodiment, before configuring the corresponding node number according to the closed state of the switch group of each node device, the input port and the output port of the corresponding node device may be further set to enter the interrupt mode. Before the node equipment configures the node number, the input and output operations of the node equipment need to be interrupted, so that misoperation caused by data transmission errors due to the node number configuration is avoided.
In a further embodiment, the interrupt mode comprises an edge triggered interrupt mode. Namely, when the closed state of the switch group of the node device changes, the input and output of the corresponding node device are triggered to be interrupted. No matter the switch of the switch group is changed from the closed state to the open state or from the open state to the closed state, the input and output of the corresponding node equipment are triggered to be interrupted only when the closed state of the switch group of the node equipment is changed, and misoperation caused by data transmission errors due to node number configuration is avoided.
In one embodiment, the switch set comprises any one or more of the following switches in combination: a dial switch, a self-locking switch group and a knob switch group.
It should be understood that the present invention can select any one or more combinations of the following switches as the constituent units of the switch group according to the requirements of the practical application scenario: the dial switch, the self-locking switch group and the knob switch group are not limited in the invention as long as the switch of the switch group can realize unique coded identification.
According to another aspect of the present invention, another embodiment of the present invention provides a motion capture apparatus, as shown in fig. 4, including a plurality of node devices, and a master control system communicatively connected to the node devices; wherein the master control system is configured to perform the steps of the above method. The master control system controls each node device to carry out configuration operation of the node number, so that information interaction between the master control system and each node device is reduced, and the workload of the master control system is reduced.
According to another aspect of the present invention, another embodiment of the present invention provides a motion capture apparatus, as shown in fig. 5, including a plurality of node devices, and a plurality of configuration modules communicatively connected to the plurality of node devices, respectively; wherein the configuration module is configured to perform the steps of the above method. The configuration module controls each node device to carry out configuration operation of respective node number, and the configuration modules can be in communication connection, so that information interaction between the main control system and each node device is reduced, and the workload of the main control system is reduced.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and the like that are within the spirit and principle of the present invention are included in the present invention.

Claims (8)

1. A node configuration method of a motion capture apparatus, wherein the motion capture apparatus comprises a plurality of node devices, wherein each of the node devices comprises a switch group composed of a plurality of switches;
wherein the method comprises the following steps:
at each node device, configuring a corresponding node number according to the closing state of the switch group of each node device, wherein the closing state of the switch group of each node device is different;
when one or more node devices need to be replaced, the closed state of the switch group of the node device after replacement is adjusted to the closed state of the switch group of the node device before replacement at the node device by itself or manually.
2. The method of claim 1, wherein configuring the corresponding node number according to the closed state of the switch group of each node device comprises:
setting the closing states of the switch groups of the node devices to be different from each other; and
and configuring a corresponding node number according to the closing state of the switch group of each node device.
3. The method of claim 1, wherein configuring the corresponding node number according to the closed state of the switch group of each node device comprises:
configuring an initial node number for the initial closed state of a switch group corresponding to the current node equipment;
comparing the initial node number with the node numbers of other node devices; and
when the node number which is the same as the initial node number exists, changing the closing state of the switch group of the current node device so as to enable the closing state of the switch group of the current node device to be different from the closing states of the switch groups of other node devices; and
and configuring the node number of the current node equipment according to the changed closing state of the switch group.
4. The method of claim 3, wherein configuring the corresponding node number according to the closed state of the switch group of each of the node devices further comprises:
and when the node number identical to the initial node number does not exist, configuring the node number of the current node equipment as the initial node number.
5. The method of claim 1, wherein prior to configuring the corresponding node number according to the closed state of the respective switch group of each of the node devices, the method further comprises:
and setting the input port and the output port of the corresponding node equipment to enter an interrupt mode.
6. The method of claim 5, wherein the interrupt mode comprises an edge triggered interrupt mode.
7. The method of claim 1, wherein the set of switches comprises any one or more of the following switches in combination: a dial switch, a self-locking switch group and a knob switch group.
8. A motion capture device, comprising:
a plurality of node devices; and
the configuration modules are respectively in communication connection with the node equipment;
wherein the configuration module is configured to perform the steps of the method of any one of claims 1 to 5.
CN201810489953.7A 2018-05-21 2018-05-21 Motion capture device and node configuration method thereof Active CN108829241B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810489953.7A CN108829241B (en) 2018-05-21 2018-05-21 Motion capture device and node configuration method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810489953.7A CN108829241B (en) 2018-05-21 2018-05-21 Motion capture device and node configuration method thereof

Publications (2)

Publication Number Publication Date
CN108829241A CN108829241A (en) 2018-11-16
CN108829241B true CN108829241B (en) 2021-06-22

Family

ID=64148871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810489953.7A Active CN108829241B (en) 2018-05-21 2018-05-21 Motion capture device and node configuration method thereof

Country Status (1)

Country Link
CN (1) CN108829241B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1850561A (en) * 2006-05-22 2006-10-25 陈守建 Intelligent helt conveyer protection device
CN105978727A (en) * 2016-06-16 2016-09-28 深圳先进技术研究院 Node firmware updating method of wearable human body motion capture system
CN106061571A (en) * 2014-04-08 2016-10-26 Eon现实公司 Interactive virtual reality systems and methods

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140173081A1 (en) * 2012-11-13 2014-06-19 Joshua P. Knapp Method and apparatus for discovery and enumeration of sequentially networked devices
US9318991B2 (en) * 2013-04-11 2016-04-19 The Boeing Company Electric motor frequency modulation system
CN104834244A (en) * 2014-11-05 2015-08-12 电子科技大学 Gesture switch and gesture control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1850561A (en) * 2006-05-22 2006-10-25 陈守建 Intelligent helt conveyer protection device
CN106061571A (en) * 2014-04-08 2016-10-26 Eon现实公司 Interactive virtual reality systems and methods
CN105978727A (en) * 2016-06-16 2016-09-28 深圳先进技术研究院 Node firmware updating method of wearable human body motion capture system

Also Published As

Publication number Publication date
CN108829241A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
US10002091B2 (en) Master/slave management for redundant process controller modules
CN103558473A (en) Transducer field debugging system based on human-computer interaction interface and transducer field debugging method
CN107924171B (en) Slave device, control method for slave device, and recording medium
JPWO2004039010A1 (en) Electronic equipment system
CN101957615B (en) Rhythm control system of clothing production line
CN106294155A (en) A kind of distributed I/O Simulation Control method of testing, system and simulation computer
CN108829241B (en) Motion capture device and node configuration method thereof
CN108021096A (en) A kind of long-distance monitoring method of the digital control system based on Modbus
CN104181836A (en) Signal switching device
Jusoh et al. Remote Terminal Unit (RTU) hardware design and development for distribution automation system
CN106527409B (en) A kind of master control cabinet
CN202191997U (en) Glue-dispersing control device and glue-dispersing control system
CN104460437A (en) Communication control method and communication device
CN109623787A (en) It is a kind of for controlling the teaching system of multiple industrial robots
CN106547218B (en) Direct-current transmission field layer real-time simulation system, simulation system and closed-loop test system
CN112986724B (en) Electric power secondary equipment test control management device
CN108989058A (en) A kind of server operation method and device
CN213092307U (en) Serial port switching device and electronic equipment
KR102117960B1 (en) Highly Available Intelligent Control System for using Spare Gateway and Control method of the Same
JP6941234B2 (en) Logic analyzer
RU2669073C1 (en) Distributed network control system
CN206441140U (en) A kind of intelligent guidance panel of numerical control device
CN201845222U (en) Clothes production line speed control system
CN108120986A (en) A kind of weather radar control system
CN110046121A (en) Power & environment supervision serial ports distributing equipment

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