Skip to content

Commit f08c82c

Browse files
[python] Remove RosJointState from ros.py
1 parent 72502c9 commit f08c82c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/dynamic_graph/ros/ros.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from ros_publish import RosPublish
22
from ros_subscribe import RosSubscribe
3-
from ros_joint_state import RosJointState
43
from ros_time import RosTime
54

65
from dynamic_graph import plug
@@ -9,7 +8,6 @@ class Ros(object):
98
device = None
109
rosPublish = None
1110
rosSubscribe = None
12-
rosJointState = None
1311

1412
# aliases, for retro compatibility
1513
rosImport = None
@@ -19,15 +17,10 @@ def __init__(self, robot, suffix = ''):
1917
self.robot = robot
2018
self.rosPublish = RosPublish('rosPublish{0}'.format(suffix))
2119
self.rosSubscribe = RosSubscribe('rosSubscribe{0}'.format(suffix))
22-
self.rosJointState = RosJointState('rosJointState{0}'.format(suffix))
23-
self.rosJointState.retrieveJointNames(self.robot.dynamic.name)
2420
self.rosTime = RosTime ('rosTime{0}'.format(suffix))
2521

26-
plug(self.robot.device.state, self.rosJointState.state)
2722
self.robot.device.after.addSignal(
2823
'{0}.trigger'.format(self.rosPublish.name))
29-
self.robot.device.after.addSignal(
30-
'{0}.trigger'.format(self.rosJointState.name))
3124

3225
# aliases, for retro compatibility
3326
self.rosImport=self.rosPublish

0 commit comments

Comments
 (0)