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