Updated the documentation

This commit is contained in:
bernatx 2019-04-12 11:49:58 +02:00
parent af6796b16e
commit 53dab06035
1 changed files with 2 additions and 2 deletions

View File

@ -451,10 +451,10 @@ client.replay_file("recording01.log", start, duration, camera)
* **duration**: we can say how many seconds we want to play. If the simulation has not reached the end, then all actors will have autopilot enabled automatically. The intention here is to allow for replaying a piece of a simulation and then let all actors start driving in autopilot again.
* **camera**: we can specify the Id of an actor and then the camera will follow that actor while replaying. Continue reading to know which Id has an actor.
We can specify the speed for the replayer at any moment, using the next API:
We can specify the time factor (speed) for the replayer at any moment, using the next API:
```py
client.set_replayer_speed(2.0)
client.set_replayer_time_factor(2.0)
```
A value greater than 1.0 will play in fast motion, and a value below 1.0 will play in slow motion, being 1.0 the default value for normal playback.
As a performance trick, with values over 2.0 the interpolation of positions is disabled.