The source design is available on Onshape at this link. The design is available for download on Printables at this link. The protective cap for the Livox 360 can be found on Printables at this link.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential cmake git rapidjson-dev debhelper build-essential ntfs-3g
sudo nano /etc/dhcpcd.conf
And add in the end:
interface eth0
static ip_address=192.168.1.5/24
static routers=0.0.0.0
git clone https://github.com/JanuszBedkowski/mandeye_controller.git
cd mandeye_controller
git submodule init
git submodule update
mkdir -p build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j4
Follow manual for build and configuration of USB mount https://gist.github.com/michalpelka/82d44a21c29f34ee5320c349f8bbf683
cd /tmp
git clone https://github.com/rbrito/usbmount.git
cd usbmount
dpkg-buildpackage -us -uc -b
cd ..
sudo apt install ./usbmount_0.0.24_all.deb
Edit config sudo nano /etc/usbmount/usbmount.conf
:
by changing keys:
FILESYSTEMS="vfat ext2 ext3 ext4 hfsplus ntfs fuseblk"
FS_MOUNTOPTIONS="-fstype=vfat,users,rw,umask=000 -fstype=exfat,users,rw,umask=000"
VERBOSE=yes
Install udev rules:
sudo mkdir /etc/systemd/system/systemd-udevd.service.d
sudo nano -w /etc/systemd/system/systemd-udevd.service.d/00-my-custom-mountflags.conf
and add content:
[Service]
PrivateMounts=no
Restart udev:
sudo systemctl daemon-reexec
sudo service systemd-udevd restart
Verify if usb mount works correclty:
touch /media/usb/test
tail -f /var/log/syslog