DaddyTheRunner
Posts: 8
Joined: Sun Sep 13, 2015 11:56 pm

Full install of RTIMULib?

Mon Oct 19, 2015 3:26 am

Question: Does the "official" Sense-Hat installation procedure (ref: https://www.raspberrypi.org/documentati ... /README.md) include a complete installation of RTIMULib?

If it does, I can't seem to find all of the directories contained in the GitHub repo (ref: https://github.com/RPi-Distro/RTIMULib). Here is a list of what got installed on my RPi:

Code: Select all

pi@raspberrypi /usr/src/sense-hat/examples/RTIMULib $ ls -l
total 16
drwxr-xr-x 2 root root 4096 Oct 14 23:10 python
drwxr-xr-x 2 root root 4096 Oct 14 23:10 RTIMULibDrive
drwxr-xr-x 2 root root 4096 Oct 14 23:10 RTIMULibDrive10
drwxr-xr-x 2 root root 4096 Oct 14 23:10 RTIMULibDrive11
This list most closely resembles the RITMULib/linux folder in the GitHub repo. However, there are several additional folders in the GitHub repo (e.g. a Cal, Demo, and DemoGL to name a few). I know the compiled RTIMULibCal program has been installed in /usr/bin. When I attempt to find any other RTIMULib executables on the path I don't find any.

If the full RTIMULib is not part of the "official" installation, is there an easy way to get it using apt-get? Or should I just clone the repo? If I clone the GitHub repo, what precautions should I take to prevent breaking my current Sense-Hat installation?

I am particularly interested in trying out the RTIMULibDemo and RTIMULibDemoGL programs and performing a full calibration.

I know for a full calibration I need to install Octave. But I want to get my RTIMULib house in order first and then move on to adding Octave and performing a full calibration.

Thanks in advance!

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Full install of RTIMULib?

Mon Oct 19, 2015 10:59 am

I would recommend downloading it from the repo if you need everything. The apt package only contains the library itself and a few of the programs (the non-gl demo and the calibration program).

Return to “Astro Pi”