11 Right Analog x/y: yaw/pitch of camera position 13 R3(Right Analog button): while holding down L3 button, buttons/sticks listed below work for RVizViewController 15 L1: set focus point to target pose of Pose6D 16 Up/Down/Left/Right : move focus point x/y 17 Left Analog y: move camera for eye direction (near/far) 18 Left Analog x: move focus point for eye direction (near/far) 19 R3 + L2 + R2: enable follow view mode 22 control_view [Boolean, default: True]: Use or not control rviz camera (this is for child class) 24 Note: code of joyCB is implemented in rviz_view_controller_singleton.py 25 Use TabletViewController(jsk_rviz_plugin) in rviz (selected at 'Views' Panel) 28 JSKJoyPlugin.__init__(self, name, args)
31 rospy.loginfo(
"Not using rviz view control")
32 RVizViewControllerManagerSingleton.camera_pub.unregister()
33 RVizViewControllerManagerSingleton.camera_sub.unregister()
34 def joyCB(self, status, history):
35 RVizViewControllerManagerSingleton.joyCB(status, history, self.pre_pose)
37 RVizViewControllerManagerSingleton.support_follow_view = val
40 RVizViewControllerManagerSingleton.follow_view = val
41 return RVizViewControllerManagerSingleton.follow_view
def joyCB(self, status, history)
def followView(self, val=None)
def __init__(self, name, args)
def supportFollowView(self, val)
def getArg(self, key, default=None)