hand_test.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 import rospy
4 from fsrobo_r_driver.robot_interface import RobotInterface
5 from fsrobo_r_driver.robot_tool_interface import RobotToolInterface
6 
7 if __name__ == '__main__':
8  rospy.init_node('hand_test', anonymous=True)
9  robot = RobotInterface()
10  tool = RobotToolInterface('generic_hand')
11  tool.close()
12  tool.open()
13  robot.set_tool(tool)
14  print robot.tool_move(z=30)


fsrobo_r_driver
Author(s): F-ROSROBO
autogenerated on Sun Feb 9 2020 03:58:29