18 #include <type_traits>
24 struct PlanarVehicleState10d;
46 for(
int i=0;i<9;i++)
data_(i)=0.0;
50 adoreMatrix<double, 9, 1>
data_;
154 typename = std::enable_if_t< std::is_same<T,PlanarVehicleState10d>::value> >
157 this->
setX(other.getX());
158 this->
setY(other.getY());
160 this->
setPSI(other.getPSI());
161 this->
setvx(other.getvx());
162 this->
setvy(other.getvy());
164 this->
setAx(other.getAx());
double getY() const
Definition: vehiclemotionstate9d.h:62
void setvy(double value)
Definition: vehiclemotionstate9d.h:125
double time_
Definition: vehiclemotionstate9d.h:49
void setAx(double value)
Definition: vehiclemotionstate9d.h:135
void setTime(double value)
Definition: vehiclemotionstate9d.h:95
double getTime() const
Definition: vehiclemotionstate9d.h:54
void setPSI(double value)
Definition: vehiclemotionstate9d.h:115
void copyFromPlanar(const T &other)
Offers the possibility to copy relevant fields from a PlanarVehicleState10d to VehicleMotionState9d.
Definition: vehiclemotionstate9d.h:155
VehicleMotionState9d()
Definition: vehiclemotionstate9d.h:43
void setY(double value)
Definition: vehiclemotionstate9d.h:105
void setX(double value)
Definition: vehiclemotionstate9d.h:100
adoreMatrix< double, 9, 1 > data_
Definition: vehiclemotionstate9d.h:50
double getX() const
Definition: vehiclemotionstate9d.h:58
void setZ(double value)
Definition: vehiclemotionstate9d.h:110
void setvx(double value)
Definition: vehiclemotionstate9d.h:120
double getAx() const
Definition: vehiclemotionstate9d.h:86
double getOmega() const
Definition: vehiclemotionstate9d.h:82
double getvy() const
Definition: vehiclemotionstate9d.h:78
double getvx() const
Definition: vehiclemotionstate9d.h:74
double getDelta() const
Definition: vehiclemotionstate9d.h:90
void setOmega(double value)
Definition: vehiclemotionstate9d.h:130
void setDelta(double value)
Definition: vehiclemotionstate9d.h:140
double getPSI() const
Definition: vehiclemotionstate9d.h:70
double getZ() const
Definition: vehiclemotionstate9d.h:66
Definition: areaofeffectconverter.h:20
This struct holds the motion state of the vehicle in 9d.
Definition: vehiclemotionstate9d.h:39
void setY(double value)
Set the y-coordinate.
Definition: vehiclemotionstate9d.h:121
adoreMatrix< double, 9, 1 > data_
Definition: vehiclemotionstate9d.h:42
void setAx(double value)
Set the longitudinal acceleration.
Definition: vehiclemotionstate9d.h:157
void setvx(double value)
set the longitudinal velocity
Definition: vehiclemotionstate9d.h:139
void setOmega(double value)
Set the yaw rate.
Definition: vehiclemotionstate9d.h:151
void setX(double value)
Set the x-coordinate.
Definition: vehiclemotionstate9d.h:115
void setPSI(double value)
set the heading
Definition: vehiclemotionstate9d.h:133
void setvy(double value)
set the lateral velocity
Definition: vehiclemotionstate9d.h:145
void setDelta(double value)
Set the steering angle.
Definition: vehiclemotionstate9d.h:163
double time_
Definition: vehiclemotionstate9d.h:41