-
1.
公开(公告)号:US20180321995A1
公开(公告)日:2018-11-08
申请号:US16039151
申请日:2018-07-18
Inventor: Yu MA , Weide ZHANG , Wei HE , Haifeng WANG , Yibing LIANG, , Zhuo CHEN
CPC classification number: G06F9/546 , G06F11/3024 , G06F11/3055 , G06F2209/508 , Y10S901/50
Abstract: This disclosure discloses a method and apparatus for monitoring a message transmission frequency in a robot operating system. A specific implementation of the method includes: writing to-be-transmitted messages, into a pre-allocated memory; obtaining time points when the to-be-transmitted messages are written into the memory, and recording the time points in a preset time point list; determining a message transmission frequency within a preset time interval based on the time points in the time point list; and comparing the message transmission frequency with a preset message transmission frequency threshold, and generating monitoring information based on a comparing result. This implementation monitors the message transmission frequency of a process to thereby avoid information codes related to monitoring of each application from being added to the application so as to reduce the program debuging cost, and improve the monitoring efficiency.
-
2.
公开(公告)号:US20180321994A1
公开(公告)日:2018-11-08
申请号:US16039144
申请日:2018-07-18
Inventor: Yu MA , Weide ZHANG , Wei HE , Haifeng WANG , Yibing LIANG , Zhuo CHEN
CPC classification number: G06F9/546 , G06F11/3024 , G06F11/3055 , G06F2209/508 , Y10S901/50
Abstract: This disclosure discloses a method and apparatus for monitoring a message transmission frequency in a robot operating system. A specific implementation of the method includes: writing to-be-transmitted messages, into a pre-allocated memory; obtaining time points when the to-be-transmitted messages are written into the memory, and recording the time points in a preset time point list; determining a message transmission frequency within a preset time interval based on the time points in the time point list; and comparing the message transmission frequency with a preset message transmission frequency threshold, and generating monitoring information based on a comparing result. This implementation monitors the message transmission frequency of a process to thereby avoid information codes related to monitoring of each application from being added to the application so as to reduce the program debuging cost, and improve the monitoring efficiency.
-