These instructions should outline how to:
- Turn On the Kinova Gen3 Robot
- Connect to It
- Check the emergency stop button (red button on top of yellow and black base). Turn/twist it to the right to verify that it has been released.
- Verify that the robot is plugged in (The power supply should have a blue LED glowing on it).
- Press and hold the silver power button (on the back of the robot’s base) for three seconds.
- Watch the start-up light sequence:
- Booting = flashing blue
- Initialization = steady blue + amber
- Ready = steady green
The options that we've currently explored for connecting to the robot are:
- Via Kinova Web App (Works on all OS)
- Via XBox Controller
- Via Kinova API (Solution Works on Mac OS X, Linux)
- Via kinova_drake (Solution Works only on Linux)
The last two options provide a way to programmatically control the arm. We will discuss how to use each of these methods in this document.
- Mac OS X Instructions
- Go to
Network
in System Preferences. - There should be a connection named
USB 10/100/1000 LAN
which should be connected/active. - Change the properties of the connection.
- Change 'Configure IPv4' to be determined 'Manually'
- Set IP Address to be
192.168.1.11
. - Choose the subnet
255.255.255.0
. - Press Apply.
- Type into the address bar of the browser:
http://192.168.1.10
. - Log in using the admin credentials:
- User:
admin
- Password:
admin
- User:
- Go to
TODO: Add instructions for connecting to the robot via the XBox Controller.
If you would like to use the Kinova Python API, these are the recommended instructions. This approach was verified on Kwesi's MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports).
- Download Docker [Getting Started with Docker].
- Download Visual Studio Code [Visual Studio].
- From inside Visual Studio Code, download the extensions:
Remote - Containers
andDocker
- Clone the OzayGroupExploration repository [GitHub].
- From the
OzayGroupExploration
directory run the following shell scripts:./shell-scripts/create-drake-v1-docker-image.sh
./shell-scripts/run-drake-v1-docker-container.sh
- Now that the Docker container is running, you will start Visual Studio Code and attach it to the container.
- One way to do this is to open Visual Studio Code:
- Find the Docker logo in the left hand side of the window and click it.
- On the following screen, there should be a list of containers with their statuses under the
Containers
tab. - The container
drake-image-v1
should be running. Right click on it and press theAttach Visual Studio Code
option. - A new window should open up that is attached to the container. (You will notice that on the left side of the screen you will have access to all of the files that come pre-installed in the container.)
- One way to do this is to open Visual Studio Code:
- (Bonus Step) If you want to check that the code is working, you can try to run the file
101-move_angular_and_cartesian.py
in thekortex > api_python > examples > 102-Movement_high_level
directory when the robot is connected. It should make the robot execute a sequence of movements.
There are some extra programs which are helpful for working with Docker, Drake and the robot. Their installation instructions are mentioned below.
Installing Docker on Linux somewhat varies depending on which OS you have.
On the lab's Ubuntu computer, I've used these instructions and they've worked well:
- Installing Docker Engine on Ubuntu
- Adding the Current User to a Privileged Docker group (so you don't need to use
sudo
every time you run docker)
Ideally, Docker will be installed before installing Visual Studio Code.
Visual Studio Code can be found and installed here: [Visual Studio]
After installation, there are a few extensions that help make it easier to work with Docker containers. Search in the extensions bar for the following:
- Docker
- Remote - Containers