Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

WIP: Classes refactor & scipy.ode dense output #104

Merged
merged 105 commits into from
Nov 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
472d852
minor style modifications
AlexS12 Jul 28, 2017
9fc3730
unified whole system in single function to avoid integration error
AlexS12 Jul 28, 2017
d48c783
refactored system class
AlexS12 Jul 28, 2017
91cdc02
added conversion from dynamic system to full system
AlexS12 Jul 28, 2017
f4117d9
modified aircraft structure
AlexS12 Jul 28, 2017
7719a01
minor modification in gravity model
AlexS12 Jul 28, 2017
149ac08
added wind with no wind model
AlexS12 Jul 28, 2017
c14dc2e
adapted environment to previous changes in gravity, wind and atmosphere
AlexS12 Jul 28, 2017
c6219e8
sketching simulator class
AlexS12 Jul 30, 2017
aaac814
initial state now updates full system state
AlexS12 Jul 30, 2017
c016304
added initialization method and integrator callback
AlexS12 Jul 30, 2017
fa99502
modified controls to be functions
AlexS12 Jul 30, 2017
bab268b
added aerodynamics setter for aircraft trimming process
AlexS12 Aug 13, 2017
721019a
added a method to set system state from trimmed variables
AlexS12 Aug 13, 2017
45ef6d9
trimmer working
AlexS12 Aug 13, 2017
2ad5d2d
added method to save variables during simulation
AlexS12 Aug 13, 2017
a6fdeb8
added properties to obtain forces and moments components
AlexS12 Aug 13, 2017
281cd37
added variables to save
AlexS12 Aug 13, 2017
4f90dea
improved documentation
AlexS12 Aug 13, 2017
2c85267
removed unecessary attribute
AlexS12 Aug 14, 2017
ff980a5
added a method setsolout to the dynamic system in order not to modify…
AlexS12 Aug 14, 2017
ae79500
improved the way callback and forcing terms are defined and updated f…
AlexS12 Aug 14, 2017
59dd9ca
RunTime error raised if integration fails
AlexS12 Aug 14, 2017
4c1d5d3
improved documentation of simulator
AlexS12 Aug 14, 2017
be98d9e
minor change in test results printing
AlexS12 Aug 14, 2017
57705c1
improved the documentation of DynamicSystem
AlexS12 Aug 14, 2017
0310283
solved issue with time: ode.t does not update for dense output steps,…
AlexS12 Aug 14, 2017
f5207a5
solved issue with angles order
AlexS12 Aug 14, 2017
796c614
improved the documentation of System, minor changes in method signatures
AlexS12 Aug 14, 2017
0628842
minimal changes to get cessna172 working
AlexS12 Aug 14, 2017
a9e6c7e
added height to save_vars_default
AlexS12 Aug 14, 2017
737694c
added missing parameter in error raise
AlexS12 Aug 15, 2017
b7c1a6f
added properties to get controls to aircrafts
AlexS12 Aug 15, 2017
c336be3
added controls to saved variables
AlexS12 Aug 15, 2017
a381bd3
results are returned in a dataframe to be plotted more easily
AlexS12 Aug 15, 2017
ec697b1
recovered tests for input generator: vectorization and control compos…
AlexS12 Aug 15, 2017
d3e13d0
scalar in input generator returns scalar
AlexS12 Aug 15, 2017
ed6240f
forces and moments updated in internal ode steps
AlexS12 Aug 27, 2017
967e8df
new dynamic system class based on scipy 1.0 solve_ivp
AlexS12 Nov 3, 2017
85f44b0
simplified EulerFlatEarth and adapted to new dynamic system class
AlexS12 Nov 4, 2017
cc76c27
removed unused class attribute
AlexS12 Nov 4, 2017
ba73032
Removed System class in favour of state elements such as position, at…
AlexS12 Nov 4, 2017
9526ce2
renamed module
AlexS12 Nov 4, 2017
f88ed86
created position subclasses
AlexS12 Nov 5, 2017
d8bbe0c
Added attitude subclasses
AlexS12 Nov 5, 2017
f414c72
moved attitude to its own module
AlexS12 Nov 5, 2017
bbdf48b
divided velocity into subclasses
AlexS12 Nov 5, 2017
959ae68
moved velocity to an independent module
AlexS12 Nov 5, 2017
63c673c
subclasses for angular velocity
AlexS12 Nov 5, 2017
fc83393
subclasses for angular acceleration
AlexS12 Nov 5, 2017
9f828c0
split in modules acceleration, angular acceleration, angular velocity
AlexS12 Nov 5, 2017
c9b7482
added time step method
AlexS12 Nov 5, 2017
9421aa0
new AircraftDynamicSystem class parent of particular systems and inhe…
AlexS12 Nov 5, 2017
7a9dd61
moved aricraft state class
AlexS12 Nov 5, 2017
e326f4b
removed implementation of abstract method
AlexS12 Nov 5, 2017
8a0c697
renamed all set_* methods in full state classes to update
AlexS12 Nov 5, 2017
5f07970
Adapted environment to new system's architecture
AlexS12 Nov 5, 2017
9e993ba
Adapted aircraft to new system's architecture
AlexS12 Nov 5, 2017
862482c
default options to Aircraft State Class
AlexS12 Nov 9, 2017
553d6a4
added trim function to AircraftDynamicSystem
AlexS12 Nov 9, 2017
336e4c4
moved trimmer to utils, not a simulation method anymore
AlexS12 Nov 9, 2017
87ec80d
mistakes, mispelled names...
AlexS12 Nov 9, 2017
5b534d7
added __repr__
AlexS12 Nov 9, 2017
31c950a
setting accelerations after trimming to check they are close to 0
AlexS12 Nov 9, 2017
326b1df
typo
AlexS12 Nov 9, 2017
3a2e116
state updates were missing attitude
AlexS12 Nov 9, 2017
c6576f9
typo angular accelerations units are rad/s2
AlexS12 Nov 9, 2017
7eb052a
update function for integration is not given in the init
AlexS12 Nov 9, 2017
f968732
default integrator was misspelled
AlexS12 Nov 9, 2017
71c2595
aircraft has total_forces and total_moments not forces and moments
AlexS12 Nov 9, 2017
4715173
height is correctly set and not with negative sign
AlexS12 Nov 9, 2017
687c075
adapted simulator to new structure
AlexS12 Nov 9, 2017
52596d7
moved state to a submodule inside models
AlexS12 Nov 10, 2017
ec5c022
completed velocity with changes of reference frame
AlexS12 Nov 10, 2017
3d99984
completed changes of reference frame in acceleration
AlexS12 Nov 10, 2017
312faf8
minor changes
AlexS12 Nov 10, 2017
6f55859
format to state output: number of decimals
AlexS12 Nov 10, 2017
54de570
env and ac are copied during trimming process in order not to change …
AlexS12 Nov 10, 2017
9b062af
trimmer documentation
AlexS12 Nov 10, 2017
bb0413d
minor changes
AlexS12 Nov 10, 2017
151f187
DOC: dynamic system and renamed method for trimming function
AlexS12 Nov 10, 2017
719fd0a
renamed trim function and improved docstring
AlexS12 Nov 10, 2017
c7d600c
added Envrionment to environment __init__
AlexS12 Nov 10, 2017
97a129f
copied aircraft, env, system in the __init__
AlexS12 Nov 10, 2017
ed479dc
added tqdm bar and improved results dataframe
AlexS12 Nov 10, 2017
e0bd3fd
example notebook
AlexS12 Nov 11, 2017
73b7153
testing Euler Flat Earth
AlexS12 Nov 11, 2017
b91c311
added test checking steady state
AlexS12 Nov 11, 2017
6e47013
vectorize moved to a decorator
AlexS12 Nov 11, 2017
27b8373
changed private property _value to public value
AlexS12 Nov 11, 2017
b857cae
STYLE: unused imports, typos, blank lines...
AlexS12 Nov 11, 2017
19d241b
add test of full simulation
AlexS12 Nov 11, 2017
456f0ef
skipping aircraft test: aircraft class is to be refactored
AlexS12 Nov 11, 2017
9ea8e37
removed old examples
AlexS12 Nov 11, 2017
df7e9ff
removed old examples
AlexS12 Nov 11, 2017
253e2bf
Style changes in atmosphere
AlexS12 Nov 12, 2017
152bacb
python version 3.6, added pandas
AlexS12 Nov 12, 2017
1dd8a92
added tqdm
AlexS12 Nov 12, 2017
a9fa546
added tqdm to conda download
AlexS12 Nov 12, 2017
886aa76
Trigger CI
astrojuanlu Nov 12, 2017
87d8b68
Trigger CI
AlexS12 Nov 12, 2017
cb2d6ae
Merge remote-tracking branch 'origin/classes-refactor' into classes-r…
AlexS12 Nov 12, 2017
ef1c9ca
deal with floating point issues to finish propagation
AlexS12 Nov 18, 2017
447de10
added property to get current simulation time
AlexS12 Nov 18, 2017
461ca9a
added example on how to propagate for one time step
AlexS12 Nov 18, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: python

python:
- "3.5"
- "3.6"

branches:
only:
Expand All @@ -20,7 +20,7 @@ before_install:
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
- source activate test-environment
- conda install numpy scipy matplotlib
- conda install numpy scipy matplotlib pandas tqdm
- pip install coverage pytest pytest-cov codecov

install:
Expand Down
2 changes: 2 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ dependencies:
- scipy >=0.17.0
- matplotlib >= 1.5
- pytest >= 2.9
- pandas >= 0.20
- tqdm
Loading