CARLA
LibCarla/source/carla/client/WalkerAIController.h
Go to the documentation of this file.
1 // Copyright (c) 2019 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 
9 #include "carla/client/Actor.h"
11 #include "carla/geom/Vector3D.h"
12 
13 #include <boost/optional.hpp>
14 
15 namespace carla {
16 namespace client {
17 
18  class WalkerAIController : public Actor {
19  public:
20 
21  explicit WalkerAIController(ActorInitializer init);
22 
23  void Start();
24 
25  void Stop();
26 
27  boost::optional<geom::Location> GetRandomLocation();
28 
29  void GoToLocation(const carla::geom::Location &destination);
30 
31  void SetMaxSpeed(const float max_speed);
32  };
33 
34 } // namespace client
35 } // namespace carla
WalkerAIController(ActorInitializer init)
This file contains definitions of common data structures used in traffic manager. ...
Definition: Carla.cpp:99
Used to initialize Actor classes.
Definition: ActorState.h:93
void SetMaxSpeed(const float max_speed)
void GoToLocation(const carla::geom::Location &destination)
Represents an actor in the simulation.
Definition: client/Actor.h:18
boost::optional< geom::Location > GetRandomLocation()