Git Product home page Git Product logo

spot_ros's Introduction

Spot ROS Driver

CP Spot

If you prefer ROS2, a ROS2 version of this driver is also available.

Prerequisites

You should be using ROS noetic. ROS melodic can also be used but may require modifications to build correctly.

You must install the Boston Dynamics SDK on any machine that will run the driver.

pip3 install bosdyn-client bosdyn-mission bosdyn-api bosdyn-core

Quick start

Installing the packages

Go to the source directory of your ROS workspace and clone this repository with

git clone [email protected]:heuristicus/spot_ros.git

Then, initialise the submodule for the wrapper we use to interact with the Boston Dynamics SDK

cd spot_ros
git submodule init
git submodule update

Then, install the python package containing the wrapper

pip3 install -e spot_wrapper 

Build the ROS packages

catkin build spot_driver spot_viz

Finally, remember to source your workspace.

Connecting to the robot

To test functionality, it's easiest to connect to the robot via wifi. For actual operation it is recommended to connect to the robot directly through payload ports for higher bandwidth.

Connect to the robot's wifi network, usually found at SSID spot-BD-xxxxxxxx. The password for the network is found in the robot's battery compartment.

Once connected, verify that you can ping the robot with ping 192.168.80.3.

Start a roscore on your machine with roscore.

Run the driver with the username and password for the robot, again found in the battery compartment

roslaunch spot_driver driver.launch username:=user password:=[your-password] hostname:=192.168.80.3

You can then view and control the robot from the rviz interface by running

roslaunch spot_viz view_robot.launch

Documentation

More detailed documentation can be found here

MoveIt simulation of Spot's arm

Can be found here.

spot_ros's People

Contributors

heuristicus avatar estherray avatar dniewinski avatar sktometometo avatar maubrunn avatar civerachb-cpr avatar mqcmd196 avatar k-okada avatar mfheinemann avatar 708yamaguchi avatar harelb avatar jeremysee2 avatar tkmtnt7000 avatar grassjelly avatar kbrameld avatar lucasw avatar mariogini avatar matthew-rt avatar telios avatar 2b-t avatar wolfv avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.