CARLA
 
载入中...
搜索中...
未找到
ActorROS2Handler.h
浏览该文件的文档.
1// Copyright (c) 2023 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy, see <https://opensource.org/licenses/MIT>.
6
7#pragma once
8
10#include "carla/ros2/ROS2.h"
12
13/// visitor class
15{
16 public:
17 ActorROS2Handler() = delete;
18 ActorROS2Handler(AActor *Actor, std::string RosName) : _Actor(Actor), _RosName(RosName) {};
19
21
22 private:
23 AActor *_Actor {nullptr};
24 std::string _RosName;
25};
void operator()(carla::ros2::VehicleControl &Source)
ActorROS2Handler()=delete
ActorROS2Handler(AActor *Actor, std::string RosName)