-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove old ESW code and add new interface files (#562)
* Add projects with pinouts * Add some boilerplate for brushed motor controller * Add PIDF * Add units library and update usage * Work more on controller design * Fix types for units * Add reader and writer interface for input to controller (NOT COMPILING RN) * Fix compile error * I should get burned at the town square for this metapgraomming witchery * Clean up slightly * Ditch massive header only units library that was C++14 and took forever to compile * Minor fixes * Refactor to use trailing return type and auto in function parameters * Normalize naming * Add position control logic * Added copy ctor and assignment operator for Unit and added Convertible concept * Add clang format and tidy, add more units * Add more information to implementing controller * Fix Ratioable concept bug * remove useless line * add specialization for radians. TODO: might want to make this for angles in general, or better, upgrade to quaternions * initial implementation for EncoderReader, haven't fused with absolute encoder yet * Update pdb ioc to include auton LED pins * init motor library * Add moteus git submodule * Motor interface improvements * Add moteus to cmake * Update motors manager to distinguish between brushed and brushless * Add very buggy implementation of drive_bridge * Stop drive wheels if no message received within heartbeat * Add multiplier functionality to drive, asserts, and comments * Add arm bridge code * Update arm library to adjust for changes in units * Add LED HW Bridge implementation * Add PDB Bridge * Create mast gimbal bridge * update mast gimbal bugs * Update some bugs * Add some CAN library thingy * Integrate CANManager * Add some more can code * Add position, throttle, and velocity * Change to rad/s * Attempt to adjust to use position velocity and throttle for more * Throttle, velocity * Add some stuff * Update CMakelists * Remove outdated code and update CMakeLists so we can actually start debuggin hahahaha * updated science pinout * Try to resolve some errors * Try to fix more errors * Make changes for mast gimbal bridge * Add function stubs for publishing data for drive * updated science pinout * Update msg and srv files * Remove outdated firmware * Modify some code * Update files * make compile, circular import is circular * minor changes * Make catkin build work in ci mode * Change garbage logic to TODO ros info logs * Add led node * Move position, velocity, and throttle functions to MotorsManager * Create template for cache, sa, and science bridge * Make code build * Properly subscribe to all servers [albeit in an ugly way] * Simplify science bridge code using lambda function * Change frame to variable size vector * Update SA bridge to use UV LED * Change it to message id * Add CAN node * Add FreeRTOS to science fw * Add science task prototypes * Update pdb code * Update CAN Node * Try to use actual CAN interface messages * Move files to .cpp * Add templated function for sending can messages. Make interface for generic. Use bit case instead of unions * Minor changes * update can msg * Update pdb pinoutto have RA laser and UV bulb * Remove from asserts * Remove unfinished programs * Modify and delete outdated launch files * Remove more new code --------- Co-authored-by: qhdwight <[email protected]> Co-authored-by: Steven Xia <[email protected]> Co-authored-by: Wilson <[email protected]> Co-authored-by: jmaff <[email protected]> Co-authored-by: wisabel0 <[email protected]> Co-authored-by: Owen Park <[email protected]>
- Loading branch information
1 parent
e36317a
commit e44b080
Showing
266 changed files
with
76 additions
and
215,705 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "deps/moteus"] | ||
path = deps/moteus | ||
url = [email protected]:mjbots/moteus.git |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
uint8 bus | ||
uint16 message_id | ||
uint8[] data |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 @@ | ||
ControllerState[] controllers |
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,3 @@ | ||
string name | ||
string state # Armed, Disconnected, or Error | ||
string error |
This file was deleted.
Oops, something went wrong.
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 +1 @@ | ||
bool[3] state | ||
bool[6] state |
This file was deleted.
Oops, something went wrong.
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,4 @@ | ||
bool red | ||
bool green | ||
bool blue | ||
bool is_blinking |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 @@ | ||
bool completed # TODO - temporary |
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,2 @@ | ||
float32[5] temperatures # Celsius. 0-2 are for the 12V bucks, 3 is for 5V, 4 is for 3.3V. | ||
float32[5] currents # Amperes |
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,2 @@ | ||
string[] names # names of joints | ||
float32[] positions # position should be in radians for the joints |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
sensor_msgs/Temperature[6] temperatures # Celsius |
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 +1 @@ | ||
int32[6] data | ||
int32[6] data |
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 @@ | ||
Spectral[3] spectrals |
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,2 @@ | ||
string[] names # names of joints | ||
float32[] throttles # throttle should be [-1.0, 1.0] for the joints |
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,2 @@ | ||
string[] names # names of joints | ||
float32[] velocities # velocity should be in rad/s for joints |
Oops, something went wrong.