Yup!
Nope!
Yup!
Nope!
How to use python script to control ROV navigation using Blue os system ? ( My goal is based on the visual ROV obstacle avoidance, if feasible, I want to use Blue os to extract OAK parsing video stream, and then through the path planning and control the ROV course ( up, down, left, right, rotation, acceleration, deceleration ) ) )
Hi @akang-211 -
Youâll need to develop a significant amount of software to make that work. Generally
Hi @akang-211 -
It looks like you are being blocked from reaching github. This can happen in some countries, or if your IP address has been blocked. Iâd recommend trying from another source of internet, like a cell-phone hotspot.
Are you able to install any other extensions?
I canât tell what version of BlueOS youâre running from the text in the lower left - is it not a standard stable or beta version?
Hi @akang-211
The issue is likely your internet connection / IP being blocked. Can you try another source of internet?
Please verify from the terminal that you can ping the internet, like the google dns server:
ping 8.8.8.8
Hi @akang-211 -
It looks like you have internet access, but I still suspect a firewall is blocking you from reaching github. Can you try another source of internet?
I can see the video streams now. The RGB video stream of the OAK camera is displayed on my cockpit client, and the parallax video stream is displayed on the browserâs Blue os. How can I make them display together on the cockpit client?
Hi @akang-211 -
Glad you resolved your video / configuration issues. You can learn more about how to configure extra video widgets here, and you can setup additional views to have different full screen or picture in picture configurations of the video widgets - see the earlier portions of that video.
Hi @akang-211 -
You may find that you need to calibrate the camera once immersed, if the depth image ceases to function well.
Itâs tough to recommend the best way to run the software you share without any links to an install process or description of what is being run - that looks like a windows program?
I googled depthai, and assuming your talking about the API provided by the camera manufacturer, it appears they have install instructions for Ubuntu. Setting up a github repository to build an extension, and adjusting the dockerfile to install the necessary dependencies and execute this install code can give you that software running on BlueOS. Fork this repository to get started! Then create a docker hub account and follow along with the extension documentation. If it makes the video streams you pictures available on a port it should be possible to embed this in Cockpit via an iFrame widget!
This thread may be of interest, to see and refer to what others have done previously.
If youâre wanting to draw custom annotations on the image then youâll need to either do that on the camera/RPi side and encode the annotated images into the video stream that gets sent to the topside, or send the annotation data separately and use it to draw the desired annotations at the receiving end.
The latter approach is likely preferable in the long term, although it could be somewhat complicated at the moment in a software like Cockpit, because itâs currently lacking dedicated widget overlay support. That said, it should already be possible for an OAK camera BlueOS Extension to provide an annotation-drawing widget to Cockpit as an iframe with a clear background, which could then be manually moved and resized to fit over the relevant video stream widget