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...
14 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?
Sorry for the late reply. The crowsnest log shows it loading the device into video0 with camera-streamer. but still vaoc screen says not found.
just an update on digging into the system...
The camara-streamer service is functioning and running. I can confirm easily the stream in my webbrowser by going to the URL
ratrigos.local:8080/video.mkv?
(i named my printer slightly different than the default)
When i go into the webcam settings in mainsail and manually add a camera, it works find for Adaptive MJPEG-streamer, but not for camera-streamer, even when i update the URLs to the video.mkv or mp4, m3u8
I tried aswell /webcam/video.mkv
Also strange is the URL for stream does nothing, while changing the URL for snapshot will break even the MJPEG video stream.
the pages
http://ratrigos.local:8080/
http://ratrigos.local/webcam/
both show exactly the same thing.
I didnt see any [webcams] entry in the moonraker so just for a try i added
[webcams]
[[vaoc_cam]]
url = http://ratrigos.local:8080/video.mkv
flip_horizontal = false
flip_vertical = false
rotate = 0
snapshot_url = http://ratrigos.local:8080/snapshot
stream_format = mjpeg
but nothing. variants on vaoc_cam to mainsail aswell.
you don't need anything on moonraker. The VAOC cam has nothing to do with moonraker.
Also, the boudle brackets [[ ]] never help on any situation.
For mjpeg-streamer to work you need also to change that setting on crowsnest. But VAOC works with carera-streamer instead of ustreamer
also, the mkv extensions are not needed anywhere in the config. Juist use everything on the commissioning guide. If the camera does not work, start from there. Without any config changes. They are prooven to work correctly.
and don't mix camera-streammer with any other service like mjpg-streamer. otherwise nothing works.
remove the lines you included above, they are only messing things up.
I followed the commissioning guide exactly, retried multiple times being very meticulous about it. The VAOC didnt work. Thats why I opened this thread. The debug file above shows my setup with all the commissioning guide steps and settings.
the only URL that matters is http://ratrigos.local/webcam/webrtc
Your config looks correct, try changing
log_level: verbose
to log_level: debug
in your crowsnest.conf, then restart crowsnest and try VAOC again, then post another debug zip