First install the dependencies:
For unit testing, you'll need the googletest source package. Refer to Install googletest.
- ../libraries/YarpPlugins/AravisGigE
- ../libraries/YarpPlugins/CanBusHico
- ../libraries/YarpPlugins/CanBusPeak
- ../libraries/YarpPlugins/Jr3Pci
- ../libraries/YarpPlugins/LeapMotionSensor
- ../libraries/YarpPlugins/SpaceNavigator
- ../libraries/YarpPlugins/WiimoteSensor
- ../programs/grabberControls2Gui
- The following components additionally need some kind of CAN Bus driver (e.g. a CanBusHico or CanBusPeak):
Once the required dependencies have been installed, the code has to be compiled and installed. Note that you will be prompted for your password upon using sudo
a couple of times:
cd # go home
mkdir -p repos; cd repos # make $HOME/repos if it doesn't exist; then, enter it
git clone https://github.com/roboticslab-uc3m/yarp-devices.git # Download yarp-devices software from the repository
cd yarp-devices; mkdir build; cd build; cmake .. # Configure the yarp-devices software
make -j$(nproc) # Compile
sudo make install # Install :-)
sudo ldconfig # Just in case
Remember to enable the devices you want to compile using ccmake
instead of cmake
.
When installing GrabberControls2Gui, take into account the following points:
-
GrabberControls2Gui requires Python 3+ with custom yarp Python bindings installed. Currently, installing them is not an easy task (see comment348230791@roboticslab-uc3m/yarp-devices#145 and roboticslab-uc3m/installation-guides#26) but we expect this to change in the future.
-
Setup.py should take care of automatically installing the remaining dependencies for AravisGigEController (
sudo python3 setup.py install
).
- Usage instructions for the different devices contained in this repository can be found in each corresponding subdirectory.