forked from mathbrook/KS5e-VCU-firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from KSU-MS/feature/launchcontroller
add launchController and implement launch control capability to testing
- Loading branch information
Showing
32 changed files
with
1,506 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
.vscode/c_cpp_properties.json | ||
.vscode/launch.json | ||
.vscode/ipch | ||
.vscode/settings.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#ifndef COMMON_STRUCTS_H | ||
#define COMMON_STRUCTS_H | ||
#include "parameters.hpp" | ||
typedef struct wheelSpeeds_s { | ||
float fl; | ||
float fr; | ||
float rl; | ||
float rr; | ||
wheelSpeeds_s(float fl, float fr, float rl, float rr) | ||
: fl(fl), fr(fr), rl(rl), rr(rr){} | ||
} wheelSpeeds_s; | ||
|
||
typedef struct lc_countdown_t | ||
{ | ||
unsigned long release_countdown; | ||
const unsigned long release_delay = LAUNCHCONTROL_RELEASE_DELAY; | ||
} lc_countdown_t; | ||
|
||
typedef struct time_and_distance_tracker_t | ||
{ | ||
unsigned long vcu_lifetime_ontime; | ||
unsigned long vcu_lifetime_distance; | ||
} time_and_distance_tracker_t; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.