Skip to content
This repository has been archived by the owner on Dec 2, 2019. It is now read-only.
/ fs-1-primary Public archive

DEPRECATED The primary microcontroller software for the Formula Slug 2017 racecar (FS-1).

Notifications You must be signed in to change notification settings

formulaslug/fs-1-primary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

// Copyright (c) 2018 Formula Slug. All Rights Reserved.

Primary Controls

This repository contains the software for our primary controller of the Formula Slug 2017 racecar, FS-1.

The style guide repository at https://github.com/wpilibsuite/styleguide contains our style guide for C and C++ code and formatting scripts.

TODO

  • Clean the input throttle voltage so the ADC value doesn't jump everywhere (add a required change of ~3 or 4). Probably best to add to primary controls a utility function that can be passed 1: adcValue, 2: requiredDelta, and then will only return a new value if it's different from the previous value by requiredDelta or more
  • Implement function canPrimary2Secondary() that queues all primary->secondary communication to CAN bus. This only includes information not already being written to the bus for Primary->Master communication
    • Add primary teensy's state (of fsm) to the packet in canPrimary2Secondary()

About

DEPRECATED The primary microcontroller software for the Formula Slug 2017 racecar (FS-1).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published