
Public Member Functions | |
| def | __init__ (self, name, args) |
| def | followView (self, val=None) |
| def | joyCB (self, status, history) |
| def | supportFollowView (self, val) |
Public Member Functions inherited from jsk_teleop_joy.joy_plugin.JSKJoyPlugin | |
| def | __init__ (self, name, args) |
| def | disable (self) |
| def | enable (self) |
| def | getArg (self, key, default=None) |
| def | joyCB (self, status) |
| def | registerManager (self, manager) |
Public Attributes | |
| control_view | |
Public Attributes inherited from jsk_teleop_joy.joy_plugin.JSKJoyPlugin | |
| args | |
| manager | |
| name | |
Usage:
Right Analog x/y: yaw/pitch of camera position
R3(Right Analog button): while holding down L3 button, buttons/sticks listed below work for RVizViewController
L3: reset camera pose
L1: set focus point to target pose of Pose6D
Up/Down/Left/Right : move focus point x/y
Left Analog y: move camera for eye direction (near/far)
Left Analog x: move focus point for eye direction (near/far)
R3 + L2 + R2: enable follow view mode
Args:
control_view [Boolean, default: True]: Use or not control rviz camera (this is for child class)
Note: code of joyCB is implemented in rviz_view_controller_singleton.py
Use TabletViewController(jsk_rviz_plugin) in rviz (selected at 'Views' Panel)
Definition at line 8 of file joy_rviz_view_controller.py.
| def jsk_teleop_joy.plugin.joy_rviz_view_controller.RVizViewController.__init__ | ( | self, | |
| name, | |||
| args | |||
| ) |
Definition at line 27 of file joy_rviz_view_controller.py.
| def jsk_teleop_joy.plugin.joy_rviz_view_controller.RVizViewController.followView | ( | self, | |
val = None |
|||
| ) |
Definition at line 38 of file joy_rviz_view_controller.py.
| def jsk_teleop_joy.plugin.joy_rviz_view_controller.RVizViewController.joyCB | ( | self, | |
| status, | |||
| history | |||
| ) |
Definition at line 34 of file joy_rviz_view_controller.py.
| def jsk_teleop_joy.plugin.joy_rviz_view_controller.RVizViewController.supportFollowView | ( | self, | |
| val | |||
| ) |
Definition at line 36 of file joy_rviz_view_controller.py.
| jsk_teleop_joy.plugin.joy_rviz_view_controller.RVizViewController.control_view |
Definition at line 29 of file joy_rviz_view_controller.py.