We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c7f356 commit 42a5ec9Copy full SHA for 42a5ec9
optional/vtd/src/vtd_binding.cpp
@@ -393,11 +393,6 @@ class VtdBinding : public cloe::Simulator {
393
return sync.time() - sync.step_width();
394
}
395
396
- // Send items to TaskControl:
397
- for (auto v : vehicles_) {
398
- v->vtd_step_actuator(*scp_client_, config_.label_vehicle);
399
- }
400
-
401
// Process task control messages
402
{
403
timer::DurationTimer<timer::Milliseconds> t([this](timer::Milliseconds d) {
@@ -417,6 +412,11 @@ class VtdBinding : public cloe::Simulator {
417
412
418
413
419
414
415
+ // Send items to TaskControl:
416
+ for (auto v : vehicles_) {
+ v->vtd_step_actuator(*scp_client_, config_.label_vehicle);
+ }
+
420
// Trigger VTD to simulation the next step
421
422
timer::DurationTimer<timer::Milliseconds> t(
0 commit comments