Apollo  6.0
Open source self driving car software
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
apollo::dreamview::PointCloudUpdater Class Reference

A wrapper around WebSocketHandler to keep pushing PointCloud to frontend via websocket while handling the response from frontend. More...

#include <point_cloud_updater.h>

Collaboration diagram for apollo::dreamview::PointCloudUpdater:
Collaboration graph

Public Member Functions

 PointCloudUpdater (WebSocketHandler *websocket, SimulationWorldUpdater *sim_world_updater)
 Constructor with the websocket handler. More...
 
 ~PointCloudUpdater ()
 
void Start ()
 Starts to push PointCloud to frontend. More...
 
void Stop ()
 

Static Public Member Functions

static void LoadLidarHeight (const std::string &file_path)
 

Static Public Attributes

static float lidar_height_
 
static boost::shared_mutex mutex_
 

Detailed Description

A wrapper around WebSocketHandler to keep pushing PointCloud to frontend via websocket while handling the response from frontend.

Constructor & Destructor Documentation

◆ PointCloudUpdater()

apollo::dreamview::PointCloudUpdater::PointCloudUpdater ( WebSocketHandler websocket,
SimulationWorldUpdater sim_world_updater 
)

Constructor with the websocket handler.

Parameters
websocketPointer of the websocket handler that has been attached to the server.
simulationworldupdaterpointer

◆ ~PointCloudUpdater()

apollo::dreamview::PointCloudUpdater::~PointCloudUpdater ( )

Member Function Documentation

◆ LoadLidarHeight()

static void apollo::dreamview::PointCloudUpdater::LoadLidarHeight ( const std::string &  file_path)
static

◆ Start()

void apollo::dreamview::PointCloudUpdater::Start ( )

Starts to push PointCloud to frontend.

◆ Stop()

void apollo::dreamview::PointCloudUpdater::Stop ( )

Member Data Documentation

◆ lidar_height_

float apollo::dreamview::PointCloudUpdater::lidar_height_
static

◆ mutex_

boost::shared_mutex apollo::dreamview::PointCloudUpdater::mutex_
static

The documentation for this class was generated from the following file: