scenario_simulator_v2 C++ API
Public Member Functions | List of all members
SimModelIdealSteerVel Class Reference

calculate ideal steering dynamics More...

#include <sim_model_ideal_steer_vel.hpp>

Inheritance diagram for SimModelIdealSteerVel:
Inheritance graph
[legend]
Collaboration diagram for SimModelIdealSteerVel:
Collaboration graph
[legend]

Public Member Functions

 SimModelIdealSteerVel (double wheelbase)
 constructor More...
 
 ~SimModelIdealSteerVel ()=default
 destructor More...
 
- Public Member Functions inherited from SimModelInterface
 SimModelInterface (int dim_x, int dim_u)
 constructor More...
 
 ~SimModelInterface ()=default
 destructor More...
 
void getState (Eigen::VectorXd &state)
 get state vector of model More...
 
void getInput (Eigen::VectorXd &input)
 get input vector of model More...
 
void setState (const Eigen::VectorXd &state)
 set state vector of model More...
 
void setInput (const Eigen::VectorXd &input)
 set input vector of model More...
 
void setGear (const uint8_t gear)
 set gear More...
 
void updateRungeKutta (const double &dt, const Eigen::VectorXd &input)
 update vehicle states with Runge-Kutta methods More...
 
void updateEuler (const double &dt, const Eigen::VectorXd &input)
 update vehicle states with Euler methods More...
 
uint8_t getGear () const
 get vehicle gear More...
 
int getDimX ()
 get state vector dimension More...
 
int getDimU ()
 get input vector dimension More...
 

Additional Inherited Members

- Protected Attributes inherited from SimModelInterface
const int dim_x_
 dimension of state x More...
 
const int dim_u_
 dimension of input u More...
 
Eigen::VectorXd state_
 vehicle state vector More...
 
Eigen::VectorXd input_
 vehicle input vector More...
 
uint8_t gear_ = autoware_vehicle_msgs::msg::GearCommand::DRIVE
 

Detailed Description

calculate ideal steering dynamics

Constructor & Destructor Documentation

◆ SimModelIdealSteerVel()

SimModelIdealSteerVel::SimModelIdealSteerVel ( double  wheelbase)
explicit

constructor

Parameters
[in]wheelbasevehicle wheelbase length [m]

◆ ~SimModelIdealSteerVel()

SimModelIdealSteerVel::~SimModelIdealSteerVel ( )
default

destructor


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