Outils pour utilisateurs

Outils du site


gaze

Ceci est une ancienne révision du document !


Installation sur VGG

Installation ROS Kinetic

Setup your computer to accept software from packages.ros.org:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

Set up your keys:

sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116

Installation:

sudo apt-get update

Recommended:

sudo apt-get install ros-kinetic-desktop-full

Other:

sudo apt-get install ros-kinetic-desktop
sudo apt-get install ros-kinetic-ros-base

To find available packages, use:

apt-cache search ros-kinetic

Init rosdep:

sudo rosdep init
rosdep update

Environement setup:

echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc

Dependencies for building packages:

sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential

Create a ROS Workspace:

mkdir -p ~/catkin_ws
cd ~/catkin_ws
catkin_make

Source your new setup.*sh file:

source devel/setup.bash
echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc (not sure)

Create your workspace (Non-admin users)

Before you begin, make sure that ROS Kinetic is properly installed on computer:

export | grep ROS
result.txt
declare -x ROSLISP_PACKAGE_DIRECTORIES="/home/tdedieu/catkin_ws/devel/share/common-lisp"
declare -x ROS_DISTRO="kinetic"
declare -x ROS_ETC_DIR="/opt/ros/kinetic/etc/ros"
declare -x ROS_MASTER_URI="http://localhost:11311"
declare -x ROS_PACKAGE_PATH="/home/tdedieu/catkin_ws/src:/opt/ros/kinetic/share"
declare -x ROS_ROOT="/opt/ros/kinetic/share/ros"
declare -x ROS_VERSION="1"

Environement setup:

echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc

Create your Workspace:

mkdir -p ~/catkin_ws
cd ~/catkin_ws
mkdir src
catkin_make

Source your new setup.*sh file:

source devel/setup.bash
echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc

Note: Last command allows to avoid making the previous command at each new open terminal.

Now you can do this to go directly to package folder:

roscd <mypackage>

Copy your ros package in src/:

cp -r <your_path>/<your_package> ~/catkim_ws/src/

Example:

cp -r ~/Documents/mypackage/ ~/catkin_ws/src/

Compile your packages:

catkin_make

Driver ueye

mkdir -p ~/Download
cd ~/Download
wget http://homepages.laas.fr/bvandepo/files/ueye/uEye-Linux-4.90.06-64.tgz
mkdir -p uEye-Linux-4.90.06-64
cd uEye-Linux-4.90.06-64
tar xvf ../uEye-Linux-4.90.06-64.tgz
sudo ./ueyesdk-setup-4.90.06-usb-amd64.gz.run
result.txt
  Reload and retrigger udev to apply uEye rules...
***************************************************************************
Successfully installed ueyeusbd. Start (as root) with:
     /etc/init.d/ueyeusbdrc start
 
If ueyeusbd hangs and does not terminate on rc 'stop' command,
run (as root)
     /etc/init.d/ueyeusbdrc force-stop
 
NOTE that the daemon refuses to terminate if there are clients connected!
To uninstall, run '/usr/local/share/ueye/bin/ueyed_install-usb uninstall'.
 
If a graphical desktop environment is available, one may use the
uEye Camera Manager to configure cameras and services. To start
it, type idscameramanager on the command line or in the graphical application
launcher. If idscameramanager shall be used for daemon configuration and service
control, it _must_ be started as root.

Démarrage du driver (utilisateur tdedieu autorisé via visudo):

sudo /etc/init.d/ueyeusbdrc start

Arrêt du driver (utilisateur tdedieu autorisé via visudo):

sudo /etc/init.d/ueyeusbdrc stop
gaze.1528888606.txt.gz · Dernière modification : 2018/06/13 13:16 de tdedieu