Go to the documentation of this file.00001
00002
00003 from jsk_teleop_joy.plugin.rviz_view_controller_singleton import RVizViewControllerManagerSingleton
00004 from jsk_teleop_joy.joy_plugin import JSKJoyPlugin
00005
00006
00007 class RVizViewController(JSKJoyPlugin):
00008 def __init__(self, name, args):
00009 JSKJoyPlugin.__init__(self, name, args)
00010 def joyCB(self, status, history):
00011 RVizViewControllerManagerSingleton.joyCB(status, history, self.pre_pose)
00012 def supportFollowView(self, val):
00013 RVizViewControllerManagerSingleton.support_follow_view = val
00014 def followView(self, val=None):
00015 if val != None:
00016 RVizViewControllerManagerSingleton.follow_view = val
00017 return RVizViewControllerManagerSingleton.follow_view
00018