Inspect any ROS1 pipeline (i.e modules or packages); supposedly, the full system.
- Import the needed classes.
from inspector import Inspector, Module
- Add the modules to be inspected; the order does matter, for they are launched sequentially.
inspector = Inspector([
Module(pkg="mrpython_pcl", launch="lidar.launch"),
])
Moreover, you can add an accessory (e.g plotter, rviz, etc.)
inspector = Inspector([
Module(pkg="mrpython_pcl", launch="lidar.launch",
accessory_pkg="[pkg]", accessory_launch="[launch-file]",),
])
- Start inspection.
inspector.manual_inspect()
- Launch the supervisor
roslaunch supervisor supervisor.launch
- Inspect with actions.