|
9 | 9 | from rocketpy.motors.empty_motor import EmptyMotor |
10 | 10 | from rocketpy.plots.rocket_plots import _RocketPlots |
11 | 11 | from rocketpy.prints.rocket_prints import _RocketPrints |
12 | | -from rocketpy.rocket.aero_surface import (AirBrakes, EllipticalFins, Fins, |
13 | | - NoseCone, RailButtons, Tail, |
14 | | - TrapezoidalFins) |
| 12 | +from rocketpy.rocket.aero_surface import ( |
| 13 | + AirBrakes, |
| 14 | + EllipticalFins, |
| 15 | + Fins, |
| 16 | + NoseCone, |
| 17 | + RailButtons, |
| 18 | + Tail, |
| 19 | + TrapezoidalFins, |
| 20 | +) |
15 | 21 | from rocketpy.rocket.aero_surface.fins.elliptical_fin import EllipticalFin |
16 | 22 | from rocketpy.rocket.aero_surface.fins.free_form_fin import FreeFormFin |
17 | 23 | from rocketpy.rocket.aero_surface.fins.free_form_fins import FreeFormFins |
@@ -1029,12 +1035,12 @@ def add_surfaces(self, surfaces, positions): |
1029 | 1035 | AeroSurface if more than one surface is to be added. |
1030 | 1036 | positions : int, float, tuple, list, Vector |
1031 | 1037 | Position(s) of the aerodynamic surface's reference point. Can be: |
1032 | | - |
| 1038 | +
|
1033 | 1039 | - a single number (int or float) giving the z-coordinate along |
1034 | 1040 | the rocket axis. |
1035 | 1041 | - a sequence of three numbers (x, y, z) representing the full |
1036 | 1042 | position in the user-defined coordinate system. |
1037 | | - |
| 1043 | +
|
1038 | 1044 | If passing multiple surfaces, provide a list of positions matching |
1039 | 1045 | each surface in order. |
1040 | 1046 | For NoseCone type, position is the tip coordinate along the axis. |
@@ -1646,9 +1652,9 @@ def add_air_brakes( |
1646 | 1652 | 7. `sensors` (list): A list of sensors that are attached to the |
1647 | 1653 | rocket. The most recent measurements of the sensors are provided |
1648 | 1654 | with the ``sensor.measurement`` attribute. The sensors are |
1649 | | - listed in the same order as they are added to the rocket |
| 1655 | + listed in the same order as they are added to the rocket |
1650 | 1656 | ``interactive_objects`` |
1651 | | - |
| 1657 | +
|
1652 | 1658 | This function will be called during the simulation at the specified |
1653 | 1659 | sampling rate. The function should evaluate and change the observed |
1654 | 1660 | objects as needed. The function should return None. |
|
0 commit comments