Skip to content

Declare all internal states as drake State or CacheEntry  #311

@Brian-Acosta

Description

@Brian-Acosta

So far we have been relatively laissez faire when it comes to storing controller state (i.e. previous OSC solutions, tracking data, etc.) as member variables instead of in some way that would expose them to the relevant context. This seems to be causing weird bugs with efforts to gymify our controllers, as some internal state variables are not being reset with the rest of the context. We should consider refactoring as these issues come up and being more strict in subsequent code review to avoid these kinds of design patterns.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions