Skip to content

Commit

Permalink
💡 Tips and tricks section (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
pattacini authored Jan 8, 2025
1 parent 3c8a4e0 commit 9af2c37
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
5 changes: 5 additions & 0 deletions docs/tips_tricks/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# :bulb:{.blink} Tips & Tricks

A list of useful and multi-purpose tips and tricks that can help you in your daily work.

- [Setup `tmux` infinite scroll](./tmux/infinite_scroll.md)
19 changes: 19 additions & 0 deletions docs/tips_tricks/tmux/infinite_scroll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Setup `tmux` infinite scroll

Sometimes it is useful to run the `yarprobotinterface` directly from the terminal. By using `tmux`, you can detach from the SSH session. However, by default, the scrollback is not infinite, and not all messages are streamed to the logger.

To overcome this limitation:

1. Install xclip with:
```console
sudo apt install xclip
```
2. Create a configuration file with:
```console
touch ~/.tmux.conf
```
3. Set the following content in the configuration file:
```
set -g mouse on
set -g history-limit 100000
```
9 changes: 6 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ nav:
- ergocub-head:
- Jetpack installation: icub_operating_systems/icubos/jetpack.md
- Post-flashing operations:
- Install CUDA libraries : icub_operating_systems/icubos/install-cuda-libraries.md
- Install CUDA libraries: icub_operating_systems/icubos/install-cuda-libraries.md
- Install librealsense: icub_operating_systems/icubos/install-librealsense.md
- Install jtop: icub_operating_systems/icubos/install-jtop.md
- Install CMake (only for Ubuntu 20.04): icub_operating_systems/icubos/install-cmake.md
Expand Down Expand Up @@ -254,12 +254,11 @@ nav:
- iCub Setup startup procedure: icub_operating_systems/startup-procedure.md
- NVIDIA JetPack installation: icub_operating_systems/icubos/jetpack.md
- Post-flashing operations:
- Install CUDA libraries : icub_operating_systems/icubos/install-cuda-libraries.md
- Install CUDA libraries: icub_operating_systems/icubos/install-cuda-libraries.md
- Install librealsense: icub_operating_systems/icubos/install-librealsense.md
- Install jtop: icub_operating_systems/icubos/install-jtop.md
- Install CMake (only for Ubuntu 20.04): icub_operating_systems/icubos/install-cmake.md
- Setup for FRAMOS-IMX415 (only for iCub head v2.10): icub_operating_systems/icubos/setup-framos-imx415.md

- iCub Setup Multiple Robots:
- Summary: icub_setup_multiple_robots/index.md
- How to use two iCub robots in gazebo simulation: icub_setup_multiple_robots/two_robots_simulation.md
Expand Down Expand Up @@ -322,3 +321,7 @@ nav:
- Overview of Temperature Sensors: temperature_sensors/general/overview.md
- Motor Temperature Data Flow: temperature_sensors/software/dataflow.md
- Reading Motor Temperature Data: temperature_sensors/software/reading_data.md

- 💡 Tips and Tricks:
- Summary: tips_tricks/index.md
- Setup tmux infinite scroll: tips_tricks/tmux/infinite_scroll.md

0 comments on commit 9af2c37

Please sign in to comment.