# Swerve drive :::warning ๐Ÿ‘‹ Hi, Iโ€™m @wayne-1211 ๐Ÿ‘€ Iโ€™m interested in coding & CAD ๐ŸŒฑ Iโ€™m currently learning C++ & python & fusion360 :robot_face: I'm from FRC 8725, Taiwan :flag-tw: :man: How to reach me? * ๐Ÿ“ซ wayne20051211@gmail.com * <i class="fa fa-instagram fa-fw"></i> Instagram: [bowei_1211](https://www.instagram.com/bowei_1211) * <i class="fa fa-simplybuilt fa-fw"></i> Discord: Wayne#1827 ::: ###### tags: `self-learing` ![](https://i.imgur.com/a0uu3hL.png) ```MK2 swerve from FRC2910``` ## What is swerve โ€œSwerve Driveโ€ is a drivetrain that is specifically designed so that the robot can spin while traveling along any path across the terrain. With each wheel rotating while also pivoting on the vertical axes, the maneuverability is unstoppable. Swerve drive bases can rotate and translate independently; they **can even spin while cruising straight ahead**. ## advantages - Agility - true **2D drivetrain** in which drive direction may be divorced from chassis orientation - Traction - in contrast to other holonomic drive systems, high traction wheels may be employed without negative consequence; furthermore drive force may be vectored in any desired direction - Stealth - no need to telegraph intentions via chassis reorientation - Flexibility - with the drive direction and power controlled independently to each wheel by software, multiple drive modes, including game-specific drive modes, become possible - Minimal steering hysteresis - there is almost no need to overcome static friction in steering ## disadvantages - Complexity - This isn't an easy drivetrain to execute - Mass - Time - CNC machining takes time; so does the assembly of complex mechanisms - Cost - A normal swerve drive need 2 motor, and a standard drive train need 4 swerve, equal to 8 motor. Each swerve drive kit is about 300 USD, so it's really expensive. - **High use of IO port** - Hard to drive - It need lots of time to practice to drive it well. #### Reference: * https://web.northeastern.edu/nurobotics/projects/swerve-drive/ * https://team1640.com/wiki/index.php/Swerve_Central * https://botspace.github.io/differential-swerve-drive/ * https://photos.google.com/share/AF1QipPXM_Y7qwiZ8wTnx2qMfIFTv-MAgH-Di3VNoQ9GszyRalKVUCKWN8eY_2iAS4v8OA?pli=1&key=NmxTSHdxbEJrYWxoMzZJMU9MblRKMHhuV3dUWlRR * https://compendium.readthedocs.io/en/latest/tasks/drivetrains/swerve.html