Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
c
d
e
f
g
h
i
m
o
p
r
s
t
u
w
z
Functions
+
Variables
a
c
d
f
h
i
o
p
r
s
t
u
z
Typedefs
Enumerations
+
Enumerator
a
e
f
g
i
m
p
s
w
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
o
p
q
r
s
t
u
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
+
Files
File List
+
File Members
All
Functions
scripts
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.robot_interface
Definition:
robot_interface.py:1
fsrobo_r_driver.robot_tool_interface.RobotToolInterface
Definition:
robot_tool_interface.py:38
fsrobo_r_driver.robot_interface.RobotInterface
Definition:
robot_interface.py:38
fsrobo_r_driver.robot_tool_interface
Definition:
robot_tool_interface.py:1
fsrobo_r_driver
Author(s): F-ROSROBO
autogenerated on Mon Feb 28 2022 22:27:23