Skip to content

Fix for loop, that all pos are shown #13

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

Merged
merged 1 commit into from
Oct 19, 2021

Conversation

roflmaostc
Copy link
Contributor

I fixed the indentation such that all controllers are shown.
Otherwise, only the first is shown:

Before:

╰─➤  python get_position.py                         
Looking for APT controllers
Found FTDI Kinesis K-Cube  DC Driver S/N: 27504197
        Position (mm) = 0.00 [enc:0]

Now:

╰─➤  python get_position.py                        
Looking for APT controllers
Found FTDI Kinesis K-Cube  DC Driver S/N: 27504197
        Position (mm) = 0.00 [enc:0]
Found FTDI Kinesis K-Cube  DC Driver S/N: 27504145
        Position (mm) = 0.00 [enc:0]
Found FTDI Kinesis K-Cube  DC Driver S/N: 27504259
        Position (mm) = 0.00 [enc:0]

@freespace
Copy link
Owner

Thanks @roflmaostc !

@freespace freespace merged commit 914a6f6 into freespace:master Oct 19, 2021
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.

2 participants