CARLA
Loading...
Searching...
No Matches
carla::rpc::WalkerControl Class Reference

#include <WalkerControl.h>

Public Member Functions

 MSGPACK_DEFINE_ARRAY (direction, speed, jump)
 operator FWalkerControl () const
bool operator!= (const WalkerControl &rhs) const
bool operator== (const WalkerControl &rhs) const
 WalkerControl ()=default
 WalkerControl (const FWalkerControl &Control)
 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/3]

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

Referenced by operator!=(), and operator==().

◆ WalkerControl() [2/3]

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.

References direction, jump, and speed.

◆ WalkerControl() [3/3]

carla::rpc::WalkerControl::WalkerControl ( const FWalkerControl & Control)
inline

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

References direction, jump, and speed.

Member Function Documentation

◆ MSGPACK_DEFINE_ARRAY()

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

References direction, jump, and speed.

◆ operator FWalkerControl()

◆ 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, speed, and WalkerControl().

◆ operator==()

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

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

References WalkerControl().

Member Data Documentation

◆ direction

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

◆ jump

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

◆ speed

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

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