hbp_nrp_cleserver.server.ROSLaunch module

Wrapper for roslaunch functionality, which must be run on a “main” thread.

class ROSLaunch(launch_file)[source]

Bases: object

Use the roslaunch API within its own process to prevent threading issues and minimize re-implementation within the NRP. Provides clean startup/shutdown/exception handling.

shutdown()[source]

Terminate the roslaunch process and any child nodes.