Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp
- Committer:
- himarsmty
- Date:
- 2018-05-07
- Revision:
- 0:b7d3adaffc0a
File content as of revision 0:b7d3adaffc0a:
#include "mbed.h"
#include "mecanum_4.h"
int main() {
mecanum_4 mecanum;
// mecanum.mv_x(100);
// wait(5);
// mecanum.mv_x(-100);
// wait(5);
// mecanum.mv_y(100);
// wait(5);
// mecanum.mv_y(-100);
// wait(5);
// mecanum.rotate(100);
// wait(5);
// mecanum.rotate(-100);
// wait(5);
// mecanum.r_ob(100);
// wait(5);
// mecanum.r_ob(-100);
// wait(5);
// mecanum.r_ob(100);
// wait(5);
// mecanum.i_ob(-100);
// wait(5);
mecanum.any_degree(45,5);
mecanum.any_degree(135,5);
mecanum.any_degree(180,5);
mecanum.any_degree(225,5);
mecanum.any_degree(315,5);
}