Skip to content

Conversation

@htchnsn
Copy link
Member

@htchnsn htchnsn commented May 23, 2025

…ld be part of exoboot class and updated during the sensor reading portion (pre_iterate).

…ld be part of exoboot class and updated during the sensor reading portion (pre_iterate).
@htchnsn htchnsn requested a review from nundinir May 23, 2025 19:38


class GSE:
def __init__(self, topics=["fz_left", "fz_right"], publisher_ip=VICON_IP, timeout_ms=5, stride_period_init=1.2, filter_size=10, hs_threshold = 80, to_threshold = 30):
Copy link
Member

Choose a reason for hiding this comment

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

Can you add docstrings to each of these methods?

self.subscribers = {}
self.estimators = {}

for topic in self.topics:
Copy link
Member

@nundinir nundinir May 27, 2025

Choose a reason for hiding this comment

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

Thoughts on making this flexible to the exo side that is active? If someone is walking with just the left exo, then we wouldn't need to subscribe to the right side.. But if we have to make the publisher side flexible to this, then its fine as is!

from src.settings.constants import VICON_IP


class GSE:
Copy link
Member

Choose a reason for hiding this comment

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

Does this GSE class manage the BertecEstimator? Can you explain a little as to why this class necessary since most of the arguments are passed to the Bertec_estimator? It might be better to make this into a function that is responsible for setting up subscribers!

Copy link
Member

@nundinir nundinir left a comment

Choose a reason for hiding this comment

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

Overall looks good! Biggest question is: how is this class different from the Bertec_Estimator?

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.

3 participants