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

MeEncoderOnBoard.cpp _enabled set to false in constructor #67

Open
dennisma opened this issue Oct 12, 2020 · 0 comments
Open

MeEncoderOnBoard.cpp _enabled set to false in constructor #67

dennisma opened this issue Oct 12, 2020 · 0 comments

Comments

@dennisma
Copy link

In the constructor for MeEncoderOnBoard::MeEncoderOnBoard(int slot) in file MeEncoderOnBoard.cpp line 104 the _enabled flag is set to false.

The first line of the MeEncoderOnBoard::loop() method() checks the _enabled flag and immediately returns if false (line 1056). Motors will not run unless _enabled is set to true.

The only method that sets _enabled to true is the MeEncoderOnBoard.::reset(int slot) method on line 169 which is basically a duplicate of what the constructor does.

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