#copper #tui #real-time-monitoring #real-time

cu-consolemon

A monitoring TUI for Copper. See the main Copper repository for more information.

11 releases (5 breaking)

0.8.0 May 26, 2025
0.7.0 Mar 13, 2025
0.6.2 Jan 30, 2025
0.5.1 Dec 5, 2024
0.3.1 Oct 12, 2024

#411 in Robotics

Download history 153/week @ 2025-03-12 8/week @ 2025-03-19 8/week @ 2025-03-26 1/week @ 2025-04-02 8/week @ 2025-04-16 12/week @ 2025-04-30 1/week @ 2025-05-07 8/week @ 2025-05-14 99/week @ 2025-05-21 35/week @ 2025-05-28 7/week @ 2025-06-11 18/week @ 2025-06-18

134 downloads per month
Used in 4 crates (3 directly)

Apache-2.0 and maybe GPL-3.0-only

165KB
1.5K SLoC

ConsoleMon

Tasks

Note: This is part of the Copper project. See the main project page for context.

The ConsoleMon is a simple monitor that display the current state of the robot to the console in an TUI. It is useful for monitoring a robot quickly over ssh or in a terminal.

Usage

Add it as a dependency in your Cargo.toml:

[dependencies]
cu-consolemon = "*"

And in you copperconfig.ron:

(
    tasks: [
        ( ...
        ),
     ],
    cnx: [
        ( ... ),
    ],
    
    monitor: (
        type: "cu_consolemon::CuConsoleMon", // <== Here
    )
)

The monitor has 4 screens:

  • SysInfo: A quick system information screen (CPU, Memory, Distrib ...)
  • DAG: A Directed Acyclic Graph of the tasks with their real time error status and short string info.
  • Latencies: A list of the tasks with their real time latencies & assorted statistics (Jitter, Min, Max, Avg).
  • Memory Pools: A list of the memory pools with their real time usage and statistics (Pool ID, Used/Total, Buffer Size, Handles in Use, Handles/sec).
  • Debug Output debug_pane: A pane that displays debug logs in real-time.

debug_pane feature

Enabled by default. Disable with default-features = false. Displays real-time logs from log, cu29-log and stderr.

Dependencies

~29–69MB
~1M SLoC