From 2edd5427cb9d5a8fff16b90d980bfe311181e241 Mon Sep 17 00:00:00 2001 From: Daniel Santos-Olivan Date: Tue, 22 Sep 2020 09:47:49 +0200 Subject: [PATCH] Minor format changes --- LibCarla/source/carla/client/Actor.h | 2 ++ LibCarla/source/carla/client/detail/Client.cpp | 1 + LibCarla/source/carla/client/detail/Client.h | 1 + 3 files changed, 4 insertions(+) diff --git a/LibCarla/source/carla/client/Actor.h b/LibCarla/source/carla/client/Actor.h index 7751f4cde..916af9596 100644 --- a/LibCarla/source/carla/client/Actor.h +++ b/LibCarla/source/carla/client/Actor.h @@ -69,8 +69,10 @@ namespace client { /// Set the angular velocity of the actor before applying physics. void SetTargetAngularVelocity(const geom::Vector3D &vector); + /// Enable a constant velocity mode void EnableConstantVelocity(const geom::Vector3D &vector); + /// Disable the constant velocity mode void DisableConstantVelocity(); diff --git a/LibCarla/source/carla/client/detail/Client.cpp b/LibCarla/source/carla/client/detail/Client.cpp index e813f37d3..eda02fa89 100644 --- a/LibCarla/source/carla/client/detail/Client.cpp +++ b/LibCarla/source/carla/client/detail/Client.cpp @@ -271,6 +271,7 @@ namespace detail { void Client::SetActorTargetAngularVelocity(rpc::ActorId actor, const geom::Vector3D &vector) { _pimpl->AsyncCall("set_actor_target_angular_velocity", actor, vector); } + void Client::EnableActorConstantVelocity(rpc::ActorId actor, const geom::Vector3D &vector) { _pimpl->AsyncCall("enable_actor_constant_velocity", actor, vector); } diff --git a/LibCarla/source/carla/client/detail/Client.h b/LibCarla/source/carla/client/detail/Client.h index b0964747a..f175519e1 100644 --- a/LibCarla/source/carla/client/detail/Client.h +++ b/LibCarla/source/carla/client/detail/Client.h @@ -153,6 +153,7 @@ namespace detail { void SetActorTargetAngularVelocity( rpc::ActorId actor, const geom::Vector3D &vector); + void EnableActorConstantVelocity( rpc::ActorId actor, const geom::Vector3D &vector);