Contents
Hardware Check
After installation of the phidgets board execute following steps:
- login on the PC which is connected to the phidgets board
run "lsusb" in the console
- if you find something with phidgets in the printed list follow step 6.
- if not unplug and plug in the phidgets board
run "dmesg" and look at the last lines (end)
start roscore
run "relaunch cob_bringup tray_sensors.launch"
check output with "rostopic echo /tray_sensors/range_1"
Error Handling
If you get a message like "operation not permitted" you have probably not the right to open the USB device. Therefore, add an udev rule with:
sudo echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="06c2", MODE="0666", GROUP="dialout"' >> /etc/udev/rules.d/10-persistent-usb.rules && sudo chmod a+r /etc/udev/rules.d/10-persistent-usb.rules && sudo udevadm control --reload-rules
Make sure your user is in the group "dialout" with groups.