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

Incorrect Variable Naming in FSR Source Code #93

Open
chofdc opened this issue May 15, 2024 · 0 comments
Open

Incorrect Variable Naming in FSR Source Code #93

chofdc opened this issue May 15, 2024 · 0 comments

Comments

@chofdc
Copy link

chofdc commented May 15, 2024

I discovered, during my work, an issue in the source code where the variable names for the right foot force-sensitive resistor (FSR) values are incorrectly assigned to the left foot FSR values. This results in both the left and right foot FSR values showing the same values even during walking.

LFOOT_FL = "LFsrFL_frame"
LFOOT_FR = "LFsrFR_frame"
LFOOT_RL = "LFsrRL_frame"
LFOOT_RR = "LFsrRR_frame"
RFOOT_FL = "LFsrFL_frame" # Should be "RFsrFL_frame"
RFOOT_FR = "LFsrFR_frame" # Should be "RFsrFR_frame"
RFOOT_RL = "LFsrRL_frame" # Should be "RFsrRL_frame"
RFOOT_RR = "LFsrRR_frame" # Should be "RFsrRR_frame"

LFOOT = [LFOOT_FL, LFOOT_FR, LFOOT_RL, LFOOT_RR]
RFOOT = [LFOOT_FL, LFOOT_FR, LFOOT_RL, LFOOT_RR] # Should be [RFOOT_FL, RFOOT_FR, RFOOT_RL, RFOOT_RR]

fsr_issue

This correction will ensure accurate data processing for both left and right foot FSR values.

Thank you for addressing this issue promptly.

@chofdc chofdc changed the title Incorrect Variable Naming in Source Code Incorrect Variable Naming in FSR Source Code May 15, 2024
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

No branches or pull requests

1 participant