MCPcopy Create free account
hub / github.com/google-deepmind/dm_control / Help

Class Help

dm_control/viewer/application.py:49–81  ·  view source on GitHub ↗

Contains the description of input map employed in the application.

Source from the content-addressed store, hash-verified

47
48
49class Help(views.ColumnTextModel):
50 """Contains the description of input map employed in the application."""
51
52 def __init__(self):
53 """Instance initializer."""
54 self._value = [
55 ['Help', 'F1'],
56 ['Info', 'F2'],
57 ['Stereo', 'F5'],
58 ['Frame', 'F6'],
59 ['Label', 'F7'],
60 ['--------------', ''],
61 ['Pause', 'Space'],
62 ['Reset', 'BackSpace'],
63 ['Autoscale', 'Ctrl A'],
64 ['Geoms', '0 - 4'],
65 ['Sites', 'Shift 0 - 4'],
66 ['Speed Up', '='],
67 ['Slow Down', '-'],
68 ['Switch Cam', '[ ]'],
69 ['--------------', ''],
70 ['Translate', 'R drag'],
71 ['Rotate', 'L drag'],
72 ['Zoom', 'Scroll'],
73 ['Select', 'L dblclick'],
74 ['Center', 'R dblclick'],
75 ['Track', 'Ctrl R dblclick / Esc'],
76 ['Perturb', 'Ctrl [Shift] L/R drag'],
77 ]
78
79 def get_columns(self):
80 """Returns the text to display in two columns."""
81 return self._value
82
83
84class Status(views.ColumnTextModel):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…