code allowing Baxter the robot to play chess against a human opponent
git clone https://github.com/kevinkengne/chess_baxter_human.git
git submodule update --init --recursive
Download the trained model:
https://drive.google.com/open?id=1VNXWBpbm8BN6mraHUzSQPguF2HFidSN9
copy it inside chess_baxter_human/Mask_RCNN/logs/
pip install -r requirements.txt
rosparam set usb_cam/image_width 960
rosparam set usb_cam/image_height 720
rosrun usb_cam usb_cam_node
rosrun baxter_interface joint_trajectory_action_server.py
roslaunch baxter_moveit_config baxter_grippers.launch
- Fill out scripts/measurements.py using print_joint_angles() from robot_pick_place.py
rosrun chess_baxter_human robot_pick_place
- Start the node that will record images
rosrun chess_baxter_human image_record
- Start the node that will get images ready for board state detection
rosrun chess_baxter_human image_to_squares
- Start the node that does the image inference
rosrun chess_baxter_human image_analysis
- Start the node that generates chess moves
rosrun chess_baxter_human chess_moves_generator
- Start the node responsible for the robotic manipulation
rosrun chess_baxter_human robot_pick_place