GithubHelp home page GithubHelp logo

trailer_weight's Introduction

trailer_weight

Ruby script to calculate towing capacity.

Guidance is for Ford's F-150, but may be applicable elsewhere. Not official advice or affliciated with Ford. Please consult your owners manual for information on your vehicle's limits.

Usage:

$ ruby trailer_weight.rb -h
Usage: trailer_weight.rb [options]
    -c, --cargo=VAL                  Comma separated list of cargo weights. Default = 210,180,40,125
    -m, --max-weight=VAL             Max combined weight of cargo and occupants. Default = 1500
    -g, --gross-vehicle-weight=VAL   Gross vehicle weight GVWR. Default = max-weight
    -v, --verbose                    Run verbosely
    -h, --help                       Show this message

Example outputs:

$ ruby trailer_weight.rb -m 1198 -g 7350 -c 210,180,45,50 -v
Max towable gross trailer weight: 5485
Loaded Truck weight: 6637
Remaining weight: 713
Combined cargo weight: 485
Max combined weight: 1198
Gross vehicle weight: 7350
ruby trailer_weight.rb -m 1650 -g 7100 -c 210,180,45,50 -v
Max towable gross trailer weight: 8962
Loaded Truck weight: 5935
Remaining weight: 1165
Combined cargo weight: 485
Max combined weight: 1650
Gross vehicle weight: 7100

Where to find max-weight and gross-vehicle-weight on F-150

Expected in lbs.

max-weight:

"The combined weight of occupants and cargo should never exceed:"

Ford F-150 Door sticker denoting the combined weight of occupants and cargo should never exceed value

gross-vehicle-weight (GVWR)

Below MFD. BY FORD MOTOR CO.:

Ford F-150 Door dticker denoting the GVWR

trailer_weight's People

Contributors

dependabot[bot] avatar djdefi avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.