From 36a769ae827d911e5000727505ec596d7b1e5eed Mon Sep 17 00:00:00 2001 From: Judson James Date: Wed, 5 Jun 2024 13:27:29 -0400 Subject: [PATCH 1/3] Specify MrCal JNI Dependencies if JNI doesn't load on Linux --- .../docs/installation/sw_install/linux-pc.rst | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/source/docs/installation/sw_install/linux-pc.rst b/source/docs/installation/sw_install/linux-pc.rst index 28997875..fa4e256d 100644 --- a/source/docs/installation/sw_install/linux-pc.rst +++ b/source/docs/installation/sw_install/linux-pc.rst @@ -39,3 +39,29 @@ If your computer has a compatible webcam connected, PhotonVision should startup Accessing the PhotonVision Interface ------------------------------------ Once the Java backend is up and running, you can access the main vision interface by navigating to ``localhost:5800`` inside your browser. + +MrCal JNI Error +--------------- +If you run into an issue running PhotonVision on Linux where it cannot load the MrCal JNI, you may need to install dependencies with the following command: + +.. code-block:: + + $ sudo apt install mrcal libmrcal-dev python3-mrcal + +If running an arm64 or architecture, you will need to add the following to your `/etc/apt/sources.list` + +.. code-block:: + + deb [trusted=yes] http://mrcal.secretsauce.net/packages/DISTRO/public/ DISTRO main + +Where `DISTRO` is one of: +- buster +- bulleye +- bookworm +- bionic +- focal +- jammy + +.. note:: + + Further information can be found at https://mrcal.secretsauce.net/install.html \ No newline at end of file From 83566a712ecb189cf349821a9e8d9cb61b832583 Mon Sep 17 00:00:00 2001 From: Judson James Date: Wed, 5 Jun 2024 13:29:39 -0400 Subject: [PATCH 2/3] Fix list formatting for distros --- source/docs/installation/sw_install/linux-pc.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/docs/installation/sw_install/linux-pc.rst b/source/docs/installation/sw_install/linux-pc.rst index fa4e256d..3fcdb1a2 100644 --- a/source/docs/installation/sw_install/linux-pc.rst +++ b/source/docs/installation/sw_install/linux-pc.rst @@ -55,11 +55,17 @@ If running an arm64 or architecture, you will need to add the following to your deb [trusted=yes] http://mrcal.secretsauce.net/packages/DISTRO/public/ DISTRO main Where `DISTRO` is one of: + - buster + - bulleye + - bookworm + - bionic + - focal + - jammy .. note:: From d6acbb2ebd34f5e9cd46e2c4b4c89d3c39eee463 Mon Sep 17 00:00:00 2001 From: Judson James Date: Wed, 5 Jun 2024 13:35:18 -0400 Subject: [PATCH 3/3] Fix newline for linting --- source/docs/installation/sw_install/linux-pc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/docs/installation/sw_install/linux-pc.rst b/source/docs/installation/sw_install/linux-pc.rst index 3fcdb1a2..01a5c10f 100644 --- a/source/docs/installation/sw_install/linux-pc.rst +++ b/source/docs/installation/sw_install/linux-pc.rst @@ -70,4 +70,4 @@ Where `DISTRO` is one of: .. note:: - Further information can be found at https://mrcal.secretsauce.net/install.html \ No newline at end of file + Further information can be found at https://mrcal.secretsauce.net/install.html