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

LED Arduino Code #237

Open
irwineffect opened this issue Apr 10, 2017 · 4 comments
Open

LED Arduino Code #237

irwineffect opened this issue Apr 10, 2017 · 4 comments
Milestone

Comments

@irwineffect
Copy link
Member

irwineffect commented Apr 10, 2017

Introduction

This is going to be an arduino-based node that controls our LEDs. It should allow for both precise control over the pixels and switching all leds to a particular color.

Topic Names

led/raw - raw control over the pixels robosub/rgbArray
led/solid - sets all pixels in the array to the color specified robosub/rgb

Parameters

led/count - the number of pixels in the array

@irwineffect
Copy link
Member Author

Note the above API is still under construction, people are welcome to comment and refine the API.

@skallaher
Copy link
Member

What about having these be services? Do we want to implement the system where each subsystem has a section of the led's that display its status while running? Perhaps allow preset patterns similar to the old system?

I suggest a parameter for the refresh FPS for the LEDs.

How are the LEDs going to be arranged on the sub and should that information be used within the arduino node?

@irwineffect
Copy link
Member Author

irwineffect commented Apr 11, 2017

These are all fantastic questions. I was just thinking of this issue as getting the basic functionality working at first, to get someone new familiar with how to work the LEDs. Yeah picking a pattern or color might be worth it as a service call, but I think the raw control should be a topic for speed. Let's just keep them all as topics for right now.

@ryan-summers
Copy link
Contributor

ryan-summers commented May 8, 2017

Update. The LEDs are currently only monochrome, and you can only set them percentage on and off.

@irwineffect irwineffect modified the milestone: Backlog Jun 1, 2017
@skallaher skallaher removed the NEWB label Aug 17, 2017
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

3 participants