Skip to content

Commit

Permalink
does it work like this?
Browse files Browse the repository at this point in the history
  • Loading branch information
CaseyHackerMan committed Aug 5, 2023
1 parent 24eb9e9 commit b70f271
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/world_interface/real_world_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,12 @@ void initMotors() {
can::motor::initMotor(motorSerialIDMap.at(motorid_t::hand));
addMotorMapping(motorid_t::hand, false);



Globals::driveTrainSwerve = initUniformRectangularDrivebase(Constants::DT_WIDTH,
Constants::DT_FRONT_LENGTH,
Constants::DT_REAR_LENGTH,
{(uint8_t)0x08,(uint8_t)0x09,(uint8_t)0x0A,(uint8_t)0x0B},
(float)Constants::STEERING_ROTATION_LIMIT / 180 * 3.14159,
1000)
}
Expand Down

0 comments on commit b70f271

Please sign in to comment.