15 #ifndef SIMPLE_PLANNING_SIMULATOR__VEHICLE_MODEL__SIM_MODEL_DELAY_STEER_ACC_GEARED_HPP_
16 #define SIMPLE_PLANNING_SIMULATOR__VEHICLE_MODEL__SIM_MODEL_DELAY_STEER_ACC_GEARED_HPP_
19 #include <eigen3/Eigen/Core>
20 #include <eigen3/Eigen/LU>
45 double vx_lim,
double steer_lim,
double vx_rate_lim,
double steer_rate_lim,
double wheelbase,
46 double dt,
double acc_delay,
double acc_time_constant,
double steer_delay,
47 double steer_time_constant,
double steer_dead_band,
double debug_acc_scaling_factor,
48 double debug_steer_scaling_factor);
56 const double MIN_TIME_CONSTANT;
73 const double vx_rate_lim_;
74 const double steer_lim_;
75 const double steer_rate_lim_;
76 const double wheelbase_;
78 std::deque<double> acc_input_queue_;
79 std::deque<double> steer_input_queue_;
80 const double acc_delay_;
81 const double acc_time_constant_;
82 const double steer_delay_;
83 const double steer_time_constant_;
84 const double steer_dead_band_;
85 const double debug_acc_scaling_factor_;
86 const double debug_steer_scaling_factor_;
92 void initializeInputQueue(
const double & dt);
97 double getX()
override;
102 double getY()
override;
107 double getYaw()
override;
112 double getVx()
override;
117 double getVy()
override;
122 double getAx()
override;
127 double getWz()
override;
132 double getSteer()
override;
138 void update(
const double & dt)
override;
145 Eigen::VectorXd calcModel(
const Eigen::VectorXd & state,
const Eigen::VectorXd & input)
override;
154 void updateStateWithGear(
155 Eigen::VectorXd & state,
const Eigen::VectorXd & prev_state,
const uint8_t gear,
Definition: sim_model_delay_steer_acc_geared.hpp:26
SimModelDelaySteerAccGeared(double vx_lim, double steer_lim, double vx_rate_lim, double steer_rate_lim, double wheelbase, double dt, double acc_delay, double acc_time_constant, double steer_delay, double steer_time_constant, double steer_dead_band, double debug_acc_scaling_factor, double debug_steer_scaling_factor)
constructor
Definition: sim_model_delay_steer_acc_geared.cpp:19
~SimModelDelaySteerAccGeared()=default
default destructor
simple_planning_simulator vehicle model class to calculate vehicle dynamics
Definition: sim_model_interface.hpp:26