Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Specify MrCal JNI Dependencies if JNI doesn't load on Linux #361

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions source/docs/installation/sw_install/linux-pc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,35 @@ 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`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Arm64 or architecture"?


.. code-block::

deb [trusted=yes] http://mrcal.secretsauce.net/packages/DISTRO/public/ DISTRO main

Where `DISTRO` is one of:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe mention how to tell what district you are on?


- buster

- bulleye

- bookworm

- bionic

- focal

- jammy

.. note::

Further information can be found at https://mrcal.secretsauce.net/install.html
Loading