In point 2.1, in section “CORE2-ROS + USB camera”, everything is explained and it doesn’t matter which camera you are using if it’s listed in /dev/ catalog as:
/dev/video*
Remember to reboot your device before start using video stream.
husarion-camera is already the newest version (2017.07.27.1).
if I try to execute husarion-camera manually, I get this:
husarion@core2-ros:~$ husarion-camera
Traceback (most recent call last):
File "/usr/bin/husarion-camera", line 26, in <module>
reset_camera()
File "/usr/bin/husarion-camera", line 6, in reset_camera
function_id = os.readlink('/sys/class/video4linux/video0/device').split('/')[-1]
FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/video4linux/video0/device'
Traceback (most recent call last):
File "/usr/bin/husarion-camera", line 38, in <module>
url = sys.argv[1] if len(sys.argv) > 1 else open('/run/husarion-usb-camera-url').read()
FileNotFoundError: [Errno 2] No such file or directory: '/run/husarion-usb-camera-url'
And this is the “ls” from the missing File/Dir:
husarion@core2-ros:/$ ls /sys/class/video4linux/video0/
dev dev_debug index name power subsystem uevent
If I connect my Logitech USB-Cam or my Microsoft LifeCam - both are working.
their “ls” looks like this:
husarion@core2-ros:/$ ls /sys/class/video4linux/video1/
dev dev_debug device index name power subsystem uevent
So for any reason for the Raspberry Cam-Interface the “Device” Node is missing !?
We working on this, but we have to wait for Wide-Angle-Raspberry Cam just like yours. Please give us some more time to check this issue. We will find a solution very soon.
We have investigated the issue and the reason for Raspberry-Cam not to work is that it is currently not supported by Chrome. As our platform is chrome based, for the time being it is not possible to use this device with husarion-camera. We are however working on developing a solution, but it will take some time.
I have a couple of questions for you.
Which SBC do you use? RPI3 or the Tinkerboard?
Is your Camera still working fine? with the cloud?
I have a core2ros+Tinkerboard.
Will you share with me what steps you have made to get it working.
Thanks the help.
Regards,
Fred
Hi,
Thanks for your swift response.
Yes, I am not sure whether your solution will be working with the Tinkerboard.
I already have problem using the USB Camera.
I have to find out myself,
Regards,
Fred