sparks-baird / self-driving-lab-demo

Software and instructions for setting up and running a self-driving lab (autonomous experimentation) demo using dimmable RGB LEDs, an 8-channel spectrophotometer, a microcontroller, and an adaptive design algorithm, as well as extensions to liquid- and solid-based color matching demos.
https://self-driving-lab-demo.readthedocs.io/
MIT License
72 stars 8 forks source link

Command topic should be exposed in 4.2 colab notebook #247

Open sgbaird opened 4 months ago

sgbaird commented 4 months ago

i.e., something like: neopixel_topic = f"sdl-demo/picow/{PICO_ID}/GPIO/28/"

Right now, neopixel_topic is embedded within mqtt_observe_sensor_data:

https://github.com/sparks-baird/self-driving-lab-demo/blob/c68ad0bc4c56a9222cfd7d3dc63c1ba89f203c9f/src/self_driving_lab_demo/utils/observe.py#L61

And should probably rename neopixel_topic to command_topic.

4.2 notebook: https://github.com/sparks-baird/self-driving-lab-demo/blob/main/notebooks/4.2-paho-mqtt-colab-sdl-demo-test.ipynb