ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::env::VehicleMotionState9d Struct Reference

This struct holds the motion state of the vehicle in 9d. More...

#include <vehiclemotionstate9d.h>

Collaboration diagram for adore::env::VehicleMotionState9d:
Collaboration graph

Public Member Functions

double getTime () const
 Get the time. More...
 
double getX () const
 Get the x-coordinate. More...
 
double getY () const
 Get the y-coordinate. More...
 
double getZ () const
 Get the z-coordinate. More...
 
double getPSI () const
 Get the heading. More...
 
double getvx () const
 Get the longitudinal velocity. More...
 
double getvy () const
 Get the lateral velocity. More...
 
double getOmega () const
 Get the yaw rate. More...
 
double getAx () const
 Get the longitudinal acceleration. More...
 
double getDelta () const
 Get the steering angle. More...
 
void setTime (double value)
 Set the time. More...
 
void setX (double value)
 Set the x-coordinate. More...
 
void setY (double value)
 Set the y-coordinate. More...
 
void setZ (double value)
 Set the z-coordinate. More...
 
void setPSI (double value)
 set the heading More...
 
void setvx (double value)
 set the longitudinal velocity More...
 
void setvy (double value)
 set the lateral velocity More...
 
void setOmega (double value)
 Set the yaw rate. More...
 
void setAx (double value)
 Set the longitudinal acceleration. More...
 
void setDelta (double value)
 Set the steering angle. More...
 

Public Attributes

double time_ = 0
 
adoreMatrix< double, 9, 1 > data_ = dlib::zeros_matrix<double>(9,1)
 

Detailed Description

This struct holds the motion state of the vehicle in 9d.

The field data_ comprises the following data pX, pY, pZ, psi, vx, vy, omega, ax, delta

Member Function Documentation

◆ getAx()

double adore::env::VehicleMotionState9d::getAx ( ) const
inline

Get the longitudinal acceleration.

Returns
double longitudinal acceleration
Here is the caller graph for this function:

◆ getDelta()

double adore::env::VehicleMotionState9d::getDelta ( ) const
inline

Get the steering angle.

Returns
double steering angle
Here is the caller graph for this function:

◆ getOmega()

double adore::env::VehicleMotionState9d::getOmega ( ) const
inline

Get the yaw rate.

Returns
double yaw rate
Here is the caller graph for this function:

◆ getPSI()

double adore::env::VehicleMotionState9d::getPSI ( ) const
inline

Get the heading.

Returns
double heading
Here is the caller graph for this function:

◆ getTime()

double adore::env::VehicleMotionState9d::getTime ( ) const
inline

Get the time.

Returns
double time
Here is the caller graph for this function:

◆ getvx()

double adore::env::VehicleMotionState9d::getvx ( ) const
inline

Get the longitudinal velocity.

Returns
double longitudinal velocity
Here is the caller graph for this function:

◆ getvy()

double adore::env::VehicleMotionState9d::getvy ( ) const
inline

Get the lateral velocity.

Returns
double lateral velocity
Here is the caller graph for this function:

◆ getX()

double adore::env::VehicleMotionState9d::getX ( ) const
inline

Get the x-coordinate.

Returns
double x-coordinate
Here is the caller graph for this function:

◆ getY()

double adore::env::VehicleMotionState9d::getY ( ) const
inline

Get the y-coordinate.

Returns
double y-coordinate
Here is the caller graph for this function:

◆ getZ()

double adore::env::VehicleMotionState9d::getZ ( ) const
inline

Get the z-coordinate.

Returns
double z-coordinate
Here is the caller graph for this function:

◆ setAx()

void adore::env::VehicleMotionState9d::setAx ( double  value)
inline

Set the longitudinal acceleration.

Parameters
valuelongitudinal acceleration
Here is the caller graph for this function:

◆ setDelta()

void adore::env::VehicleMotionState9d::setDelta ( double  value)
inline

Set the steering angle.

Parameters
valuesteering angle
Here is the caller graph for this function:

◆ setOmega()

void adore::env::VehicleMotionState9d::setOmega ( double  value)
inline

Set the yaw rate.

Parameters
valueyaw rate
Here is the caller graph for this function:

◆ setPSI()

void adore::env::VehicleMotionState9d::setPSI ( double  value)
inline

set the heading

Parameters
valueheading
Here is the caller graph for this function:

◆ setTime()

void adore::env::VehicleMotionState9d::setTime ( double  value)
inline

Set the time.

Parameters
valuetime
Here is the caller graph for this function:

◆ setvx()

void adore::env::VehicleMotionState9d::setvx ( double  value)
inline

set the longitudinal velocity

Parameters
valuelongitudinal velocity
Here is the caller graph for this function:

◆ setvy()

void adore::env::VehicleMotionState9d::setvy ( double  value)
inline

set the lateral velocity

Parameters
valuelateral velocity
Here is the caller graph for this function:

◆ setX()

void adore::env::VehicleMotionState9d::setX ( double  value)
inline

Set the x-coordinate.

Parameters
valuex-coordinate
Here is the caller graph for this function:

◆ setY()

void adore::env::VehicleMotionState9d::setY ( double  value)
inline

Set the y-coordinate.

Parameters
valuey-coordinate
Here is the caller graph for this function:

◆ setZ()

void adore::env::VehicleMotionState9d::setZ ( double  value)
inline

Set the z-coordinate.

Parameters
valuez-coordinate
Here is the caller graph for this function:

Member Data Documentation

◆ data_

adoreMatrix<double, 9, 1> adore::env::VehicleMotionState9d::data_ = dlib::zeros_matrix<double>(9,1)

motion state

◆ time_

double adore::env::VehicleMotionState9d::time_ = 0

time


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