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

status_code

int8

0 on success; otherwise, the P2P status code of the failure: kUnavailableError (1) if the profiles cannot be read.

profiles

string[]

The names of the available profiles, sorted.

running_profile

string

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#

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