event-driven
|
:warning: These instructions are the standard way to set-up the YARP/event-driven environment on an sd-card meant for the zcb or z-turn. If you already have a working sd-card you can simply copy the sd-card. You can find instructions for copying an sd-card at the bottom.
:warning: These instructions are only needed if your SD card has a fresh OS install and the event-driven
library is not yet compiled. These instructions shuold be performed on the ZCB/z-turn and not your own laptop.
As root:
Add line: icub ALL=(ALL:ALL) ALL
As icub:
~/projects
and installing into ~/install
. You will need to make these folders in the home directory of icub.As only basic YARP
support is needed, not all dependencies are required to be installed, instead install only:
The newest YARP requires CMake>3.5, which is not installable via apt
on the Debian 8.10 (jessie) distribution we have installed on the zynq. To upgrade CMake you need to install it via backports (reference: https://backports.debian.org/Instructions).
:warning: these instructions are out of date (see this solution)
To do so:
/etc/apt/sources.list
the line below: ```bash deb http://ftp.debian.org/debian jessie-backports main ``` Then: event-driven
master branch.We can consider updating the Debian distribution of the zynq boards since the Debian 8.10 is no longer supported by YARP
When installing event-driven
use the following options for cmake:
As icub:
Add lines:
Then
Add lines:
Check the device driver meta data:
Check the device driver parameters:
sudo gparted
(sudo apt-get install gparted
if needed)gparted
GUI should detect the SD/tmp
as a temporary location to store files if you cannot mount both SD cards simultaneously)sudo tar zcvf filesystem.tgz /media/$username/rootfs
(from the old SD - again do this in /tmp
)sudo sync
(ensure files are copied by flushing file writing queue)cd /media/$username/rootfs
(on the new SD)sudo tar zxvf /tmp/filesystem.tgz --strip-components=3
sudo sync