Skip to content

Commit c09b7c2

Browse files
committed
Adding python module metadata
1 parent 4f18ecf commit c09b7c2

26 files changed

+192
-33
lines changed

Tools/parametric_model/generate_parametric_model.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
*
3333
"""
3434

35+
__author__ = "Manuel Yves Galliker, Jaeyoung Lim"
36+
__maintainer__ = "Manuel Yves Galliker"
37+
__license__ = "BSD 3"
38+
3539
import os
3640
import src.models as models
3741
from src.tools import DataHandler

Tools/parametric_model/src/models/aerodynamic_models/control_surface_model.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
*
3333
"""
3434

35+
__author__ = "Manuel Yves Galliker"
36+
__maintainer__ = "Manuel Yves Galliker"
37+
__license__ = "BSD 3"
38+
3539
import math
3640
import numpy as np
3741

Tools/parametric_model/src/models/aerodynamic_models/fuselage_drag_model.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
*
3333
"""
3434

35+
__author__ = "Manuel Yves Galliker"
36+
__maintainer__ = "Manuel Yves Galliker"
37+
__license__ = "BSD 3"
38+
3539
import numpy as np
3640

3741

Tools/parametric_model/src/models/aerodynamic_models/standard_wing_model.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
*
3333
"""
3434

35+
__author__ = "Manuel Yves Galliker"
36+
__maintainer__ = "Manuel Yves Galliker"
37+
__license__ = "BSD 3"
38+
3539
import math
3640
import numpy as np
3741

Tools/parametric_model/src/models/dynamics_model.py

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,30 @@
3232
*
3333
"""
3434

35-
""" The model class contains properties shared between all models and shgall simplyfy automated checks and the later
36-
export to a sitl gazebo model by providing a unified interface for all models. """
35+
__author__ = "Manuel Yves Galliker"
36+
__maintainer__ = "Manuel Yves Galliker"
37+
__license__ = "BSD 3"
3738

39+
from src.tools.math_tools import cropped_sym_sigmoid
40+
from src.tools.quat_utils import quaternion_to_rotation_matrix
41+
from src.tools.dataframe_tools import compute_flight_time, resample_dataframe_list
42+
from src.tools.ulog_tools import load_ulog, pandas_from_topic
43+
from .model_plots import model_plots, aerodynamics_plots, linear_model_plots
44+
from .rotor_models import RotorModel, BiDirectionalRotorModel, TiltingRotorModel, ChangingAxisRotorModel
45+
import matplotlib.pyplot as plt
46+
from scipy.linalg import block_diag
47+
import src.optimizers as optimizers
48+
import numpy as np
49+
import yaml
50+
import time
51+
import math
52+
import pandas as pd
53+
from progress.bar import Bar
3854

55+
""" The model class contains properties shared between all models and shgall simplyfy automated checks and the later
56+
export to a sitl gazebo model by providing a unified interface for all models. """
3957

4058

41-
from progress.bar import Bar
42-
import pandas as pd
43-
import math
44-
import time
45-
import yaml
46-
import numpy as np
47-
import src.optimizers as optimizers
48-
from scipy.linalg import block_diag
49-
import matplotlib.pyplot as plt
50-
from .rotor_models import RotorModel, BiDirectionalRotorModel, TiltingRotorModel, ChangingAxisRotorModel
51-
from .model_plots import model_plots, aerodynamics_plots, linear_model_plots
52-
from src.tools.ulog_tools import load_ulog, pandas_from_topic
53-
from src.tools.dataframe_tools import compute_flight_time, resample_dataframe_list
54-
from src.tools.quat_utils import quaternion_to_rotation_matrix
55-
from src.tools.math_tools import cropped_sym_sigmoid
5659
class DynamicsModel():
5760
def __init__(self, config_dict):
5861

Tools/parametric_model/src/models/model_config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
*
3333
"""
3434

35+
__author__ = "Manuel Yves Galliker"
36+
__maintainer__ = "Manuel Yves Galliker"
37+
__license__ = "BSD 3"
38+
3539
import os
3640
import yaml
3741
from pathlib import Path

Tools/parametric_model/src/models/model_plots/aerodynamics_plots.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
*
3333
"""
3434

35+
__author__ = "Manuel Yves Galliker"
36+
__maintainer__ = "Manuel Yves Galliker"
37+
__license__ = "BSD 3"
38+
3539
import matplotlib.pyplot as plt
3640
import numpy as np
3741
import math

Tools/parametric_model/src/models/model_plots/linear_model_plots.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
*
3333
"""
3434

35+
__author__ = "Manuel Yves Galliker"
36+
__maintainer__ = "Manuel Yves Galliker"
37+
__license__ = "BSD 3"
38+
3539
import seaborn as sns
3640
import matplotlib
3741
import pandas as pd

Tools/parametric_model/src/models/model_plots/model_plots.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
*
3333
"""
3434

35+
__author__ = "Manuel Yves Galliker"
36+
__maintainer__ = "Manuel Yves Galliker"
37+
__license__ = "BSD 3"
38+
3539
import matplotlib.pyplot as plt
3640
import numpy as np
3741
import math

Tools/parametric_model/src/models/model_plots/rotor_plots.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
*
3333
"""
3434

35+
__author__ = "Manuel Yves Galliker"
36+
__maintainer__ = "Manuel Yves Galliker"
37+
__license__ = "BSD 3"
38+
3539
import matplotlib.pyplot as plt
3640
import numpy as np
3741
import math

0 commit comments

Comments
 (0)