julome / Adaptive-SegWay

Adaptive predictive control of SegWay with ATMega168
GNU General Public License v3.0
10 stars 7 forks source link

Missing #define:s and compiling problems #1

Open aradove opened 9 years ago

aradove commented 9 years ago

I tried compiling this project using Atmel studio 6.2, and I got several problems.

First problems was that twi_master.h and .c was missing the needed #define:s so what I did to make it work was copying twi_master.h and .c from your quadcopter project.

The second problem is, which I guess, appears because we use different compilers. Insteed of including .h in the main file file, I included .c, since the .h are included in these files.

It works like a charm. I used an Arduino Uno and MPU6050.

Best regards Aradove

julome commented 9 years ago

http://youtu.be/O7qZxBK4L0k

Thanks for your comment. If you want I will update the whole project. Above you have my video.

Regards

julome commented 9 years ago

Thanks but send me a video or pic of your segway.