Interfaces
The rosetta_interfaces package: three actions and three services. The nodes
also use std_srvs/srv/Trigger and std_srvs/srv/SetBool.
Actions
RecordEpisode
Server: episode_recorder_node, /record_episode.
Goal |
Type |
Meaning |
|---|---|---|
|
string |
Task label stored in the bag. Empty uses |
|
float64 |
Zero uses |
Result |
Type |
Meaning |
|---|---|---|
|
string |
|
|
string |
|
|
string |
|
|
int32 |
Feedback: elapsed_s float64, messages_written int32.
RunPolicy
Server: policy_runner_node, /run_policy.
Goal |
Type |
Meaning |
|---|---|---|
|
string |
Task string passed to the policy. |
|
float64 |
Zero uses |
Result |
Type |
Meaning |
|---|---|---|
|
string |
|
|
string |
Feedback: published_actions uint32, queue_depth uint32.
ManageEpisode
Server: hil_manager_node, /manage_episode.
Goal |
Type |
Meaning |
|---|---|---|
|
string |
|
|
float64 |
|
|
float64 |
Zero disables. |
Result |
Type |
Meaning |
|---|---|---|
|
string |
|
|
string |
|
|
string |
|
|
string |
|
|
float64 |
|
|
int32 |
Feedback: elapsed_s float64, current_reward float64, control_source
string (policy or teleop), outcome string, messages_written int32.
Services
Service |
Request |
Response |
|---|---|---|
|
|
|
|
|
|
|
|
|
A start service returns as soon as the work is accepted. Work started this
way has no goal. Stop it with the matching cancel service, or let
default_max_duration_s end it. Neither StartRecording nor StartPolicy
has a duration field. Both use default_max_duration_s.