#include <Walker.h>
Inheritance diagram for carla::client::Walker:
Collaboration diagram for carla::client::Walker:Public Types | |
| using | BoneControlIn = rpc::WalkerBoneControlIn |
| using | BoneControlOut = rpc::WalkerBoneControlOut |
| using | Control = rpc::WalkerControl |
Public Member Functions | |
| void | ApplyControl (const Control &control) |
| Apply control to this Walker. More... | |
| void | BlendPose (float blend) |
| BoneControlOut | GetBonesTransform () |
| void | GetPoseFromAnimation () |
| Control | GetWalkerControl () const |
| Return the control last applied to this Walker. More... | |
| void | HidePose () |
| void | SetBonesTransform (const BoneControlIn &bones) |
| void | ShowPose () |
| Walker (ActorInitializer init) | |
Public Member Functions inherited from carla::client::Actor | |
| Actor (ActorInitializer init) | |
| void | AddAngularImpulse (const geom::Vector3D &vector) |
| Add angular impulse to the actor. More... | |
| void | AddForce (const geom::Vector3D &force) |
| Add force to the actor at its center of mass. More... | |
| void | AddForce (const geom::Vector3D &force, const geom::Vector3D &location) |
| Add force to the actor at certain location. More... | |
| void | AddImpulse (const geom::Vector3D &vector) |
| Add impulse to the actor at its center of mass. More... | |
| void | AddImpulse (const geom::Vector3D &impulse, const geom::Vector3D &location) |
| Add impulse to the actor at certain location. More... | |
| void | AddTorque (const geom::Vector3D &vector) |
| Add a torque to the actor. More... | |
| virtual bool | Destroy () |
| Tell the simulator to destroy this Actor, and return whether the actor was successfully destroyed. More... | |
| void | DisableConstantVelocity () |
| Disable the constant velocity mode. More... | |
| void | EnableConstantVelocity (const geom::Vector3D &vector) |
| Enable a constant velocity mode. More... | |
| geom::Vector3D | GetAcceleration () const |
| Return the current 3D acceleration of the actor. More... | |
| rpc::ActorState | GetActorState () const |
| geom::Vector3D | GetAngularVelocity () const |
| Return the current 3D angular velocity of the actor. More... | |
| geom::Location | GetLocation () const |
| Return the current location of the actor. More... | |
| geom::Transform | GetTransform () const |
| Return the current transform of the actor. More... | |
| geom::Vector3D | GetVelocity () const |
| Return the current 3D velocity of the actor. More... | |
| bool | IsActive () const |
| bool | IsAlive () const |
| bool | IsDormant () const |
| const auto & | Serialize () const |
| void | SetActorDead () |
| Set actor as dead and starts his life span. More... | |
| void | SetCollisions (bool enabled=true) |
| Enable or disable collisions on this actor. More... | |
| void | SetEnableGravity (bool enabled=true) |
| Enable or disable gravity on this actor. More... | |
| void | SetLocation (const geom::Location &location) |
| Teleport the actor to location. More... | |
| void | SetSimulatePhysics (bool enabled=true) |
| Enable or disable physics simulation on this actor. More... | |
| void | SetTargetAngularVelocity (const geom::Vector3D &vector) |
| Set the angular velocity of the actor before applying physics. More... | |
| void | SetTargetVelocity (const geom::Vector3D &vector) |
| Set the actor velocity before applying physics. More... | |
| void | SetTransform (const geom::Transform &transform) |
| Teleport and rotate the actor to transform. More... | |
| virtual | ~Actor ()=default |
Public Member Functions inherited from carla::client::detail::ActorState | |
| const std::vector< ActorAttributeValue > & | GetAttributes () const |
| const std::string & | GetDisplayId () const |
| ActorId | GetId () const |
| SharedPtr< Actor > | GetParent () const |
| ActorId | GetParentId () const |
| const std::vector< uint8_t > & | GetSemanticTags () const |
| const std::string & | GetTypeId () const |
| World | GetWorld () const |
Private Attributes | |
| Control | _control |
Additional Inherited Members | |
Protected Member Functions inherited from carla::client::detail::ActorState | |
| ActorState (rpc::Actor description, EpisodeProxy episode) | |
| const rpc::Actor & | GetActorDescription () const |
| const geom::BoundingBox & | GetBoundingBox () const |
| EpisodeProxy & | GetEpisode () |
| const EpisodeProxy & | GetEpisode () const |
|
inlineexplicit |
Definition at line 24 of file Walker.h.
References ApplyControl(), BlendPose(), GetBonesTransform(), GetWalkerControl(), and SetBonesTransform().
Here is the call graph for this function:| void carla::client::Walker::ApplyControl | ( | const Control & | control | ) |
Apply control to this Walker.
Definition at line 14 of file Walker.cpp.
References _control, carla::client::detail::ActorState::GetEpisode(), and carla::client::detail::EpisodeProxyImpl< PointerT >::Lock().
Referenced by Walker().
Here is the call graph for this function:
Here is the caller graph for this function:| void carla::client::Walker::BlendPose | ( | float | blend | ) |
Definition at line 33 of file Walker.cpp.
References carla::client::detail::ActorState::GetEpisode(), and carla::client::detail::EpisodeProxyImpl< PointerT >::Lock().
Referenced by HidePose(), ShowPose(), and Walker().
Here is the call graph for this function:
Here is the caller graph for this function:| Walker::BoneControlOut carla::client::Walker::GetBonesTransform | ( | ) |
Definition at line 25 of file Walker.cpp.
References carla::client::detail::ActorState::GetEpisode(), and carla::client::detail::EpisodeProxyImpl< PointerT >::Lock().
Referenced by Walker().
Here is the call graph for this function:
Here is the caller graph for this function:| void carla::client::Walker::GetPoseFromAnimation | ( | ) |
Definition at line 37 of file Walker.cpp.
References carla::client::detail::ActorState::GetEpisode(), and carla::client::detail::EpisodeProxyImpl< PointerT >::Lock().
Referenced by HidePose().
Here is the call graph for this function:
Here is the caller graph for this function:| Walker::Control carla::client::Walker::GetWalkerControl | ( | ) | const |
Return the control last applied to this Walker.
Definition at line 21 of file Walker.cpp.
References carla::client::detail::ActorState::GetEpisode(), and carla::client::detail::EpisodeProxyImpl< PointerT >::Lock().
Referenced by Walker().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 39 of file Walker.h.
References BlendPose(), and GetPoseFromAnimation().
Here is the call graph for this function:| void carla::client::Walker::SetBonesTransform | ( | const BoneControlIn & | bones | ) |
Definition at line 29 of file Walker.cpp.
References carla::client::detail::ActorState::GetEpisode(), and carla::client::detail::EpisodeProxyImpl< PointerT >::Lock().
Referenced by Walker().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 38 of file Walker.h.
References BlendPose().
Here is the call graph for this function:
|
private |
Definition at line 44 of file Walker.h.
Referenced by ApplyControl().
1.8.13