Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriele Meoni <[email protected]>
  • Loading branch information
Mr-Medina and GabrieleMeoni authored Jan 23, 2024
1 parent 612b3b2 commit d818d3f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions paseos/actors/spacecraft_actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def attitude_in_deg(self):
"""Returns the current attitude of the actor in degrees.
Returns:
list[floats]: actor attitude in degrees
list[floats]: actor attitude in degrees.
"""
if type(self._attitude_model._actor_attitude_in_rad) == np.ndarray:
return np.ndarray.tolist(self._attitude_model._actor_attitude_in_rad * 180 / np.pi)
Expand All @@ -191,18 +191,18 @@ def attitude_in_deg(self):


def pointing_vector(self):
"""Returns the spacecraft pointing vector in the Earth-centered inertial frame
"""Returns the spacecraft pointing vector in the Earth-centered inertial frame.
Returns:
np.ndarray (x, y, z)
np.ndarray (x, y, z).
"""
return self._attitude_model._actor_pointing_vector_eci


def angular_velocity(self):
"""Returns the spacecraft angular velocity vector in the Earth-centered inertial frame
"""Returns the spacecraft angular velocity vector in the Earth-centered inertial frame.
Returns:
np.ndarray (owega_x, omega_y, omega_z)
np.ndarray (owega_x, omega_y, omega_z).
"""
return self._attitude_model._actor_angular_velocity_eci

0 comments on commit d818d3f

Please sign in to comment.