26 std::shared_ptr<ForcesModel> forcesModel);
38 void step(
FlightState& state,
const std::array<double, 3>& netForce,
double deltaTime);
51 const std::array<double, 3>& netForce,
Models atmospheric and gravitational conditions for the flight simulation.
Definition Environment.h:10
Represents the physical state of the rocket at a given simulation time.
Definition FlightState.h:12
Computes aerodynamic, thrust, and gravitational forces acting on the rocket.
Definition ForcesModel.h:17
Integrator(std::shared_ptr< Rocket > rocket, std::shared_ptr< ForcesModel > forcesModel)
Constructs a new Integrator.
Definition Integrator.cpp:11
std::shared_ptr< Rocket > rocket_
Rocket model reference.
Definition Integrator.h:41
std::shared_ptr< ForcesModel > forcesModel_
Forces model reference.
Definition Integrator.h:42
void eulerIntegration(FlightState &state, const std::array< double, 3 > &netForce, double deltaTime)
Performs simple Euler integration for translational motion.
Definition Integrator.cpp:27
~Integrator()=default
Default destructor.
void step(FlightState &state, const std::array< double, 3 > &netForce, double deltaTime)
Advances the flight state forward by one time step.
Definition Integrator.cpp:19
Represents a complete rocket vehicle composed of stages, motors, and recovery systems.
Definition Rocket.h:20