April tag detection non- existent with errors

Hey,

we were trying to set up April pad detection on our AVR drone. In the process of doing so, we ran into multiple errors. We have tried flipping the cable (using both sides), different jetson development boards, different cameras, and cables. The only constant in our problem is the code we are running(attached code block). Any suggestions on how to fix this?

/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvparsers.so.8.0.1 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvinfer_plugin.so.8.0.1 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvinfer.so.8.0.1 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvonnxparser.so.8.0.1 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libnvidia-eglcore.so.32.6.1 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libnvidia-rmapi-tegra.so.32.6.1 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libnvisp_utils.so is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libnvidia-glcore.so.32.6.1 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libnvidia-glsi.so.32.6.1 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libnvidia-glvkspirv.so.32.6.1 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libnvidia-tls.so.32.6.1 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libnvpva.so is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libnvcuvidv4l2.so is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libv4l2_nvcuvidvideocodec.so is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libnvcapture.so is empty, not checked.
2023-11-07 23:49:06.271 | DEBUG    | bell.avr.mqtt.client:on_connect:292 - Connected with result 0
2023-11-07 23:49:06.273 | SUCCESS  | bell.avr.mqtt.client:on_connect:296 - Subscribed to: avr/apriltags/raw

Connecting...
...OK
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:740 No cameras available
[ WARN:0] global /opt/opencv/modules/videoio/src/cap_gstreamer.cpp (935) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1
made it past cap device
terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(4.5.0) /opt/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'

This is likely due to the camera not being connected. Try reconnecting the camera’s ribbon, then turn off and on the drone.

Hi, thanks for your response. We did try doing that but to no avail

The error says “No cameras available”, so it doesn’t detect the camera. You could try connecting the ribbon to the other port on the VMC and see if that fixes it.