Skip to content

Undefined tracking states #20

@jkaniuka

Description

@jkaniuka

Hi,

I was playing back rosbag with body tracking data recorded using ROS 2 wrapper. I've spotted that sometimes tracking_state equals 3 - this value is not mentioned in message definition file (see below).

# Tracking state
# 0 -> OFF (object not valid)
# 1 -> OK
# 2 -> SEARCHING (occlusion occurred, trajectory is estimated)
int8 tracking_state

I found this thread on Stereolabs Community - What does POSITIONAL_TRACKING_STATE = 5 indicate?. In API docs there are 6 values within POSITIONAL_TRACKING_STATE enum and only 3 of them were described in Object.msg file. Could you please clarify this? I think that adding constants in Object.msg is worth considering (see example below).

# Constants
int8 TRACKING_STATE_OFF = 0
int8 TRACKING_STATE_OK = 1
int8 TRACKING_STATE_SEARCHING = 2

# Tracking state
int8 tracking_state

Thanks in advance,
Jan 😎

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