Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User-friendly startup and logging #218

Open
4 tasks
Terracom12 opened this issue Aug 7, 2024 · 2 comments
Open
4 tasks

User-friendly startup and logging #218

Terracom12 opened this issue Aug 7, 2024 · 2 comments
Labels
help wanted Extra attention is needed systems

Comments

@Terracom12
Copy link
Member

Terracom12 commented Aug 7, 2024

Related to #214

Before the web interface, there needs to be a usable api for launching ros2 nodes. Also a simple way to startup the GUI itself. Changing the Makefile into a python script might be ideal; this would provide both cli tools and an api.

A few things this interface should be capable of doing:

  • Setting log level (per-node) and redirecting logs
  • Starting up arbitrary nodes and groups of nodes (i.e. for a specific mission)
  • Multiplexing the output of each launch program into a terminal pane
    • Move away from Terminator for this, as its config options for this sort of workflow are rather terrible. Kitty is a decent alternative, but its not POSIX compliant and doesn't function well over ssh out of the box. Tmux with any arbitrary terminal would probably be ideal.
    • This also encompasses automatically sshing and attempting to run the specified programs there
  • Thorough error handling. Anyone (non-programming members) might be using the cli before the gui gets integrated, so this is essential.
    • A few example errors/warnings that should be caught, and automatically solved if possible: missing or outdated repository, device not found (ssh), required package not installed, etc.
@Terracom12 Terracom12 added help wanted Extra attention is needed systems labels Aug 7, 2024
@Terracom12
Copy link
Member Author

This looks like a viable solution for a centralized launch system on ROS2 forums.

It's a little bit complex, and it seems like remote launching was a proposed feature in ROS2 a few years back, so we should look into whether they made any progress on implementing that.

@Terracom12
Copy link
Member Author

This repo might prove helpful: https://github.com/paramiko/paramiko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed systems
Projects
None yet
Development

No branches or pull requests

1 participant