Skip to content
This repository has been archived by the owner on Jun 15, 2020. It is now read-only.

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nebbles committed Feb 4, 2018
1 parent cb3ac39 commit 898f4de
Show file tree
Hide file tree
Showing 4 changed files with 138 additions and 1 deletion.
21 changes: 21 additions & 0 deletions docs/source/documentation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
*************
Documentation
*************

reStructuredText
================

The documentation for this project is written in reStructuredText format. To assist this, the following resources should be acknowledged:

* RST Cheatsheet: https://github.com/ralsina/rst-cheatsheet/blob/master/rst-cheatsheet.rst
* RST Reference: http://docutils.sourceforge.net/docs/user/rst/quickref.html
* RST Primer: http://www.sphinx-doc.org/en/stable/rest.html

Sphinx & Read The Docs
======================

The following resources were useful in the setting up of Sphinx and Read The Docs for this project:

* Screencast: https://www.youtube.com/watch?v=oJsUvBQyHBs
* RTD Guide: https://docs.readthedocs.io/en/latest/getting_started.html
* Documenting a project with Sphinx (lecture): https://www.youtube.com/watch?v=QNHM7q2hLh8
58 changes: 58 additions & 0 deletions docs/source/franka.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
************
FRANKA Panda
************

Starting up the Panda
=====================

The Panda arm should be connected to the workshop floor controller and powered up. When booting, the arm LEDs will flash yellow. Once the arm is booted (solid yellow when completed) you should release the brakes by connecting a computer via ethernet to the base of the arm.

Log into the controller web interface (http://#) with:

* Username: ``robin``
* Password: ``panda``

To release the brakes:

#. Make sure the external activation device (EAD) is pressed down.
#. On the web interface, bottom right, *open* the brakes.
#. There will be a clicking noise from the arm.
#. Release the EAD button and the LED light should be solid white. This means the Arm is ready to be used.

.. attention::
The white light means the robot is in movement mode. The external activation device (EAD) / button is a software stop. It 'detaches' the arm from the controller which causes the arm to lock (yellow light on). It is **not** an emergency stop, as it does not cut power to the arm/controller.

With the Arm in movement mode, it can be manually manipulated by squeezing the buttons at the end effector. The Arm will automatically go into gravity compensation mode when manually moving it.

.. note::
When designing motion controllers, we are recommended to use impedance control, not high gain control. This will mean we can reduce the stiffness of the arm when moving making it safer for collaborative environments.

Networking with Panda
=====================

If you want to use a workstation computer to control the Arm without the web interface, first ensure you have completed the above steps to unlock the Arm brakes. Then move the ethernet cable from the base of the Arm, and connect it to the shop floor controller.

.. attention::
According to `FRANKA documentation <https://frankaemika.github.io/docs/getting_started.html#operating-the-robot>`_: "the workstation PC which commands your robot using the FCI must always be connected to the LAN port of Control (shop floor network) and **not** to the LAN port of the Arm (robot network)."

With the workstation computer connected to the shop floor controller, set a static IPv4 address from the computer in the ethernet settings. The recommended values are seen below:

======================= ============ ==============================
Device IP Address Notes
----------------------- ------------ ------------------------------
FRANKA Arm 192.168.1.0 This does not change
Shop floor (controller) 192.168.0.88 This does not change
Workstation 192.168.0.77 Should be static (in settings)
======================= ============ ==============================

.. important::
It is important to note that the IP address of the FRANKA Arm and shop floor controller are static and **should not be changed**. Use this table as reference.

You can confirm that the workstation computer is able to communicate with the workshop controller by pinging the IP address from the terminal: ``ping 192.168.0.88``

.. note:: Communicating with the Panda does not currently work over a network switch. The ethernet cable should be direct from shop floor controller to workstation computer. Unfortunately this means you computer will not be able to connect to the internet.

Panda Software
==============

The FRANKA Panda currently has ``v1.0.9`` which supports versions ``libfranka < 0.2.0``. Updates for the Panda can be found at: http://support.franka.de/
10 changes: 9 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@ Contents:

.. toctree::
:maxdepth: 2
:caption: Working with FRANKA Panda

franka
workstation

.. toctree::
:maxdepth: 2
:caption: Project Management

documentation


Indices and tables
Expand All @@ -19,4 +28,3 @@ Indices and tables
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

50 changes: 50 additions & 0 deletions docs/source/workstation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
****************************
Workstation set-up for Panda
****************************

.. note::
This page is yet to be completed.

Generally the set up procedure follows the guide provided on the `FRANKA documentation website <https://frankaemika.github.io/docs/installation.html>`_.

Requirements for FRANKA Workstation
===================================

#. Install the latest version of Ubuntu (may need to partition hard drive; use Boot Camp on Macintosh)
#. `Install the realtime kernel patch`_
#. Once completed, ensure you are running a real-time kernel with ``uname -r``
#. Install ROS Kinetic
#. Install ``libfranka`` and ``franka_ros``
#. TBD...

Install the realtime kernel patch
=================================

https://frankaemika.github.io/docs/installation.html#setting-up-the-real-time-kernel

Install ROS Kinetic
===================

http://wiki.ros.org/kinetic/Installation/Ubuntu

Install FRANKA Libraries
========================

Binary packages for ``libfranka`` and ``franka_ros`` are available from the ROS repositories. After setting up ROS Kinetic, execute::

sudo apt install ros-kinetic-libfranka ros-kinetic-franka-ros

.. attention:: It is recommended that you **DO NOT** install from source. There are lots of problems with compiling versions which work with the current firmware version of the Panda.

To install from source, you may need to use the following commands:

* ``$ git clone`` will give you the whole repository.
* ``$ git tag -l`` will list available tags.
* ``$ git checkout tags/<tag_name>`` will allow you to change repo to a specific tag, ``<tag_name>``.

If you use ``apt-get`` or ``apt`` to install a package on Ubuntu, you can use ``dpkg -L <packagename>`` to find where on the system the files for a particular package are installed.

Operating the robot
===================

https://frankaemika.github.io/docs/getting_started.html#operating-the-robot

0 comments on commit 898f4de

Please sign in to comment.