Method and apparatus for acquiring data in a robot operating system
First Claim
Patent Images
1. A method for acquiring data in a robot operating system, the method comprising:
- monitoring in real time a data storage area of an information acquirer, the information acquirer configured to acquire location state data of a driverless vehicle;
obtaining updated data if the updated data are present in the data storage area; and
storing the updated data into a data buffer corresponding to the information acquirer,wherein obtaining the updated data if the updated data are present in the data storage area comprises;
checking a temporal tag of the updated data, if there are updated data in the data storage area, andobtaining the updated data, if a time difference between a time point corresponding to the temporal tag and a current time point is below a preset threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
This disclosures discloses a method and apparatus for acquiring data in a robot operating system. A specific implementation of the method includes: monitoring in real time a data storage area of an information acquirer, the information acquirer configured to acquire location state data of a driverless vehicle; obtaining updated data if the updated data are present in the data storage area; and storing the updated data into a data buffer corresponding to the information acquirer. The implementation improves the robustness of the data.
-
Citations
9 Claims
-
1. A method for acquiring data in a robot operating system, the method comprising:
-
monitoring in real time a data storage area of an information acquirer, the information acquirer configured to acquire location state data of a driverless vehicle; obtaining updated data if the updated data are present in the data storage area; and storing the updated data into a data buffer corresponding to the information acquirer, wherein obtaining the updated data if the updated data are present in the data storage area comprises; checking a temporal tag of the updated data, if there are updated data in the data storage area, and obtaining the updated data, if a time difference between a time point corresponding to the temporal tag and a current time point is below a preset threshold. - View Dependent Claims (2, 3, 4)
-
-
5. An apparatus for acquiring data in a robot operating system, the apparatus comprising:
-
a monitoring unit configured to monitor in real time a data storage area of an information acquirer, the information acquirer configured to acquire location state data of a driverless vehicle; an updated data obtaining unit configured to obtain updated data if the updated data are present in the data storage area; and a storing unit configured to store the updated data into a data buffer corresponding to the information acquirer, wherein the updated data obtaining unit comprises; a temporal tag checking sub-unit configured to check a temporal tag of the updated data, if there are updated data in the data storage area, and to obtain the updated data, if a time difference between a time point corresponding to the temporal tag and a current time point is below a preset threshold. - View Dependent Claims (6, 7, 8)
-
-
9. A non-transitory storage medium storing one or more programs, the one or more programs when executed by a device, causing the device to perform a method for acquiring data in a robot operating system, the method comprising:
-
monitoring in real time a data storage area of an information acquirer, the information acquirer configured to acquire location state data of a driverless vehicle; obtaining updated data if the updated data are present in the data storage area; and storing the updated data into a data buffer corresponding to the information acquirer, wherein the obtaining the updated data if the updated data are present in the data storage area comprises; checking a temporal tag of the updated data, if there are updated data in the data storage area, and obtaining the updated data, if a time difference between a time point corresponding to the temporal tag and a current time point is below a preset threshold.
-
Specification