restart_service
Restart a critical ROS service by killing its process and relaunching it in the background. Requires explicit confirmation to prevent accidental disruption; verify occupancy topic data after restart.
Instructions
重启关键 ROS 服务(先杀进程,再后台启动)。
当前支持: ego_planner(obj_nav.launch)。 安全设计:confirm 必须显式传 True 才执行,防止误杀正在运行的服务。 重启后请调用 ros_topic_status 验证 occupancy 话题有数据才算成功。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| service | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |