Project

frc-motors

0.0
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
DC Motor Specification Lookup Tables for Vex/FRC Legal Motors
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 12.0
~> 4.2
~> 0.49
~> 3.2
 Project Readme

frc-motors

Travis CI Code Climate Gem Version Gem

Ruby Gem for Accessing FRC Motor Data

Installation

Via RubyGems:

$ gem install frc-motors

Usage

> require 'frc-motors'
=> true

> Motors::CIM
=> #<Motors::Motor:0x0056418b6e3408 @data=#<CSV::Table mode:col_or_row row_count:102>>

> Motors::CIM.find(:torque, 1.2)
=> #<CSV::Row speed:2665 torque:1.2065 current:66.878 input power:802.536 output power:336.708 efficiency:41.956 lost power:465.828>

> Motors::CIM.find(:torque, 1.2)[:current]
=> 66.878

> Motors::CIM.data
=> #<CSV::Table mode:col_or_row row_count:102>

> Motors::CIM.data.each { }
=> #<CSV::Table mode:col_or_row row_count:102>

Data & Reference

All motor data is collected from Vex Pro's tests. You can view the actual data files (in CSV format) used in the code here.

Supported Motors:

  • CIM
  • MiniCIM
  • BAG