Request: "Add ability to "Script access to pozyx ID (so we can change name or other properties based on specific ags)"
This adds a new trackerId property to agents. You can check the property and take action.
TrackerIds should correspond to both the Pozyx tag id and the PTrack id.
If the agent is not linked to a tracker object, it will fall back to using the agent name, e.g. Fish5.
For example, to assign a trackerId to a specific name, you could use this:
Merges dev-bl/script-pozyx-id -> dev-next
Request: "Add ability to "Script access to pozyx ID (so we can change name or other properties based on specific ags)"
This adds a new
trackerId
property to agents. You can check the property and take action. TrackerIds should correspond to both the Pozyx tag id and the PTrack id. If the agent is not linked to a tracker object, it will fall back to using the agentname
, e.g.Fish5
.For example, to assign a trackerId to a specific name, you could use this:
Alternatively, you could set it directly (since
textProp
refers to an agent prop):