A wrapper around SimulationWorldService and WebSocketHandler to keep pushing SimulationWorld to frontend via websocket while handling the response from frontend.
More...
#include <simulation_world_updater.h>
A wrapper around SimulationWorldService and WebSocketHandler to keep pushing SimulationWorld to frontend via websocket while handling the response from frontend.
◆ SimulationWorldUpdater()
Constructor with the websocket handler.
- Parameters
-
websocket | Pointer of the websocket handler that has been attached to the server. |
sim_control | Pointer of sim control. |
map_service | Pointer of the map service to provide a high-level API of hdmap. |
routing_from_file | whether to read initial routing from file. |
◆ LastAdcTimestampSec()
double apollo::dreamview::SimulationWorldUpdater::LastAdcTimestampSec |
( |
| ) |
|
|
inline |
◆ Start()
void apollo::dreamview::SimulationWorldUpdater::Start |
( |
| ) |
|
Starts to push simulation_world to frontend.
◆ kSimWorldTimeIntervalMs
constexpr double apollo::dreamview::SimulationWorldUpdater::kSimWorldTimeIntervalMs = 100 |
|
static |
The documentation for this class was generated from the following file: