Skip to content

debasmitdas/baxter_tictactoe

 
 

Repository files navigation

Baxter TicTacToe

Playing TicTacToe with the Baxter collaborative robot. This code is released under a GNU GPL v2 license (see LICENSE file for more information).

Requirements

  • a Baxter robot
  • a usb camera

Usage

Initialization

Obvious stuff:

  • make sure the Baxter is on
  • make sure the computer is on
  • make sure the Baxter and the computer are connected together
  • make sure the computer has some working speakers

Calibration

  • Make sure the board is empty
  • Open a new terminal
  • cd to ~/ros_ws
  • source devel/setup.bash
  • ./baxter.sh (this has to be done with any terminal that will interface with the Baxter)
  • rosrun baxter_tools tuck_arms.py -u
  • Manually move right arm outside camera's field of view (to be fixed)
  • roslaunch baxter_tictactoe tictactoe.launch
  • Correct board position by observing right arm movement
  • Exit program

Run the demo

  • Open a new terminal
  • cd to ~/ros_ws
  • source devel/setup.bash
  • ./baxter.sh (this has to be done with any terminal that will interface with the Baxter)
  • roslaunch baxter_tictactoe tictactoe.launch

Shut down the robot

  • Open a terminal:
  • cd to ~/ros_ws
  • source devel/setup.bash
  • ./baxter.sh (this has to be done with any terminal that will interface with the Baxter)
  • rosrun baxter_tools tuck_arms.py -t

About

Playing TicTacToe with the Baxter collaborative robot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 67.2%
  • Python 23.7%
  • CMake 5.3%
  • Shell 3.8%