Skip to content

Would like a way to not run rosmaster #11

Open
@frankjoshua

Description

@frankjoshua

It would be great to have some sort of flag or environmental variable to not start a ROS master. My use case is that I want to use Jupyter lab in an existing system with an already running master. It could be accomplished by adding --wait before roslaunch.

In https://github.com/RoboStack/jupyterlab-ros/blob/70b0582b834fa0ca9b03acc75226696de0758d23/jupyter_ros_server/api/master.py
cls.thread = Thread(target=cls.run, args=([path.join(getEnv(), 'roslaunch'), getMaster()],))
becomes
cls.thread = Thread(target=cls.run, args=([path.join(getEnv(), 'roslaunch --wait'), getMaster()],))

Is this an unusual use case? If so I could also just fork and change for my purpose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions