Skip to content

✨ Change MotorGroup Output Velocity #4

@SizzinSeal

Description

@SizzinSeal

Overview

Add the option to change the output velocity of the MotorGroup class

Motivation

The only way the output velocity of a motor group would change during runtime is because of a multi-speed transmission. While this mechanism is rare, it has the potential to make an appearance during the late season of the 2024-2025 VRC game High Stakes. The motor group class should automatically handle this.

Implementation

A setOutputVelocity method should be added to the MotorGroup class. This will change the value of the maximum output velocity member variable. Offsets may need to be applied to keep the reported angle the same as the angle that was reported before the output velocity was changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions