RunProfile#

Runs a start profile as the robot does at boot, through the hf1 service on the host (scripts/run_profile.sh): all modules stop, the motion module that serves this action too, and those of the profile start. The result is sent once the request is made, before the modules stop; GetRobotConfig tells the running profile once they are up again.

Kind:

Action

ROS type:

interfaces/action/RunProfile

Python:

from interfaces.action import RunProfile

C++:

#include "interfaces/action/run_profile.hpp"

Goal#

Field

Type

Description

profile

string

The profile’s name, as GetRobotConfig lists it.

Result#

Field

Type

Description

status_code

int8

0 if the profile was requested. Otherwise, the P2P status code of the failure: kMalformedError (2) if the name has characters other than letters, digits, ‘_’ and ‘-’; kDoesNotExistError (4) if there is no such profile; kUnavailableError (1) if the request could not be made.

Feedback#

No fields.

Used on#

Definition
# Request
# Runs a start profile as the robot does at boot, through the hf1 service on the host
# (scripts/run_profile.sh): all modules stop, the motion module that serves this action too, and those of
# the profile start. The result is sent once the request is made, before the modules stop; GetRobotConfig
# tells the running profile once they are up again.

# The profile's name, as GetRobotConfig lists it.
string profile

---
# Result

# 0 if the profile was requested. Otherwise, the P2P status code of the failure: kMalformedError (2) if
# the name has characters other than letters, digits, '_' and '-'; kDoesNotExistError (4) if there is no
# such profile; kUnavailableError (1) if the request could not be made.
int8 status_code

---
# Feedback