88
99class FlightSimulation (RocketSimulation , EnvironmentSimulation ):
1010 """
11- Flight simulation view that handles dynamically encoded RocketPy Flight attributes.
11+ Flight simulation view that handles dynamically encoded
12+ RocketPy Flight attributes.
1213
13- Inherits from both RocketSimulation and EnvironmentSimulation, and adds flight-specific
14- attributes. Uses the new rocketpy_encoder which may return different attributes based
15- on the actual RocketPy Flight object. The model allows extra fields to accommodate
14+ Inherits from both RocketSimulation and EnvironmentSimulation,
15+ and adds flight-specific attributes. Uses the new rocketpy_encoder
16+ which may return different attributes based on the actual
17+ RocketPy Flight object. The model allows extra fields to accommodate
1618 any new attributes that might be encoded.
1719 """
1820
@@ -29,8 +31,6 @@ class FlightSimulation(RocketSimulation, EnvironmentSimulation):
2931 rocket : Optional [RocketSimulation ] = None
3032 environment : Optional [EnvironmentSimulation ] = None
3133
32- # Key Flight Function attributes (discretized by rocketpy_encoder, serialized by RocketPyEncoder)
33-
3434 # Position and trajectory
3535 latitude : Optional [Any ] = None
3636 longitude : Optional [Any ] = None
@@ -74,7 +74,9 @@ class FlightSimulation(RocketSimulation, EnvironmentSimulation):
7474 time : Optional [Any ] = None
7575 solution : Optional [Any ] = None
7676
77- # Function attributes (discretized by rocketpy_encoder, serialized by RocketPyEncoder)
77+ # Function attributes
78+ # discretized by rocketpy_encoder
79+ # serialized by RocketPyEncoder
7880 angular_position : Optional [Any ] = None
7981 attitude_angle : Optional [Any ] = None
8082 attitude_vector_x : Optional [Any ] = None
0 commit comments