Skip to content

Commit

Permalink
Update c2_pub_sub.py
Browse files Browse the repository at this point in the history
  • Loading branch information
robotastic committed Mar 3, 2024
1 parent bef53de commit f9ff131
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions skyscan-c2/c2_pub_sub.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,10 +396,8 @@ def _elevation_check(self: Any, azimuth: float, elevation: float) -> bool:
for obj in self.occlusion_mapping:
if obj["azimuth"] > azimuth:
if obj["elevation"] > elevation:
logging.info(f"Plane Occluded: {azimuth} {elevation} Mapping: {obj['azimuth']}, {obj['elevation']}")
return False
else:
logging.info(f"Plane Visible: {azimuth} {elevation} Mapping: {obj['azimuth']}, {obj['elevation']}")
return True
break
return True
Expand Down

0 comments on commit f9ff131

Please sign in to comment.