3 from jsk_teleop_joy.joy_pose_6d
import JoyPose6D
6 imp.find_module(
"std_msgs")
8 import roslib; roslib.load_manifest(
'jsk_teleop_joy')
11 from std_msgs.msg
import String, Empty
12 from geometry_msgs.msg
import PoseStamped
13 import xml.etree.ElementTree
as ET
17 JoyPose6D.__init__(self, name, args)
18 self.supportFollowView(
True)
19 self.
frame_id = self.getArg(
'frame_id',
'/map')
21 self.
goal_pub = rospy.Publisher(
"goal", PoseStamped)
22 def joyCB(self, status, history):
23 JoyPose6D.joyCB(self, status, history)
24 latest = history.latest()
27 if status.circle
and not latest.circle:
29 if status.cross
and not latest.cross: