YAMS
Yet Another Mechanism System
Loading...
Searching...
No Matches
yams::motorcontrollers::YMotors Struct Reference

#include <YMotors.hpp>

Static Public Member Functions

static constexpr wpi::math::DCMotor A301 (int numMotors=1)

Detailed Description

DCMotor models of motors WPILib does not have a model of, like the Java YMotors.

This will be deleted once WPILib has a DCMotor of the FIRST A301. Use WPILib's then.

Member Function Documentation

◆ A301()

constexpr wpi::math::DCMotor yams::motorcontrollers::YMotors::A301 ( int numMotors = 1)
inlinestaticconstexpr

The motor inside the FIRST A301, before its gearbox, at 12 V: 13,500 RPM free, and 0.078 N-m stalled, twice the 5.27 N-m at peak power of FIRST's 135:1 gearbox. FIRST does not give its currents, and the A301 is similar to a NEO 550, so it has the NEO 550's: 100 A stalled and 1.4 A free.

Every A301 has this motor. Its gearbox is part of the gearing given to the A301Wrapper's config.

Parameters
numMotorsHow many A301 motors are in the gearbox.
Returns
The FIRST A301's motor DCMotor.

The documentation for this struct was generated from the following file:
  • /home/runner/work/YAMS/YAMS/yams/cpp/include/yams/motorcontrollers/YMotors.hpp