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.
Diff: mecanum2017.h
- Revision:
- 4:d4c2e7addc77
- Parent:
- 3:063d7878f0d1
- Child:
- 6:cf7de545bef9
--- a/mecanum2017.h Fri Aug 18 07:16:50 2017 +0000
+++ b/mecanum2017.h Sat Aug 19 00:21:07 2017 +0000
@@ -10,8 +10,7 @@
short para1, para2, para3, para4;
double alpha, beta, oldangle;
public:
- mecanum2017(I2C& i2c_, short para1_, char addr1, short para2_, char addr2,
- short para3_, char addr3, short para4_, char addr4, int phase); //paraはモーターの回転方向を±1で表すよ いつもは全部+1だよ
+ mecanum2017(I2C& i2c_, short para[], char addr[], int phase); //paraはモーターの回転方向を±1で表すよ いつもは全部+1だよ
/* うごけー */
void move(int xdate, int ydate); //xdate, ydateは -64 ~ +64