Comments (4)
Alright, I assigned this issue to myself. @Gui-FernandesBR, can you give me more context about this issue? An example of how and why this would can help me a lot.
The main problem I currently face is guaranteeing consistency. When the user enters an initialSolution, currently she/he must specify the valeu of the entire state vector: x, y, z, vx, vy, vz, e0, e1, e2, e3, w1, w2, w3
.
To check if the rocket is still on the rail, whose start point is currently set by default to (0, 0, 0)
, we use the Pythagorean thereom and check if x**2 + y**2 + z**2 <= self.env.rL
, where self.env.rL
is the rail length.
That being said, if the user specifies a value of x or y different from 0, the value of z must be so that it is consistent with the rail inclination and heading. Otherwise, values for x, y and z can be consistent the the check mentioned above but inconsistent with the rail inclination and heading. The same goes for velocity, attitude and angular velocity. If they are not consistent with the rail, we can get result which do not respect reality.
I currently do not see an example for when this feature could be useful, so I would recommend we make it clear in the documentation that when the initialSolution
argument is used, the rail phase is skipped.
from rocketpy.
Regarding initial launch position, this is not defined in the flight class, but rather in the Environment class, by setting latitude, longitude and elevation.
from rocketpy.
I believe comments from @Projeto-Jupiter/back-end regarding this issue can be specially important!
from rocketpy.
Ok now I understand what happened here, in the end we don't need to modify initialSolution argument.
In the future we will be able to modify lat/lon coordinates of the launch pad so this problem will be solved.
See #163 to more information
from rocketpy.
Related Issues (20)
- BUG: Motor.export_eng doesn't work for liquid motors HOT 1
- ENH: Support for power series nose cones HOT 1
- TST: Restructuring the test suite HOT 3
- ENH: _check_user_input method being called multiple times HOT 2
- BUG: Overfilled Tanks produce absurd calculations without an error thrown HOT 4
- ENH: automatically gets inputs and outputs from csv file
- Error during build & install rocketpy using setuptools HOT 1
- BUG: KeyError: 'I_11' and AttributeError: 'NoneType' object has no attribute 'reset' HOT 1
- ENH: Support for Open Meteo API
- ENH: make rocketpy classes json serializable
- ENH: adds an 3D animation of flight trajectory
- DOC: Software in a Loop (SIL) example with parachute ejection systems
- DOC: update badges on our README
- DOC: stop cloning the whole repository just for examples HOT 1
- ENH: plot inertia tensor components in a single plot
- ENH: display both power_off_drag and power_on_drag in a single plot
- ENH: adds `axial_acceleration` attribute to the Flight class HOT 2
- MNT: EmptyMotor class inherits from Motor(ABC)
- MNT: delete tools.cached_property
- DOC: convert notebooks to .rst files in the documentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocketpy.