Skip to content

betab0t/vector_ros_driver

Repository files navigation

vector_ros_driver

This repository contains a ROS package to control physical Anki Vector home robot. For more information please visit vector_ros main repository.

Setup

Docker Image

It's highly recommended to use the supplied Dockerfile instead of installing directly on your machine mainly because of the tricky setup required to run Python 3 properly on ROS. If you wish to do this setup by yourself then I wrote a blog post explaining how that you can use, else follow these instructions:

  1. Install Docker if you dont have it already installed
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install -y docker-ce
  1. Run using pre-built image from DockerHub, params are passed view environment variables:
sudo docker run -e ANKI_USER_EMAIL=<EMAIL> -e ANKI_USER_PASSWORD=<PASSWORD> -e VECTOR_IP=<VECTOR_IP> -e VECTOR_SERIAL=<VECTOR_SERIAL> -e VECTOR_NAME=<VECTOR_NAME> --network host -it betab0t/vector-ros-driver

Notice! Use your Anki Developer username and password

  1. You can now execute rostopic list on your host machine the verify everything works

FAQ

Notes

To avoid problems authenticating with Anki Cloud, it's better to avoid using in the password special characters like $.