Hi Support Team and Community,
I am trying to access Oak0 camera with DepthAI for obstacle detection. I was able to connect Oak1 camera with the following script. However, I am keep getting the connection error with Oak0, even with reboot camera and brain.
Is it the filter service taking IMU from Oak0 and making it unavailable with DepthAI? Is there any way to stop the filter service or any other service to release the camera?
I have already existed the camera app as described in this thread: How can I add DepthAI code and my own functions onto my OAK? - development - farm-ng
python test_camera.py
Failed to connect to device at 10.95.76.10: Failed to connect to device, error message: X_LINK_DEVICE_NOT_FOUND
import depthai as dai
OAK_IP_ADDRESS = "10.95.76.10"
device_info = dai.DeviceInfo(OAK_IP_ADDRESS)
pipeline = dai.Pipeline()
# Connect to the device using the specified IP address
try:
device = dai.Device(
pipeline, device_info,
maxUsbSpeed=dai.UsbSpeed.SUPER
)
print(f"Successfully connected to device with IP: {OAK_IP_ADDRESS}")
except RuntimeError as e:
print(f"Failed to connect to device at {OAK_IP_ADDRESS}: {e}")
ping -c 4 10.95.76.10
PING 10.95.76.10 (10.95.76.10) 56(84) bytes of data.
64 bytes from 10.95.76.10: icmp_seq=1 ttl=64 time=1.16 ms
64 bytes from 10.95.76.10: icmp_seq=2 ttl=64 time=0.468 ms
64 bytes from 10.95.76.10: icmp_seq=3 ttl=64 time=0.496 ms
64 bytes from 10.95.76.10: icmp_seq=4 ttl=64 time=0.450 ms
--- 10.95.76.10 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3044ms
rtt min/avg/max/mdev = 0.450/0.644/1.164/0.300 ms
- AmigaOS v2.3.1
- farm-ng-amiga 2.3.4
- farm-ng-core 2.3.2
- Python 3.10
- depthai v2.30.0.0
Thanks in advance!