CARLA
Public Member Functions | Public Attributes | List of all members
carla::rpc::WalkerControl Class Reference

#include <WalkerControl.h>

+ Collaboration diagram for carla::rpc::WalkerControl:

Public Member Functions

 MSGPACK_DEFINE_ARRAY (direction, speed, jump)
 
bool operator!= (const WalkerControl &rhs) const
 
bool operator== (const WalkerControl &rhs) const
 
 WalkerControl ()=default
 
 WalkerControl (geom::Vector3D in_direction, float in_speed, bool in_jump)
 

Public Attributes

geom::Vector3D direction = {1.0f, 0.0f, 0.0f}
 
bool jump = false
 
float speed = 0.0f
 

Detailed Description

Definition at line 20 of file LibCarla/source/carla/rpc/WalkerControl.h.

Constructor & Destructor Documentation

◆ WalkerControl() [1/2]

carla::rpc::WalkerControl::WalkerControl ( )
default

◆ WalkerControl() [2/2]

carla::rpc::WalkerControl::WalkerControl ( geom::Vector3D  in_direction,
float  in_speed,
bool  in_jump 
)
inline

Definition at line 25 of file LibCarla/source/carla/rpc/WalkerControl.h.

Member Function Documentation

◆ MSGPACK_DEFINE_ARRAY()

carla::rpc::WalkerControl::MSGPACK_DEFINE_ARRAY ( direction  ,
speed  ,
jump   
)

Referenced by operator==().

+ Here is the caller graph for this function:

◆ operator!=()

bool carla::rpc::WalkerControl::operator!= ( const WalkerControl rhs) const
inline

Definition at line 56 of file LibCarla/source/carla/rpc/WalkerControl.h.

References direction, jump, and speed.

◆ operator==()

bool carla::rpc::WalkerControl::operator== ( const WalkerControl rhs) const
inline

Definition at line 60 of file LibCarla/source/carla/rpc/WalkerControl.h.

References MSGPACK_DEFINE_ARRAY().

+ Here is the call graph for this function:

Member Data Documentation

◆ direction

geom::Vector3D carla::rpc::WalkerControl::direction = {1.0f, 0.0f, 0.0f}

◆ jump

bool carla::rpc::WalkerControl::jump = false

Definition at line 37 of file LibCarla/source/carla/rpc/WalkerControl.h.

Referenced by operator!=().

◆ speed

float carla::rpc::WalkerControl::speed = 0.0f

Definition at line 35 of file LibCarla/source/carla/rpc/WalkerControl.h.

Referenced by operator!=().


The documentation for this class was generated from the following file: