Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robotastic committed Feb 27, 2024
1 parent 8c23b1d commit 745eae9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion skyscan-c2/c2_pub_sub.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def _calculate_camera_angles(self: Any, data: Any) -> tuple[float, float, float]
]
) <= set(data.keys()):
logging.info(f"Required keys missing from object message data: {data}")
return 0, 0
return 0.0, 0.0, 0.0
logging.info(f"Processing object msg data: {data}")
self.timestamp_o = float(data["timestamp"]) # [s]
self.timestamp_c = self.timestamp_o
Expand Down
1 change: 1 addition & 0 deletions skyscan-c2/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ schedule = "^1.1.0"
pandas = "^2.0.3"
coloredlogs = "^15.0.1"
numpy = "^1.24.2"
numpy-quaternion = "^2022.4.3"


[tool.poetry.dev-dependencies]
Expand Down

0 comments on commit 745eae9

Please sign in to comment.