Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constructor setting verification #146

Merged
merged 24 commits into from
Feb 8, 2024
Merged

Conversation

ArVMal
Copy link
Contributor

@ArVMal ArVMal commented Aug 29, 2023

No description provided.

@Xierumeng
Copy link
Collaborator

Good start! Make sure to change every usage of these classes as well (you can try running python -m main_2023 ).

Does every module also follow the create() pattern?

Copy link
Collaborator

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

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

Did you run the tests? Do they pass?

Unlike the constructor, the create() method doesn't returns just the object, it returns a tuple of bool, object . Has every caller been updated to account for this?

modules/detections_and_time.py Outdated Show resolved Hide resolved
modules/merged_odometry_detections.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

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

Reviewed. Please also rebase branch on main/merge main into branch.

modules/detection_in_world.py Outdated Show resolved Hide resolved
modules/detections_and_time.py Outdated Show resolved Hide resolved
modules/image_and_time.py Outdated Show resolved Hide resolved
modules/object_in_world.py Outdated Show resolved Hide resolved
modules/odometry_and_time.py Outdated Show resolved Hide resolved
modules/odometry_and_time.py Outdated Show resolved Hide resolved
tests/test_geolocation_worker.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

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

Reviewed. What happened to the other files?

modules/detections_and_time.py Outdated Show resolved Hide resolved
modules/merged_odometry_detections.py Show resolved Hide resolved
@ArVMal ArVMal force-pushed the constructor_setting_verification branch from f482b3a to ac66bed Compare December 6, 2023 04:48
Copy link
Collaborator

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

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

Reviewed. Change detect_target.py and data_merge_worker.py to support the new interface.

modules/detections_and_time.py Outdated Show resolved Hide resolved
modules/merged_odometry_detections.py Show resolved Hide resolved
modules/merged_odometry_detections.py Outdated Show resolved Hide resolved
tests/test_geolocation_worker.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

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

Reviewed.

modules/data_merge/data_merge_worker.py Outdated Show resolved Hide resolved
modules/data_merge/data_merge_worker.py Outdated Show resolved Hide resolved
modules/detect_target/detect_target.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

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

Reviewed.

modules/detect_target/detect_target.py Show resolved Hide resolved
modules/detections_and_time.py Outdated Show resolved Hide resolved
modules/merged_odometry_detections.py Outdated Show resolved Hide resolved
modules/merged_odometry_detections.py Outdated Show resolved Hide resolved
modules/merged_odometry_detections.py Outdated Show resolved Hide resolved
modules/merged_odometry_detections.py Outdated Show resolved Hide resolved
tests/test_geolocation_worker.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

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

Reviewed.

modules/detect_target/detect_target.py Outdated Show resolved Hide resolved
modules/merged_odometry_detections.py Outdated Show resolved Hide resolved
tests/test_geolocation_worker.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

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

Reviewed.

modules/detect_target/detect_target.py Show resolved Hide resolved
tests/test_geolocation_worker.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

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

Approved.

@ArVMal ArVMal merged commit 8d5eca5 into main Feb 8, 2024
1 check passed
@ArVMal ArVMal deleted the constructor_setting_verification branch February 8, 2024 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants