Difference between revisions of "TinyCtrl Initial Setup of Linux Board"
From Wiki
(Created page with "''' Note that any Board that ordered from Commonplace Robotics will definitely have been set up like this already.''' However this document may provide some insight about what...") |
|||
Line 1: | Line 1: | ||
''' Note that any Board that ordered from Commonplace Robotics will definitely have been set up like this already.''' | ''' Note that any Board that ordered from Commonplace Robotics will definitely have been set up like this already.''' | ||
However this document may provide some insight about what is happening behind the scenes: | However this document may provide some insight about what is happening behind the scenes: | ||
+ | |||
+ | This is what we do to a virgin Phytec board when integrating it into a DCi robot. | ||
+ | |||
+ | This document assumes that you know what you're doing and that you are familiar with linux console environments. | ||
+ | |||
+ | ==Download== | ||
+ | Download the full, zipped folder structure: [[media:TinyCtrl_Full.zip|TinyCtrl_Full]] | ||
+ | |||
+ | ==Copy TinyCtrl/ into /home/root/== | ||
+ | scp TinyCtrl_Full.zip root@192.168.3.11:/home/root/ | ||
+ | unzip TinyCtrl_Full.zip | ||
+ | rm TinyCtrl_Full.zip | ||
+ | cd TinyCtrl | ||
+ | chmod +x TinyCtrl | ||
+ | chmod +x startBatch.sh | ||
+ | cd | ||
==Install TinyCtrl Service== | ==Install TinyCtrl Service== |
Revision as of 09:33, 22 June 2018
Note that any Board that ordered from Commonplace Robotics will definitely have been set up like this already. However this document may provide some insight about what is happening behind the scenes:
This is what we do to a virgin Phytec board when integrating it into a DCi robot.
This document assumes that you know what you're doing and that you are familiar with linux console environments.
Download
Download the full, zipped folder structure: TinyCtrl_Full
Copy TinyCtrl/ into /home/root/
scp TinyCtrl_Full.zip root@192.168.3.11:/home/root/ unzip TinyCtrl_Full.zip rm TinyCtrl_Full.zip cd TinyCtrl chmod +x TinyCtrl chmod +x startBatch.sh cd
Install TinyCtrl Service
vi /etc/system/system/autostart_tinyctrl.service
paste this:
# This is part of systemd.
[Unit]
Description=TinyCtrl autostart
DefaultDependencies=no
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/home/root/TinyCtrl/startBatch.sh
StandardOutput=syslog
[Install]
WantedBy=sysinit.target
save and close.
:wq!