GetRobotConfig#
The robot’s start profiles, as scripts/start.sh takes them (hf1/profiles/<name>.sh), and the one that runs. The goal is empty.
- Kind:
Action
- ROS type:
interfaces/action/GetRobotConfig- Python:
from interfaces.action import GetRobotConfig- C++:
#include "interfaces/action/get_robot_config.hpp"
Goal#
No fields.
Result#
Field |
Type |
Description |
|---|---|---|
|
|
0 on success; otherwise, the P2P status code of the failure: kUnavailableError (1) if the profiles cannot be read. |
|
|
The names of the available profiles, sorted. |
|
|
The profile that scripts/start.sh last started, or empty if unknown, as when the modules were started one by one. |
Feedback#
No fields.
Used on#
/get_robot_config (action): served by Motion (
motion_node).
Definition
# Request
# The robot's start profiles, as scripts/start.sh takes them (hf1/profiles/<name>.sh), and the one that
# runs. The goal is empty.
---
# Result
# 0 on success; otherwise, the P2P status code of the failure: kUnavailableError (1) if the profiles
# cannot be read.
int8 status_code
# The names of the available profiles, sorted.
string[] profiles
# The profile that scripts/start.sh last started, or empty if unknown, as when the modules were started
# one by one.
string running_profile
---
# Feedback