scenario_simulator_v2 C++ API
|
calculate ideal steering dynamics More...
#include <sim_model_ideal_steer_vel.hpp>
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_auto_vehicle_msgs::msg::GearCommand::DRIVE |
calculate ideal steering dynamics
|
explicit |
constructor
[in] | wheelbase | vehicle wheelbase length [m] |
|
default |
destructor