Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor of telem module now builds, untested on hardware.
- Loading branch information
Showing
5 changed files
with
132 additions
and
64 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,28 +1,7 @@ | ||
typedef struct { | ||
unsigned long timeStamp; | ||
int inputL; | ||
int inputR; | ||
int dcL; | ||
int dcR; | ||
int gyroX; | ||
int gyroY; | ||
int gyroZ; | ||
int gyroAvg; | ||
int accelX; | ||
int accelY; | ||
int accelZ; | ||
int bemfL; | ||
int bemfR; | ||
float tailTorque; | ||
int Vbatt; | ||
int steerAngle; | ||
float tailAngle; | ||
float bodyPosition; | ||
unsigned long motor_count[2]; | ||
int sOut; | ||
} orTelemStruct_t; | ||
// Contents of this file are copyright Andrew Pullin, 2013 | ||
|
||
//or_telem.h , OctoRoACH specific telemetry packet format header | ||
|
||
void orTelemGetData(char* ptr); | ||
void orTelemGetData(unsigned char* ptr); | ||
|
||
unsigned int orTelemGetSize(); |
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