Changed ApplyBatchSync call by passing do_tick_cue=true

to reduce longitudinal oscillation in hybrid physics mode.
This commit is contained in:
Praveen Kumar 2020-04-01 00:59:40 +05:30 committed by Jacopo Bartiromo
parent 58c7fe3539
commit fe86dc21d1
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ void BatchControlStage::DataSender() {
}
// Apply batch command in synchronous RPC call.
if (commands != nullptr) {
episode_proxy_bcs.Lock()->ApplyBatchSync(*commands.get(), false);
episode_proxy_bcs.Lock()->ApplyBatchSync(*commands.get(), true);
}
// Set flag to false, unblock RunStep() call and release mutex lock.
run_step.store(false);