lidar.connector.Connector Class
R2026bNamespace: lidar.connector
Description
The lidar.connector.Connector class creates an
interface between a custom visualization or analysis tool and a signal in the Multi-Sensor
Labeler app.
The lidar.connector.Connector class is a handle class.
Creation
The Connector class that is inherited from the Connector interface is called a
client.
The client can:
Sync an external tool to each frame change event for a specific signal loaded into the Multi-Sensor Labeler. Syncing allows you to control the external tool through the range slider and playback controls of the app.
Control the current time in the external tool and the corresponding display in the app.
Export custom labeled data from an external tool via the app.
To connect an external tool to the Multi-Sensor Labeler app, follow these steps:
Define a client class that inherits from
lidar.connector.Connector. You can use theConnectorclass template to define a class and implement your custom visualization or analysis tool. At the MATLAB® command prompt, enter:Follow the steps found in the template.lidar.connector.Connector.openTemplateInEditor
Save the file to any folder on the MATLAB path. Alternatively, save the file to a folder and add the folder to MATLAB path by using the
addpathfunction.
Properties
Methods
Tips
To open a template for creating a connector client class, at the command prompt enter:
lidar.connector.Connector.openTemplateInEditor
To keep an external tool synchronized with the app, specify timestamps that are at the same frame rate as the signals loaded in the app. If the tool visualizes data at a timestamp that is between two frames, then the app displays the frame that is at the previous timestamp.
Version History
Introduced in R2026b