Remove margin for controller extrapolation
This commit is contained in:
@@ -81,8 +81,7 @@ void xrt::drivers::wivrn::max_accumulator::send(wivrn_connection & connection)
|
||||
|
||||
if (auto offset = max.exchange(0))
|
||||
connection.send_stream(to_headset::prediction_offset{
|
||||
// Add a 5% margin
|
||||
.offset = std::chrono::nanoseconds(offset * 21 / 20),
|
||||
.offset = std::chrono::nanoseconds(offset),
|
||||
});
|
||||
next_sample += std::chrono::seconds(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user