Skip to content

Sample app using GM's NGI platform which uses steering wheel position to estimate trailer backup direction.

Notifications You must be signed in to change notification settings

metalbabble/TowLink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a small, sample application which uses GM NGI vehicle data to provide usefull information when towing.

  • HOME TAB: Several gauges showing stress on engine and transmission, along with some alerts.

  • BACKUP TAB: Estimates the direction of a trailer backing up. The app will show an image of the direction of the trailer based on steering wheel angle.

  • CHECKLIST: A handy list of reminders to check off before towing begins.

THIS APP IS FOR DEMO USE ONLY AND IS NOT INTENDED TO BE USED IN AN ACTUAL VEHICLE.

Getting Started

To start, install GM NGI from: https://developer.gm.com/ngi and execute:

ngi serve

Testing

To test, use the signal panel toolbar and adjust the signals indicated below

Signal

Be sure to add any new signal watches to app.js, all response to signals is routed through here

  • wheel_angle
  • gear_state
  • engine_oil_temp
  • brakes_overheated
  • trailer_hitch
  • trailer_brakelght_fail
  • transmission_oil_temp
  • Display_units
  • trailer_brakes_gain
  • trailer_leftturn_fail
  • trailer_rightturn_fail
  • trailer_rearright_fail
  • trailer_rearleft_fail

TODO

Questions for GM

  • tow haul mode - answer NO
  • is there a way to bypass backup camera - answer NO

Nice to have

  • replace table layout with better div/css (no bootstrap - not supported)
  • when switch out of reverse, go where you were last - nick
  • look into build warnings
  • detect towing capability

Must have

About

Sample app using GM's NGI platform which uses steering wheel position to estimate trailer backup direction.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published