OpenHPS/openhps-imu

View on GitHub
src/nodes/processing/VelocityCalculationNode.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function predictVelocity has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public predictVelocity(object: DataObject): Promise<DataObject> {
        return new Promise((resolve) => {
            const service = this.model.findDataService(object);
            const position = object.getPosition();
            // Get the previous position
Severity: Minor
Found in src/nodes/processing/VelocityCalculationNode.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status