Skip to content

irregularity in task message fields #618

@M1chaelM

Description

@M1chaelM

Echoing the vrx/task/info message and grepping for the name field shows that the order of the fields displayed is not consistent:

$ ros2 topic echo /vrx/task/info | grep name
- name: name
- name: num_collisions
- name: ready_time
- name: state
- name: running_time
- name: remaining_time
- name: score
- name: timed_out
- name: elapsed_time

- name: name
- name: num_collisions
- name: ready_time
- name: running_time
- name: remaining_time
- name: score
- name: timed_out
- name: elapsed_time

- name: name
- name: num_collisions
- name: ready_time
- name: state
- name: state
- name: running_time
- name: remaining_time
- name: score
- name: timed_out
- name: elapsed_time

In the output above, it looks like the state field was delayed and then displayed twice in a row. I ran a few tests of this and saw some significant variations over the course of a given task. These fluctuations make the output more difficult to read.

@caguero Do you have any theories as to why this is happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions