Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

Conversation

@davisliu2006
Copy link
Contributor

No description provided.

) -> tuple[bool, list[DetectionInWorld] | None]:
for detection_in_world in detections_in_world:
if len(detection_in_world.centre) == 3:
result, detection_in_world_global = drone_position_global_from_local(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create a new function in the local_global_conversion library that returns a DetectionInWorld in global space after taking in home position and DetectionInWorld in local space.

If you want to be extra safe, you could create a new class solely for global locations (e.g. LocationGlobal ). Hmm, now that I think about it, surely that class must already exist somewhere (maybe in pathing repository)?

@maxlou05 maxlou05 force-pushed the communication_worker branch from 7e7dc61 to 74f5c2e Compare November 2, 2024 03:32
@maxlou05
Copy link
Member

Implemented in PR #277

@maxlou05 maxlou05 closed this Nov 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants