Repository navigation
Developer
Documentation for plugin-official, the package of built-in Velitask indicators: video, audio, images, slider, speedometer, slope and speed charts, a G-force indicator, text data indicators (distance, speed, slope, temperature, heart rate, power, balance, gears, pedalling, g-force, acceleration, rotation, orientation, cadence, laps, coordinates, time), subtitles, map, compass, and simple shapes (line, rectangle, ellipse). The full list of 38 indicators is on the Indicators page.
This wiki is a technical description of this specific plugin: what we built, how it works, which properties exist, and how slope, distance and coordinates are calculated. It is not a tutorial on writing your own plugin; for that, read the SDK wiki: Introduction and Build and connect.
There are two paths:
-
From scratch is the cleanest. Read the Introduction in the SDK wiki, fork
plugin-exampleas a starter template, and start building. -
Fork our plugin if you want to extend or modify the existing indicators. Fork
plugin-official, make your changes, and send a pull request. We review and accept reasonable proposals.
Chats, channels and discussions are on velitask.com, in the community section with up-to-date links (Telegram and others).
Bugs and feature requests for the plugin go to GitHub Issues.
The plugin version is 1.1.0.
A full overview of the indicators is on the Indicators page (what each one shows and which sensor it is bound to). The user-facing descriptions are at User, and the JSON templates for manual assembly are at User-JSON.
Besides the indicators, the plugin gives the application:
- processing of sensor data on import — pause formulas, bad-point filters, smoothing and drift filters, data compression, and the import plans for GPX, FIT, TCX, TMG, GoPro, DJI and DJI SRT; everything is listed by BuiltinScenarios, and the formula parameters are created by FormulaParameters;
- source preview generators — video, image, audio, geodata: VideoPreviewGenerator, ImagePreviewGenerator, AudioPreviewGenerator, GeoPreviewGenerator.
The pages of all these classes are in the Code table of contents.
A description of the files in the plugin's src/main/resources/ (plugin database schema, localization, indicator SVG graphics, default Mixel templates for source types, and materials for the AI assistant) is on the Resources page.
Each Java class of the plugin has a page with the full source and a walkthrough: what each field stores, the contract of each method, what the drawing cycle looks like, and the pitfalls. The table of contents is Code. The production code in src/main/java/... is intentionally clean (no JavaDoc and no comments); all the description lives here in the wiki, as a "book about the code".
The reference page is SpeedometerIndicator. It shows the level of detail we aim for.
The save format of each indicator in a project and in a template is on its JSON page <Indicator>-JSON (for example, TemperatureTextIndicator-JSON).
- README: quick start, build and plugin installation
- SDK wiki: concepts and a step-by-step guide to plugin development
-
plugin-example: a minimal plugin template to fork