Public Member Functions | Public Attributes | List of all members
mvsim::FrictionBase::TFrictionInput Struct Reference

#include <FrictionBase.h>

Public Member Functions

 TFrictionInput (const TSimulContext &_context, Wheel &_wheel)
 

Public Attributes

const TSimulContextcontext
 
double motorTorque = 0
 
double weight = 0
 
Wheelwheel
 
mrpt::math::TVector2D wheelCogLocalVel {0, 0}
 

Detailed Description

Definition at line 33 of file FrictionBase.h.

Constructor & Destructor Documentation

◆ TFrictionInput()

mvsim::FrictionBase::TFrictionInput::TFrictionInput ( const TSimulContext _context,
Wheel _wheel 
)
inline

Definition at line 51 of file FrictionBase.h.

Member Data Documentation

◆ context

const TSimulContext& mvsim::FrictionBase::TFrictionInput::context

Definition at line 35 of file FrictionBase.h.

◆ motorTorque

double mvsim::FrictionBase::TFrictionInput::motorTorque = 0

The force applied by the motor to the wheel (Nm). Negative means backwards, which makes the vehicle go forwards.

Definition at line 45 of file FrictionBase.h.

◆ weight

double mvsim::FrictionBase::TFrictionInput::weight = 0

Weight on this wheel from the car chassis (Newtons), excluding the weight of the wheel itself.

Definition at line 41 of file FrictionBase.h.

◆ wheel

Wheel& mvsim::FrictionBase::TFrictionInput::wheel

Definition at line 36 of file FrictionBase.h.

◆ wheelCogLocalVel

mrpt::math::TVector2D mvsim::FrictionBase::TFrictionInput::wheelCogLocalVel {0, 0}

Instantaneous velocity vector (in local coordinates) of the wheel center of gravity (cog) point.

Definition at line 49 of file FrictionBase.h.


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


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:23