Skip to content

Commit

Permalink
Added sim swerve motors (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
imisaacwu authored Jul 20, 2024
1 parent f5c3aa8 commit c921c07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/world_interface/simulator_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,13 @@ namespace {
const std::string PROTOCOL_PATH("/simulator");
const std::map<motorid_t, std::string> motorNameMap = {
{motorid_t::frontLeftWheel, "frontLeftWheel"},
{motorid_t::frontLeftSwerve, "frontLeftSwerve"},
{motorid_t::frontRightWheel, "frontRightWheel"},
{motorid_t::frontRightSwerve, "frontRightSwerve"},
{motorid_t::rearLeftWheel, "rearLeftWheel"},
{motorid_t::rearLeftSwerve, "rearLeftSwerve"},
{motorid_t::rearRightWheel, "rearRightWheel"},
{motorid_t::rearRightSwerve, "rearRightSwerve"},
{motorid_t::armBase, "armBase"},
{motorid_t::shoulder, "shoulder"},
{motorid_t::elbow, "elbow"},
Expand Down

0 comments on commit c921c07

Please sign in to comment.