Author: Tianyu Li
This project utilizes data-driven approach to teach a Sawyer robot to play yoyo. There are two high speed cameras with perpendicular view to each other to provide state esimation. The package also contains a visual feedback controller for demonstrations. Currently it is still under development further for research.
intera_sdk from Rethink Robotics
sawyer_kdl https://github.com/wuphilipp/sawyer_kdl
orocos_kd https://github.com/orocos/orocos_kinematics_dynamics
AprilTag
UEye (for Edmund Optics Camera)
Spinnaker (for Blackfly Camera)
Pygame (mainly for user interface)
- Turn on Sawyer
- Connect with Sawyer through Ethernet, and
nmcli connection up Rethink
- Ping 10.42.0.2 or
sawyer.local
to confirm connection - Set environment variables
export ROS_MASTER_URI=http://10.42.0.2:11311
export ROS_IP=10.42.0.1
unset ROS_HOSTNAME
- source rethink workspace
source rethink_ws/devel/setup.bash
- Enable the robot
rosrun intera_interface enable_robot.py -e
- Run the joint_server
rosrun intera_interface joint_trajectory_action_server.py
- Open a new terminal window
- cd into yoyo workspace and do
catkin_make
andsource devel/setup.bash
- cd into rethink workspace, and
rm -rf
thebuild
anddevel
folders catkin_make
in the rethink workspace and dosource devel/setup.bash
roslaunch sawyer_move sawyer.launch
- Wind the yoyo up
- At the pygame window, press
q
to start