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

Add LEDs #2

Open
pglotfel opened this issue Feb 13, 2018 · 2 comments
Open

Add LEDs #2

pglotfel opened this issue Feb 13, 2018 · 2 comments

Comments

@pglotfel
Copy link
Member

Add LED functionality to the simulator.

@guyfleeman
Copy link

I'd like work on this feature. Can I assume it will use the same endpoint as the Matlab sim?
Matlab:
function this = set_leds(this, ids, commands)

So a python endpoint would be:
def set_leds(self, ids, commands)

ids is a 1xn numpy array
commands is a 4xN numpy array [r g b led_num]: 0 <= r, g, b <= 255, 0 <= led_num <= 1

Is this correct?

@pglotfel
Copy link
Member Author

Yes, it should be the same as the MATLAB simulator; however, we're doing some hardware upgrades very soon. So I think this issues should probably wait until those upgrades are complete.

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

2 participants