@senthurayyappan I found an issue with how I did this. The setter method is only called when assigning entirely new motor_constants objects. If you try to just write to one of them like osl.ankle.MOTOR_CONSTANTS.NM_PER_AMP = .1, the setter logic doesn't get called. I think we can fix this with __setattr__ overloads or something like that...
Originally posted by @tkevinbest in #489 (comment)
@senthurayyappan I found an issue with how I did this. The setter method is only called when assigning entirely new motor_constants objects. If you try to just write to one of them like
osl.ankle.MOTOR_CONSTANTS.NM_PER_AMP = .1, the setter logic doesn't get called. I think we can fix this with__setattr__overloads or something like that...Originally posted by @tkevinbest in #489 (comment)