User talk:S152751: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
Line 1: Line 1:
= Franka Emika Panda setup =  
= Franka Emika Panda setup =  
This page contains an overview of the steps taken in installing and configuring the franka emika panda robot.
This page contains information regarding the Franka Emika "Panda" robotic system at Eindhoven University of Technologies.
The page stages the hardware information, (to be) installed software and their respective installation manuals. (last updated 14-8-2020)


The Franka Emika Panda robot will be referred to as 'Panda'  
== System hardware ==
*Panda robot, serial: 289830-1326311
*Panda control box, FCI installed
*Tower PC, dual boot windows 10 - ubuntu 18.04 LTS. Detailed hardware info to be added
 
 
== Installed software ==
*Microsoft Windows 10
*Ubuntu 18.04 LTS, realtime kernel: "5.0.21-rt16.signed" During boot, choose 'advanced ubuntu options' and select kernel
*ROS Melodic desktop full
*ORCA  Optimization-based framework for Robotic Control Applications
*Franka-ros
*libfranka
*(ToBeInstalled) torque_qp
*VSCode
*Others
CMAKE, catkin, gcc, clang, curl, git


Page is under construction.
== Install manuals ==
== Installed system hardware ==
=== Ubuntu real time kernel ===
*Panda robot, serial: 289830-1326311
Setting up the realtime kernel: [https://frankaemika.github.io/docs/installation_linux.html#setting-up-the-real-time-kernel]
*Panda control box
If error regarding signature of kernel is thrown, use these extra steps to create a signed kernel: [https://askubuntu.com/a/1182830] + disable secure boot in BIOS
*PC info to be added
 
=== ORCA ===
Installation of ORCA and dependencies: [https://orca-controller.readthedocs.io/en/master/getting_started/install.html]
Note, installation of ORCA will also install iDynTree, qpOASES and Eigen3. Alternatively one could install the dependencies manually.
*git clone https://github.com/syroco/orca
*cd orca
*mkdir build ; cd build
*cmake .. -DCMAKE_BUILD_TYPE=Release
*cmake --build .
*sudo cmake --build . --target install
Depending on the installation, libaries and header files in subdirectories named with a version number may not be found. Symbolic links may be required for the package to work:
*sudo ln -s /usr/include/eigen3/Eigen /usr/include/Eigen
*sudo ln -s /usr/include/eigen3/unsupported /usr/include/unsupported
*sudo ln -s /usr/include/gazebo-9/gazebo /usr/include/gazebo
*sudo ln -s /usr/include/sdformat-6.0/sdf /usr/include/sdf
*sudo ln -s /usr/include/ignition/common1/ignition/common /usr/include/ignition/common
*sudo ln -s /usr/include/ignition/common1/ignition/common.hh /usr/include/ignition/common.hh
*sudo ln -s /usr/include/ignition/fuel_tools1/ignition/fuel_tools /usr/include/ignition/fuel_tools
*sudo ln -s /usr/include/ignition/fuel_tools1/ignition/fuel_tools.hh /usr/include/ignition/fuel_tools.hh
*sudo ln -s /usr/include/ignition/math4/ignition/math /usr/include/ignition/math
*sudo ln -s /usr/include/ignition/math4/ignition/math.hh /usr/include/ignition/math.hh
*sudo ln -s /usr/include/ignition/msgs1/ignition/msgs /usr/include/ignition/msgs
*sudo ln -s /usr/include/ignition/msgs1/ignition/msgs.hh /usr/include/ignition/msgs.hh
*sudo ln -s /usr/include/ignition/transport4/ignition/transport /usr/include/ignition/transport
*sudo ln -s /usr/include/ignition/transport4/ignition/transport.hh /usr/include/ignition/transport.hh
 
=== Libfranka / Franka-ros ===
https://frankaemika.github.io/docs/installation_linux.html#
=== torque_qp ===
 
=== VSCode extensions ===
*C/C++ for Visual Studio Code
*C++ Intellisense
*C/C++ Clang Command Adapter
*CMake
*CMake Tools


== Installing from scratch ==
=== others ===
*Install ubuntu. Version used: 18.04 LTS
*CMAKE. Installed via ubuntu software. Version > 3.1
*Update ubuntu
*Install VisualStudio Code (via ubuntu software)
*Setup exstensions for VSCode
**C/C++ for Visual Studio Code
**C++ Intellisense
**C/C++ Clang Command Adapter
**CMake
**CMake Tools
*Install CMAKE (via ubuntu software. Version >3.1)
*Install catkin (-y checks for dependencies)
*Install catkin (-y checks for dependencies)
** sudo sudo apt-get update -y
** sudo sudo apt-get update -y
** sudo apt-get install -y catkin
** sudo apt-get install -y catkin
*Install gcc > 4.8
*Install gcc Version > 4.8
** sudo apt-get update
** sudo apt-get update
** sudo apt-get install gcc
** sudo apt-get install gcc
*Install clang
*Install clang Version >3.8
** sudo apt-get update
** sudo apt-get update
** sudo apt-get install clang
** sudo apt-get install clang
Line 36: Line 79:
** sudo apt-get update
** sudo apt-get update
** sudo apt-get install git
** sudo apt-get install git
===ROS Melodic===
*REBOOT SYSTEM
*REBOOT SYSTEM
*Install ros-melodic-desctop-full
*Install ros-melodic-desctop-full [http://wiki.ros.org/melodic/Installation/Ubuntu]. Note: after install, rosdep might have to be installed manually (between step 1.4-1.5): sudo apt install python-rosdep2
**http://wiki.ros.org/melodic/Installation/Ubuntu
**after install, rosdep might have to be installed manually (between step 14-1.5): sudo apt install python-rosdep2


*NOTE: not needed, gazebo ROS comes with gazebo.Install gazebo (command will install latest version. Currently 9)
===Gazebo===
** curl -ssL http://get.gazebosim.org | sh
Gazebo-ros installed with ros melodic, thus manual install currently not needed. Manual install can be done via: curl -ssL http://get.gazebosim.org | sh


*Install ORCA. Note this will also install iDynTree, qpOASES and Eigen3. Git clone will make a folder called 'orca'. alternatively you can instlall the dependencies manually
**git clone https://github.com/syroco/orca
**cd orca
**mkdir build ; cd build
**cmake .. -DCMAKE_BUILD_TYPE=Release
**cmake --build .
**sudo cmake --build . --target install


*create symbolic links
== Notes ==
**sudo ln -s /usr/include/eigen3/Eigen /usr/include/Eigen
**sudo ln -s /usr/include/eigen3/unsupported /usr/include/unsupported
**sudo ln -s /usr/include/gazebo-9/gazebo /usr/include/gazebo
**sudo ln -s /usr/include/sdformat-6.0/sdf /usr/include/sdf
**sudo ln -s /usr/include/ignition/common1/ignition/common /usr/include/ignition/common
**sudo ln -s /usr/include/ignition/common1/ignition/common.hh /usr/include/ignition/common.hh
 
**sudo ln -s /usr/include/ignition/fuel_tools1/ignition/fuel_tools /usr/include/ignition/fuel_tools
**sudo ln -s /usr/include/ignition/fuel_tools1/ignition/fuel_tools.hh /usr/include/ignition/fuel_tools.hh
 
**sudo ln -s /usr/include/ignition/math4/ignition/math /usr/include/ignition/math
**sudo ln -s /usr/include/ignition/math4/ignition/math.hh /usr/include/ignition/math.hh
 
**sudo ln -s /usr/include/ignition/msgs1/ignition/msgs /usr/include/ignition/msgs
**sudo ln -s /usr/include/ignition/msgs1/ignition/msgs.hh /usr/include/ignition/msgs.hh
 
 
**sudo ln -s /usr/include/ignition/transport4/ignition/transport /usr/include/ignition/transport
**sudo ln -s /usr/include/ignition/transport4/ignition/transport.hh /usr/include/ignition/transport.hh
 
**install franka-ros and libfranka
 
 
*Windows 10, in dual boot system with Ubuntu (see below)
*Ubuntu 18.04 LTS
*Ubuntu 5.0.21-rt16 kernel. Note: use ubuntu 5.0.21-rt16.signed during boot
*CMake >3.1
*GCC >4.8
*Clang >3.8
*ORCAEditing User talk:S152751 (section) - Control Systems Technology Group
*iDYnTree (dependency of ORCA)
*qpOASES (dependency of ORCA)
*Eigen 3 (dependency of ORCA)
*Gazebo-9
*Libfranka
*ros-melodic
*FCI installed on robot control


sudo apt --fix-broken install
sudo apt --fix-broken install
== Install manuals ==
Installation of ORCA and dependencies: [https://orca-controller.readthedocs.io/en/master/getting_started/install.html]
Installation of libfranka: [https://frankaemika.github.io/docs/installation_linux.html]
Extra steps taken to achieve signed rt kernel: [https://askubuntu.com/a/1182830] + disable secure boot in BIOS
== Notes ==
check_urdf /path/to/file.urdf can be used to check urdf file itself
check_urdf /path/to/file.urdf can be used to check urdf file itself


Simulating fixed based panda robot needs a intermediate link (e.g. a table) between robot base and world (workaround)
Simulating fixed based panda robot needs a intermediate link (e.g. a table) between robot base and world (workaround)

Revision as of 08:00, 14 August 2020

Franka Emika Panda setup

This page contains information regarding the Franka Emika "Panda" robotic system at Eindhoven University of Technologies. The page stages the hardware information, (to be) installed software and their respective installation manuals. (last updated 14-8-2020)

System hardware

  • Panda robot, serial: 289830-1326311
  • Panda control box, FCI installed
  • Tower PC, dual boot windows 10 - ubuntu 18.04 LTS. Detailed hardware info to be added


Installed software

  • Microsoft Windows 10
  • Ubuntu 18.04 LTS, realtime kernel: "5.0.21-rt16.signed" During boot, choose 'advanced ubuntu options' and select kernel
  • ROS Melodic desktop full
  • ORCA Optimization-based framework for Robotic Control Applications
  • Franka-ros
  • libfranka
  • (ToBeInstalled) torque_qp
  • VSCode
  • Others

CMAKE, catkin, gcc, clang, curl, git

Install manuals

Ubuntu real time kernel

Setting up the realtime kernel: [1] If error regarding signature of kernel is thrown, use these extra steps to create a signed kernel: [2] + disable secure boot in BIOS

ORCA

Installation of ORCA and dependencies: [3] Note, installation of ORCA will also install iDynTree, qpOASES and Eigen3. Alternatively one could install the dependencies manually.

  • git clone https://github.com/syroco/orca
  • cd orca
  • mkdir build ; cd build
  • cmake .. -DCMAKE_BUILD_TYPE=Release
  • cmake --build .
  • sudo cmake --build . --target install

Depending on the installation, libaries and header files in subdirectories named with a version number may not be found. Symbolic links may be required for the package to work:

  • sudo ln -s /usr/include/eigen3/Eigen /usr/include/Eigen
  • sudo ln -s /usr/include/eigen3/unsupported /usr/include/unsupported
  • sudo ln -s /usr/include/gazebo-9/gazebo /usr/include/gazebo
  • sudo ln -s /usr/include/sdformat-6.0/sdf /usr/include/sdf
  • sudo ln -s /usr/include/ignition/common1/ignition/common /usr/include/ignition/common
  • sudo ln -s /usr/include/ignition/common1/ignition/common.hh /usr/include/ignition/common.hh
  • sudo ln -s /usr/include/ignition/fuel_tools1/ignition/fuel_tools /usr/include/ignition/fuel_tools
  • sudo ln -s /usr/include/ignition/fuel_tools1/ignition/fuel_tools.hh /usr/include/ignition/fuel_tools.hh
  • sudo ln -s /usr/include/ignition/math4/ignition/math /usr/include/ignition/math
  • sudo ln -s /usr/include/ignition/math4/ignition/math.hh /usr/include/ignition/math.hh
  • sudo ln -s /usr/include/ignition/msgs1/ignition/msgs /usr/include/ignition/msgs
  • sudo ln -s /usr/include/ignition/msgs1/ignition/msgs.hh /usr/include/ignition/msgs.hh
  • sudo ln -s /usr/include/ignition/transport4/ignition/transport /usr/include/ignition/transport
  • sudo ln -s /usr/include/ignition/transport4/ignition/transport.hh /usr/include/ignition/transport.hh

Libfranka / Franka-ros

https://frankaemika.github.io/docs/installation_linux.html#

torque_qp

VSCode extensions

  • C/C++ for Visual Studio Code
  • C++ Intellisense
  • C/C++ Clang Command Adapter
  • CMake
  • CMake Tools

others

  • CMAKE. Installed via ubuntu software. Version > 3.1
  • Install catkin (-y checks for dependencies)
    • sudo sudo apt-get update -y
    • sudo apt-get install -y catkin
  • Install gcc Version > 4.8
    • sudo apt-get update
    • sudo apt-get install gcc
  • Install clang Version >3.8
    • sudo apt-get update
    • sudo apt-get install clang
  • Install curl
    • sudo apt-get update
    • sudo apt-get install curl
  • Install git
    • sudo apt-get update
    • sudo apt-get install git

ROS Melodic

  • REBOOT SYSTEM
  • Install ros-melodic-desctop-full [4]. Note: after install, rosdep might have to be installed manually (between step 1.4-1.5): sudo apt install python-rosdep2

Gazebo

Gazebo-ros installed with ros melodic, thus manual install currently not needed. Manual install can be done via: curl -ssL http://get.gazebosim.org | sh


Notes

sudo apt --fix-broken install check_urdf /path/to/file.urdf can be used to check urdf file itself

Simulating fixed based panda robot needs a intermediate link (e.g. a table) between robot base and world (workaround)