No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.
Repository Summary
Checkout URI | https://bitbucket.org/DataspeedInc/sainsmart_relay_usb.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2021-02-03 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Packages
Name | Version |
---|---|
sainsmart_relay_usb | 0.0.4 |
README
sainsmart_relay_usb
ROS interface to SainSmart USB relay boards for automation
- 4 channel: SRD-5VDC-SL-C
- 8 channel: SRD-12VDC-SL-C
List Devices
rosrun sainsmart_relay_usb list
Relay Node
rosrun sainsmart_relay_usb relay_node
Parameters
-
serial
Explicitly specify device serial number. Default<empty>
-
desc
Explicitly specify device description. Default<empty>
Published topics
-
ready
, std_msgs/Bool, true when device is connected, otherwise false, (latched topic) -
serial
, std_msgs/String, serial number of the connected device (latched topic)
Subscribed topics
-
relay_cmd
, std_msgs/Byte, relay command (one bit per relay channel)
Troubleshooting
- Unable to connect to the device (no terminal messages)
- Can Linux see the USB device?
-
lsusb | grep 0403:6001
* Only one executable can use a hardware device at a time. * Make sure no other running software is using the hardware. * By default, Linux USB devices have very limited permissions. Udev rules are used to modify device permissions when connected. * When installing with binaries with apt-get, the udev rules are installed automatically. * Check if this package's udev rules are installed:ls /etc/udev/rules.d/ | grep 90-SainSmartRelayUsbRules.rules
orls /lib/udev/rules.d/ | grep sainsmart-relay-usb.rules
* Otherwise, follow the directions in 90-SainSmartRelayUsbRules.rules to perform a manual install. * When the board is connected to the PC and the PC is restarted, the relays will be toggled several times. This is because of the structure of the FTDI chip.
-
- Can Linux see the USB device?
CONTRIBUTING
No CONTRIBUTING.md found.
Repository Summary
Checkout URI | https://bitbucket.org/DataspeedInc/sainsmart_relay_usb.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2021-02-03 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Packages
Name | Version |
---|---|
sainsmart_relay_usb | 0.0.4 |
README
sainsmart_relay_usb
ROS interface to SainSmart USB relay boards for automation
- 4 channel: SRD-5VDC-SL-C
- 8 channel: SRD-12VDC-SL-C
List Devices
rosrun sainsmart_relay_usb list
Relay Node
rosrun sainsmart_relay_usb relay_node
Parameters
-
serial
Explicitly specify device serial number. Default<empty>
-
desc
Explicitly specify device description. Default<empty>
Published topics
-
ready
, std_msgs/Bool, true when device is connected, otherwise false, (latched topic) -
serial
, std_msgs/String, serial number of the connected device (latched topic)
Subscribed topics
-
relay_cmd
, std_msgs/Byte, relay command (one bit per relay channel)
Troubleshooting
- Unable to connect to the device (no terminal messages)
- Can Linux see the USB device?
-
lsusb | grep 0403:6001
* Only one executable can use a hardware device at a time. * Make sure no other running software is using the hardware. * By default, Linux USB devices have very limited permissions. Udev rules are used to modify device permissions when connected. * When installing with binaries with apt-get, the udev rules are installed automatically. * Check if this package's udev rules are installed:ls /etc/udev/rules.d/ | grep 90-SainSmartRelayUsbRules.rules
orls /lib/udev/rules.d/ | grep sainsmart-relay-usb.rules
* Otherwise, follow the directions in 90-SainSmartRelayUsbRules.rules to perform a manual install. * When the board is connected to the PC and the PC is restarted, the relays will be toggled several times. This is because of the structure of the FTDI chip.
-
- Can Linux see the USB device?
CONTRIBUTING
No CONTRIBUTING.md found.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
Repository Summary
Checkout URI | https://bitbucket.org/DataspeedInc/sainsmart_relay_usb.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2021-02-03 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Packages
Name | Version |
---|---|
sainsmart_relay_usb | 0.0.4 |
README
sainsmart_relay_usb
ROS interface to SainSmart USB relay boards for automation
- 4 channel: SRD-5VDC-SL-C
- 8 channel: SRD-12VDC-SL-C
List Devices
rosrun sainsmart_relay_usb list
Relay Node
rosrun sainsmart_relay_usb relay_node
Parameters
-
serial
Explicitly specify device serial number. Default<empty>
-
desc
Explicitly specify device description. Default<empty>
Published topics
-
ready
, std_msgs/Bool, true when device is connected, otherwise false, (latched topic) -
serial
, std_msgs/String, serial number of the connected device (latched topic)
Subscribed topics
-
relay_cmd
, std_msgs/Byte, relay command (one bit per relay channel)
Troubleshooting
- Unable to connect to the device (no terminal messages)
- Can Linux see the USB device?
-
lsusb | grep 0403:6001
* Only one executable can use a hardware device at a time. * Make sure no other running software is using the hardware. * By default, Linux USB devices have very limited permissions. Udev rules are used to modify device permissions when connected. * When installing with binaries with apt-get, the udev rules are installed automatically. * Check if this package's udev rules are installed:ls /etc/udev/rules.d/ | grep 90-SainSmartRelayUsbRules.rules
orls /lib/udev/rules.d/ | grep sainsmart-relay-usb.rules
* Otherwise, follow the directions in 90-SainSmartRelayUsbRules.rules to perform a manual install. * When the board is connected to the PC and the PC is restarted, the relays will be toggled several times. This is because of the structure of the FTDI chip.
-
- Can Linux see the USB device?
CONTRIBUTING
No CONTRIBUTING.md found.