|
Apollo 11.0
自动驾驶开放平台
|
#include <base_tl_preprocessor.h>
Public 成员函数 | |
| BaseTLPreprocessor ()=default | |
| Construct a new base trafficlight preprocessor object. | |
| virtual | ~BaseTLPreprocessor ()=default |
| Destroy the base trafficlight preprocessor object. | |
| virtual bool | Init (const TrafficLightPreprocessorInitOptions &options)=0 |
| Traffic light preprocessing initialization parameters. | |
| virtual std::string | Name () const =0 |
| returns the name of the preprocessing plugin. | |
| virtual bool | UpdateCameraSelection (const camera::CarPose &pose, const TLPreprocessorOption &option, std::vector< base::TrafficLightPtr > *lights)=0 |
| Select the appropriate camera for preprocessing according to the position of the vehicle and the position of the traffic light. | |
| virtual bool | SyncInformation (const double ts, const std::string &camera_name)=0 |
| Determine whether the selected camera is available and synchronize timestamp information. | |
| virtual bool | UpdateLightsProjection (const camera::CarPose &pose, const TLPreprocessorOption &option, const std::string &camera_name, std::vector< base::TrafficLightPtr > *lights)=0 |
| Update the traffic light projection status and determine whether the projection exceeds the boundary range. | |
| virtual bool | SetCameraWorkingFlag (const std::string &camera_name, bool is_working)=0 |
| Set the camera working flag object. | |
| virtual bool | GetCameraWorkingFlag (const std::string &camera_name, bool *is_working) const =0 |
| Get the camera working flag object. | |
| virtual const std::vector< std::string > & | GetCameraNamesByDescendingFocalLen () const =0 |
| Get the camera names by descending focal len object. | |
在文件 base_tl_preprocessor.h 第 42 行定义.
|
default |
Construct a new base trafficlight preprocessor object.
|
virtualdefault |
Destroy the base trafficlight preprocessor object.
|
pure virtual |
Get the camera names by descending focal len object.
|
pure virtual |
Get the camera working flag object.
| camera_name | |
| is_working |
|
pure virtual |
Traffic light preprocessing initialization parameters.
| options |
|
pure virtual |
returns the name of the preprocessing plugin.
|
pure virtual |
Set the camera working flag object.
| camera_name | |
| is_working |
|
pure virtual |
Determine whether the selected camera is available and synchronize timestamp information.
| ts | |
| camera_name |
|
pure virtual |
Select the appropriate camera for preprocessing according to the position of the vehicle and the position of the traffic light.
| pose | |
| option | |
| lights |
|
pure virtual |
Update the traffic light projection status and determine whether the projection exceeds the boundary range.
| pose | |
| option | |
| camera_name | |
| lights |