Seam-lead estimate over the last kLatencyWindowSize inference round trips: their max, floored. More...
Declaration
class moveit_pro::behaviors::internal::LatencyWindow { ... }
#include <execute_policy.hpp>
Public Constructors Index
Public Member Functions Index
Private Member Attributes Index
Description
Seam-lead estimate over the last kLatencyWindowSize inference round trips: their max, floored.
A window max recovers after a latency spike, unlike a high-water mark, and an undershoot costs a pause at rest rather than the run. The seed fills every slot, so it acts as the estimate until real round trips age it out.
Definition at line 113 of file execute_policy.hpp.
Public Constructors
LatencyWindow()
| moveit_pro::behaviors::internal::LatencyWindow::LatencyWindow (const double latency_floor, const double seed) |
|
inline
|
Public Member Functions
estimate()
| double moveit_pro::behaviors::internal::LatencyWindow::estimate () |
|
inline
|
push()
| void moveit_pro::behaviors::internal::LatencyWindow::push (const double sample) |
|
inline
|
Private Member Attributes
floor_
| double moveit_pro::behaviors::internal::LatencyWindow::floor_ |
|
next_index_
| std::size_t moveit_pro::behaviors::internal::LatencyWindow::next_index_ = 0 |
|
samples_
| std::array<double, kLatencyWindowSize> moveit_pro::behaviors::internal::LatencyWindow::samples_ {} |
|
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.