A ROS package for relay's module comunication. Based on python lib dae-py-relay-controller
The relay_node is tested for USB 16 Channel Relay Module
Add following udev rule to /etc/udev/rules.d/relay.rules file:
KERNEL=="ttyUSB*", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE="0666", GROUP="dialout", SYMLINK+="relay"
Reload udev rules:
sudo udevadm control --reload-rules && sudo udevadm trigger
rosrun dae_relay_controller_ros relay_node.py _device:="/dev/relay" _module_type:="type16"
or
roslaunch dae_relay_controller_ros example.launch