|
Apollo 10.0
自动驾驶开放平台
|
#include <poll.h>#include "absl/strings/match.h"#include "absl/strings/str_join.h"#include "cyber/component/timer_component.h"#include "cyber/cyber.h"#include "modules/common/adapters/adapter_gflags.h"#include "modules/common/util/color.h"#include "modules/common/util/message_util.h"#include "modules/map/hdmap/adapter/opendrive_adapter.h"#include "modules/map/hdmap/hdmap_util.h"#include "modules/common_msgs/perception_msgs/traffic_light_detection.pb.h"类 | |
| class | ManualTrafficLight |
函数 | |
| DEFINE_bool (all_lights, false, "set all lights on the map") | |
| DEFINE_double (traffic_light_distance, 1000.0, "only retrieves traffic lights within this distance") | |
| CYBER_REGISTER_COMPONENT (ManualTrafficLight) | |
| CYBER_REGISTER_COMPONENT | ( | ManualTrafficLight | ) |
| DEFINE_bool | ( | all_lights | , |
| false | , | ||
| "set all lights on the map" | |||
| ) |
| DEFINE_double | ( | traffic_light_distance | , |
| 1000. | 0, | ||
| "only retrieves traffic lights within this distance" | |||
| ) |