################################ Welcome to the Tesseract Igntion ################################
Install Ignition Libraries:
.. code-block:: bash
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable lsb_release -cs
main" > /etc/apt/sources.list.d/gazebo-stable.list'
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
sudo apt-get update
sudo apt install libignition-common3-dev libignition-common3-av-dev libignition-common3-events-dev libignition-common3-profiler-dev libignition-msgs5-dev libignition-rendering3-dev libignition-rendering3-ogre1-dev libignition-rendering3-ogre2-dev libignition-transport8-dev libignition-gui3-dev libignition-math6-eigen3-dev
For ignition to find the plugins built by this package you must set the following environment variable.
.. code-block:: bash
export IGN_GUI_PLUGIN_PATH=/home/
See Wiki <https://tesseract-ignition.readthedocs.io>
for link to the Snap Store <https://snapcraft.io/tesseract-ignition>
to download.
Note: If you want to include another package not in your path you can leverages the environment variable TSW_RESOURCE_PATH to do this shown below.
sudo snap refresh --candidate snapcraft
cd <workspace>
SNAPCRAFT_BUILD_ENVIRONMENT_MEMORY=16G snapcraft --enable-experimental-package-repositories
SNAPCRAFT_BUILD_ENVIRONMENT_MEMORY=16G snapcraft --enable-experimental-package-repositories --use-lxd
.. note::
--enable-experimental-package-repositories
because we are using version 4.0 which has not been released.snap install --dangerous tesseract-ignition_X.X_amd64.snap
snap connect tesseract-ignition:hostfs-opt-ros
Verify connection snap connections tesseract-ignition
.. code-block:: bash
Interface Plug Slot Notes content[icon-themes] tesseract-ignition:icon-themes gtk-common-themes:icon-themes - content[kde-frameworks-5-core18-all] tesseract-ignition:kde-frameworks-5-plug kde-frameworks-5-core18:kde-frameworks-5-core18-slot - content[sound-themes] tesseract-ignition:sound-themes gtk-common-themes:sound-themes - desktop tesseract-ignition:desktop :desktop - desktop-legacy tesseract-ignition:desktop-legacy :desktop-legacy - home tesseract-ignition:home :home - network tesseract-ignition:network :network - opengl tesseract-ignition:opengl :opengl - removable-media tesseract-ignition:removable-media - - system-files tesseract-ignition:hostfs-opt-ros :system-files manual wayland tesseract-ignition:wayland :wayland - x11 tesseract-ignition:x11 :x11 -
tesseract-ignition.tesseract-setup-wizard
.. note::
The risk-levels have the following meaning:
snap run --shell <command>
example snap run --shell tesseract-ignition.tesseract-setup-wizard
thing is a super useful way to test out the confinement profile of a given command, I use it all the time.It just opens a shell instead of running the command.The confinement-levels
Local intall location is /snap/
Use Label instead of Text because it respects Themes.
Use Frame instead of Rectangel because it respects Themes.
.. code-block:: qml
Control { anchors.centerIn: parent width: 200 height: width background: Rectangle { color: parent.Material.background border.color: parent.Material.foreground }
Label {
anchors.centerIn: parent
text: "some text"
font.pixelSize: 40
}
}
If using Theme do not manually set color, it is controlled by the Theme.
If using data models write your qml code to access the model through the object. This way if the model is assigned a different model your UI will continue to work.