Rat rig VAOC 3DO Webcam not working in visual calibration
My hardware: Vcore 4 idex kit, all the default parts. Camera is a VAOC 3DO
Problem: the webcam works on my latop, and also works on mainsail but only through the settings screen using ustreamer. camera-streamer doesnt work in the settings, neither in visual calibration despite crowsnet conf being exactly as specified in the commissioning. The crowsnest log DOES show the webcam, its device name, that it gets loaded to /dev/video0
Attempted Fixes:
1) I tried running Beacon_ratos_calibrate multiple times
2) I tried putting the full device name into crows nest
3) I tried updating everything,
4) when step3 didnt work, I tried subsequently following the https://os.ratrig.com/blog/crowsnest-v4-breaking-changes-manual-upgrade/
5) I tried ratrig doctor
6) I tried to ssh into the pi and run libcamera-hello, which the responce was no camera devices found!?
7)as surprising as 6 was, I tried to query for USB devices:
dmesg | grep USB
to which unplugging and plugging in the camera, i indeed verified that the camera was connecting (verified the idVendor etc on my laptop), But then I tried to run
dmesg | grep Video
to see if the webcam was being loaded as a Video device, to which it was Not.
Conclusion: I must be going crazy if the crowsnest log and the button to detect USB/Video in mainsail is showing that the webcam is connecting as a video device, and simultaneously when ssh'ing into the raspberry pi the API for libcamera cant detect a video device. I have no idea how to proceed from here. Help would be much appreciated.
in the meantime, if anyone can point to me where the z offset settings are that I could run the camera on my laptop to do the visual calibration and set the paramenters manually, that would be good to get me up and running. Thanks!
Crowsnest v4 contains breaking changes and requires manual steps to...
Crowsnest just recently made huge changes to the way it works. This is great news, because it should be much faster and more reliable. Unfortunately, it also means that there are major breaking changes, and you'll need to do some manual steps to upgrade. When you update to V4 through the machine tab in mainsail, crowsnest will stop working until...
9 Replies
does the cam show image on mainsail webcams?
I'm asking because the first time I assembled my camera during BETA I did it wrong and used the cable with 180 degree miss-orientation
you no longer need to make that changes on crowsnest.
the dmesg | grep USB will show anything because it is detecting the board where the usb cable is connected. does not mean the camera is working... Ask me how I know đ
Is there any solution, i stuck at the same Problem.. i´am so frustrated..
Yea the camera shows on the mainsail webcam, but only when using the default setting for the stream. It becomes a bit comical when you can see your camera show up at the bottom of the dashboard but not in "visual calibration". I can turn on the backlight for the LED and everything.
I was able to at least manually figure out the xyz offsets between t0 and t1 by plugging in the webcam into my laptop and maneuvering the two nozzles in focus and writing down their positions when focused, calculating the differences and then plugging them into the configurations. However that raises more questions about where those values go. As far as I can tell, if the delta (change) is calculated as {T1-T0}, then you adjust the x offset by plugging into the printer.cfg deltaX
[dual_carriage]
position_max: 559.2 #560 minus {delta x}
position_endstop: 559.2 #same
then for the y and z offsets, you goto the ratos-variables.cfg
idex_yoffset = 0.4 # 0 minus {delta y}
idex_zoffset = 0.1 # 0 minus {delta z}
Checking back on the camera (visible only on the laptop connected the VAOC camera) this all seems to work. But there are a bunch of other parameters which seem to be relavent to all these offsets. Can anyone tell me if this workaround is flawed?
Have same issue. Can see camera in mainsail but not with vaoc
You have any idea if this helps? This is the flag for the webstream failing causing the not found overlay. it points to that local address as the webcam source but that gives me a 404 error. however if i go to localaddress/webcam/stream it gives me the camera output.... is it just a matter of redirecting it somehow?

but then i find this. are you using a cb1? or you have a pi? https://github.com/Rat-OS/RatOS/issues/177
GitHub
VAOC cannot work on BTT CB1 showsâcannot open camera streamâ ¡ Issu...
What happened VAOC cannot work on BTT CB1 showsâcannot open camera streamâ What did you expect to happen I found Microsoft edge reporting open ratos/webrtc 404. I known only Raspberry Pi support we...
that is not a clean solution.
can you share ratos-debug.zip?