# expression_params.yaml — LED mood display bridge configuration.
#
# serial_port  : udev symlink or device path for the ESP32-C3 USB-CDC port.
#   Recommended: create a udev rule:
#     SUBSYSTEM=="tty", ATTRS{idVendor}=="303a", ATTRS{idProduct}=="1001",
#     SYMLINK+="esp32-social"
#
# baud_rate    : must match social_expression.ino (default 115200)
#
# idle_timeout_s : if no /social/mood message arrives for this many seconds,
#   the node sends {"mood":"idle","intensity":1.0} so the ESP32 breathing
#   animation is synchronised with node awareness.
#
# control_rate : how often to check the idle timeout (Hz).
#   Does NOT gate the mood messages — those are forwarded immediately.

expression_node:
  ros__parameters:
    serial_port:    /dev/esp32-social
    baud_rate:      115200
    idle_timeout_s: 3.0
    control_rate:   10.0
