/foxglove-depthai-spatial-detection-converter

Foxglove Extension to convert from ROS1 depthai_ros_msgs/SpatialDetectionArray to Foxglove's Image Annotation schema

Primary LanguageTypeScriptMIT LicenseMIT

Foxglove DepthAI Spatial Detection Message Converter

A Foxglove Studio Extension

Converts ROS1 depthai_ros_msgs/SpatialDetectionArray to the Foxglove ImageAnnotation schema. With this extension, the detected object bounding boxes and their best object ID hypothesis can be selected as image annotations in the Image panel.

Created using create-foxglove-extension.

Develop

Extension development uses the npm package manager to install development dependencies and run build scripts.

To install extension dependencies, run npm from the root of the extension package.

npm install

To build and install the extension into your local Foxglove Studio desktop app, run:

npm run local-install

Open the Foxglove Studio desktop (or ctrl-R to refresh if it is already open). Your extension is installed and available within the app.

Package

Extensions are packaged into .foxe files. These files contain the metadata (package.json) and the build code for the extension.

Before packaging, make sure to set name, publisher, version, and description fields in package.json. When ready to distribute the extension, run:

npm run package

This command will package the extension into a .foxe file in the local directory.

Publish

You can publish the extension for the public marketplace or privately for your organization.

See documentation here: https://foxglove.dev/docs/studio/extensions/publish#packaging-your-extension