Reputation: 305
I need to send and receive vehicle updates in less than one second.
I have edited the *.sumo.cfg file and defined the following parameters:
<time>
<step-length value="0.1"/>
</time>
<processing>
<default.action-step-length value="0.1"/>
</processing>
But the settings do not work. I am trying to get the position of a vehicle every 0.1 seconds with the mobility-> getPositionAt (simTime ()) command, but the system updates the position only every second.
Upvotes: 0
Views: 100
Reputation: 305
I appreciate the answers. In the omnetpp.ini file just change the parameter *.manager.updateInterval = 1s
to*.manager.updateInterval = 0.1s
or to *.manager.updateInterval = 100ms
.
Upvotes: 1