libstp
Robotics library for Botball
Loading...
Searching...
No Matches
libstp::foundation::ChassisVelocity Struct Reference

#include <types.hpp>

Public Member Functions

 ChassisVelocity ()=default
 ChassisVelocity (double vx_, double vy_, double wz_)

Public Attributes

double vx {0.0}
 Forward velocity (m/s), positive = forward.
double vy {0.0}
 Lateral velocity (m/s), positive = right.
double wz {0.0}
 Angular velocity (rad/s), positive = counter-clockwise.

Detailed Description

Unified chassis velocity type for all robot motion. Uses consistent naming: vx (forward), vy (lateral), wz (angular around z-axis).

Definition at line 22 of file types.hpp.

Constructor & Destructor Documentation

◆ ChassisVelocity() [1/2]

libstp::foundation::ChassisVelocity::ChassisVelocity ( )
default

◆ ChassisVelocity() [2/2]

libstp::foundation::ChassisVelocity::ChassisVelocity ( double vx_,
double vy_,
double wz_ )
inline

Definition at line 28 of file types.hpp.

Member Data Documentation

◆ vx

double libstp::foundation::ChassisVelocity::vx {0.0}

Forward velocity (m/s), positive = forward.

Definition at line 23 of file types.hpp.

◆ vy

double libstp::foundation::ChassisVelocity::vy {0.0}

Lateral velocity (m/s), positive = right.

Definition at line 24 of file types.hpp.

◆ wz

double libstp::foundation::ChassisVelocity::wz {0.0}

Angular velocity (rad/s), positive = counter-clockwise.

Definition at line 25 of file types.hpp.


The documentation for this struct was generated from the following file:
  • /home/runner/work/raccoon-lib/raccoon-lib/modules/libstp-foundation/include/foundation/types.hpp