-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Changelist Added IMU functions for obtaining angular velocity in io_imu.c Added velocity calculations in app_sbgEllipse.c Added getter function for EKF Solution Mode in io_sbgEllipse.c Added new CAN messages for calculated velocity, IMU angular velocity, and EKF Solution Mode ### Testing Done Velocity Calculation was tested on the car, corrected formula accordingly. IMU outputs reasonable angular velocities based on second VC, more rigorous testing should be done in the future. Wrote unit tests for velocity calculation. ### Resolved Tickets <!-- Link any tickets that this PR resolves. --> --------- Co-authored-by: Kyle Mackenzie <[email protected]> Co-authored-by: Phi Lam <[email protected]> Co-authored-by: Edwin <[email protected]>
- Loading branch information
1 parent
aa76d15
commit e1a903a
Showing
11 changed files
with
295 additions
and
35 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
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 |
---|---|---|
@@ -1,7 +1,14 @@ | ||
#pragma once | ||
|
||
#include <stdint.h> | ||
#include "io_sbgEllipse.h" | ||
|
||
/* | ||
* Broadcast sensor outputs over CAN. | ||
*/ | ||
void app_sbgEllipse_broadcast(void); | ||
|
||
/* | ||
* Calculate vehicle velocity based on motor RPM | ||
*/ | ||
void app_sbgEllipse_calculateVelocity(VelocityData *velocity); |
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
Oops, something went wrong.