Skip to content

Commit

Permalink
cleanup(general): Minor Cleanups (#362)
Browse files Browse the repository at this point in the history
* cleanup(perception): Improved documentation for WallOcclusion
* cleanup(database): fixed formatting

---------

Signed-off-by: Moritz Schweppenhäuser <[email protected]>
  • Loading branch information
schwepmo authored Nov 7, 2023
1 parent 5e6e034 commit 13f0d12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@
import java.util.List;

/**
* A simple perception modifier which removes all vehicles behind walls. A list of walls in the vicinity of the
* ego vehicle is provided by the {@link org.eclipse.mosaic.fed.application.ambassador.simulation.perception.SimplePerceptionModule}.
* A simple perception modifier which removes all vehicles behind walls.
* A list of walls in the vicinity of the ego vehicle is provided by the
* {@link org.eclipse.mosaic.fed.application.ambassador.simulation.perception.SimplePerceptionModule SimplePerceptionModule}.
* The check for hidden vehicles is done by finding intersection of vectors between
* ego and all other vehicles. and all walls in its vicinity.
* ego and all other vehicles and all walls in its vicinity.
*/
public class WallOcclusion implements PerceptionModifier {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ protected void disconnect(Statement statement) {
protected Result executeStatement(String statementString) throws SQLException {
ResultSet resultSet;


Statement statement = connect();
statement.execute(statementString);

Expand Down

0 comments on commit 13f0d12

Please sign in to comment.