Skip to content

Commit 07f6ad9

Browse files
committed
added more links to the TUI in docs
1 parent 942d4aa commit 07f6ad9

File tree

7 files changed

+64
-1
lines changed

7 files changed

+64
-1
lines changed

docs/build/md/markdown/api/ms_operator/ms_operator.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,24 @@ currently exists.
204204

205205
## ms_operator.operator_tui module
206206

207+
### *class* ms_operator.operator_tui.GorillaSplash(art, palette_cycle=('gorilla0', 'gorilla1', 'gorilla2', 'gorilla1'), amplitude=3, wavelength=8.0, speed=0.6)
208+
209+
Bases: `object`
210+
211+
amplitude: max spaces to shift
212+
wavelength: how many lines per full sine cycle
213+
speed: phase advance per tick (bigger = faster)
214+
215+
* **Parameters:**
216+
* **art** (*str*)
217+
* **amplitude** (*int*)
218+
* **wavelength** (*float*)
219+
* **speed** (*float*)
220+
221+
#### widget()
222+
223+
#### tick()
224+
207225
### *class* ms_operator.operator_tui.TriStateCheckbox(label: str | tuple[Hashable, str] | list[str | tuple[Hashable, str]], state: bool = False, has_mixed: Literal[False] = False, on_state_change: Callable[[Self, bool, \_T], Any] | None = None, user_data: \_T = ..., checked_symbol: str | None = ...)
208226

209227
### *class* ms_operator.operator_tui.TriStateCheckbox(label: str | tuple[Hashable, str] | list[str | tuple[Hashable, str]], state: bool = False, has_mixed: Literal[False] = False, on_state_change: Callable[[Self, bool], Any] | None = None, user_data: None = None, checked_symbol: str | None = ...)

docs/build/md/markdown/manual/install.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ pixi run ros2 launch motion_stack moonbot_zero.launch.py
5151
pixi run ros2 launch rviz_basic rviz_simu.launch.py
5252
```
5353

54+
And have fun with the [Operator TUI](operator_tui.md#tui).
55+
56+
```bash
57+
# Terminal 3
58+
pixi run bash operator.bash
59+
```
60+
5461
<a id="install-source-label"></a>
5562

5663
# Installation from source
@@ -148,3 +155,11 @@ ros2 launch motion_stack moonbot_zero.launch.py
148155
# source your workspace and venv here
149156
ros2 launch rviz_basic rviz_simu.launch.py
150157
```
158+
159+
And have fun with the [Operator TUI](operator_tui.md#tui).
160+
161+
```bash
162+
# Terminal 3
163+
# source your workspace and venv here
164+
bash operator.bash
165+
```

docs/build/md/markdown/manual/operator_tui.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<a id="tui"></a>
2+
13
# Operator TUI
24

35
Welcome to the **Motion-Stack Operator** — a simple, text-based terminal user interface for interactively driving your robot’s legs, joints, wheels, and inverse-kinematics via ROS 2. This guide will walk you through launching, and basic usage of the TUI (textual user interface) and the keyboard inputs.

docs/build/md/markdown/manual/start.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ ros2 launch rviz_basic rviz_simu.launch.py # (separate terminal)
6666

6767
**You should see a robot!**
6868

69+
After reading the documentation, you can have fun with the [Operator TUI](operator_tui.md#tui).
70+
71+
```bash
72+
bash operator.bash # (separate terminal)
73+
```
74+
6975
## Parameters and Launchers
7076

7177
A customizable launching system is provided. It can be used (and modified) by your own packages.

docs/source/manual/install.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ You can launch the *Moonbot Zero*:
6464
# Terminal 2
6565
pixi run ros2 launch rviz_basic rviz_simu.launch.py
6666
67+
And have fun with the :ref:`tui`.
68+
69+
.. code-block:: bash
70+
71+
# Terminal 3
72+
pixi run bash operator.bash
73+
6774
6875
.. Tip::
6976

@@ -183,3 +190,11 @@ You can launch the *Moonbot Zero*:
183190
# Terminal 2
184191
# source your workspace and venv here
185192
ros2 launch rviz_basic rviz_simu.launch.py
193+
194+
And have fun with the :ref:`tui`.
195+
196+
.. code-block:: bash
197+
198+
# Terminal 3
199+
# source your workspace and venv here
200+
bash operator.bash

docs/source/manual/operator_tui.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.. _tui:
12
Operator TUI
23
==================
34

@@ -225,4 +226,4 @@ Buttons unresponsive
225226

226227
Rviz_simu not showing robot
227228
- Ensure that Fixed Frame in Rviz_simu is set to robot base link
228-
- Ensure that Description Topic in Rviz_simu is robot description topic
229+
- Ensure that Description Topic in Rviz_simu is robot description topic

docs/source/manual/start.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ If it's your first time launching, lvl1 is waiting for lvl0's data, which comes
8686
.. Caution::
8787
``rviz_simu.launch.py`` launches rviz and a simulation node that imitates a motor's response. When using the real robot, you must not use this additional node (it will interfere with messages from the motors). You should launch rviz without simulation using ``rviz_vizu.launch.py``
8888

89+
After reading the documentation, you can have fun with the :ref:`tui`.
90+
91+
.. code-block:: bash
92+
93+
bash operator.bash # (separate terminal)
94+
8995
Parameters and Launchers
9096
-------------------------
9197

0 commit comments

Comments
 (0)