Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
abhaybd committed Jul 17, 2024
1 parent e7e3deb commit a691d2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/control/SwerveController.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class SwerveController {
* @brief Check the override flag for wheel rotation checking.
*
* @return True iff the rotation checking is overridden.
*/
*/
bool isOverridden() const;

/**
Expand Down
5 changes: 2 additions & 3 deletions src/world_interface/real_world_constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,8 @@ constexpr auto motorSerialIDMap = frozen::make_unordered_map<motorid_t, can::dev
{motorid_t::activeSuspension, DEVICE_SERIAL_LINEAR_ACTUATOR}});

/** @brief A mapping of PID controlled motors to their pid coefficients. */
constexpr auto motorPIDMap = frozen::make_unordered_map<motorid_t, pidcoef_t>({
// {{motorid_t::shoulder, {70, 0, 0}},
// {motorid_t::elbow, {15, 7, -2}},
constexpr auto motorPIDMap = frozen::make_unordered_map<motorid_t, pidcoef_t>(
{{motorid_t::shoulder, {70, 0, 0}},
{motorid_t::frontLeftSwerve, {2, 0, 0}},
{motorid_t::frontRightSwerve, {2, 0, 0}},
{motorid_t::rearLeftSwerve, {2, 0, 0}},
Expand Down

0 comments on commit a691d2b

Please sign in to comment.