[examples] Add C++ TankDrive example (#3493)

This is a basic C++ example that demonstrates a simple differential drive implementation using “tank”-style controls through the DifferentialDrive class and an ordinary joystick.
This commit is contained in:
Aditya Tomar
2021-07-28 21:52:14 -07:00
committed by GitHub
parent d7b8aa56dc
commit 85748f2e6f
2 changed files with 52 additions and 0 deletions

View File

@@ -97,6 +97,19 @@
"gradlebase": "cpp",
"commandversion": 2
},
{
"name": "Tank Drive",
"description": "An example program which demonstrates the use of Tank Drive with the DifferentialDrive class",
"tags": [
"Getting Started with C++",
"Robot and Motor",
"Joystick",
"Complete List"
],
"foldername": "TankDrive",
"gradlebase": "cpp",
"commandversion": 2
},
{
"name": "Mecanum Drive",
"description": "An example program which demonstrates the use of Mecanum Drive with the MecanumDrive class",