simulation

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2025 License: GPL-3.0 Imports: 15 Imported by: 0

README

pkg/simulation

This package provides functionality for simulating rocket flights.

Responsibility

  • Simulate rocket flights.
  • Provide accurate and realistic flight simulations.

Scope

  • Support different rocket designs and flight conditions.
  • Account for various factors, such as drag, gravity, and wind.

Gotchas

  • Complexity of the flight simulation models.
  • Accuracy of the simulation results.

Test Suite Overview

The test suite includes unit tests for the core functionality of the package, including:

  • Simulating rocket flights.
  • Validating the simulation results.
  • Testing different rocket designs and flight conditions.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Simulation

type Simulation struct {
	// contains filtered or unexported fields
}

Simulation represents a rocket simulation

func NewSimulation

func NewSimulation(cfg *config.Config, log logf.Logger, stores *storage.Stores) (*Simulation, error)

NewSimulation creates a new rocket simulation

func (*Simulation) LoadRocket

func (s *Simulation) LoadRocket(orkData *openrocket.RocketDocument, motorData *thrustcurves.MotorData) error

LoadRocket loads a rocket entity into the simulation

func (*Simulation) Run

func (s *Simulation) Run() error

Run executes the simulation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL