greenwave_monitor.ncurses_frontend module

Ncurses-based frontend for Greenwave Monitor.

This module provides a terminal-based interface for monitoring ROS2 topics with real-time diagnostics including publication rates, latency, and status.

class greenwave_monitor.ncurses_frontend.GreenwaveNcursesFrontend(*args: Any, **kwargs: Any)

Bases: Node

Ncurses frontend for Greenwave Monitor.

show_status(message: str)

Show a status message for 3 seconds.

toggle_topic_monitoring(topic_name: str) tuple[bool, str]

Toggle monitoring for a topic.

update_topic_list()

Periodically update the list of all available topics.

update_visible_topics()

Update the visible topics list based on current filters.

greenwave_monitor.ncurses_frontend.curses_main(stdscr, node)

Run the main curses UI loop for displaying topics and diagnostics.

greenwave_monitor.ncurses_frontend.main(args=None)

Entry point for the ncurses frontend application.

greenwave_monitor.ncurses_frontend.parse_args(args=None)

Parse command-line arguments.