Skip to content

Feature: Add new methods and FlightPanel component with JavaDoc comments

Lukas Zimmerli requested to merge pro2e-team3/pro-2-e-team-3:fehlerSuche into master
  • Added JavaDoc comments for some method in Model.java to describe their purpose and usage.

  • Modified getCoordinates() method in Model.java:

    • Updated the method to retrieve a list of coordinates representing the flight path.
    • The method now iterates over arrays of latitude, longitude, flight height, roll, pitch, and yaw, obtained from the input/output source.
    • It creates a new Coordinate object for each set of values and adds them to a list.
  • Added a new FlightPanel component in FlightPanel2.java:

    • FlightPanel encapsulates a 3D flight panel visualization with map integration.
    • It provides methods to update and interact with the visualization based on Model data.
    • The component includes methods to load new data, update the visualization, and highlight markers within intervals.
    • FlightPanel2.java contains additional methods to ensure thread safety when updating Swing components.
  • Implemented JavaDoc comments for each method in FlightPanel2.java to describe their purpose and usage.

  • Ensured consistency in code style, formatting, and documentation across the added methods and components.

Merge request reports

Loading