#real-time #copper #middleware #task

cu-consolemon

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

5 unstable releases

new 0.5.1 Dec 5, 2024
0.5.0 Dec 2, 2024
0.4.1 Nov 15, 2024
0.4.0 Oct 29, 2024
0.3.1 Oct 12, 2024

#302 in Robotics

Download history 190/week @ 2024-10-09 26/week @ 2024-10-16 93/week @ 2024-10-23 64/week @ 2024-10-30 16/week @ 2024-11-06 121/week @ 2024-11-13 23/week @ 2024-11-20 140/week @ 2024-11-27 192/week @ 2024-12-04

477 downloads per month
Used in 3 crates

Apache-2.0 and maybe GPL-3.0-only

205KB
3K 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 3 screens:

  • SysInfo: A quick sustem 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).

Dependencies

~24–59MB
~1M SLoC