Pages: [1]   Go Down
Author Topic: For robots guided by 2 Servo Motors  (Read 973 times)
0 Members and 1 Guest are viewing this topic.
Brazil
Offline Offline
Newbie
*
Karma: 2
Posts: 4
"To infinity... and Beyond!"
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Continuous2Wheels is an Arduino's library to control the movements of robots guided by two wheels connected to continuous servo motors.

https://github.com/zerokol/Continuous2Wheels
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 46090
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You have a lot of public fields that should not be public.

You have two constructors, when one with an optional argument is all that is needed.

Ditto with the forward() and backward() methods.

The library is not compatible with the current version of the Arduino IDE. Why not?

Logged

Brazil
Offline Offline
Newbie
*
Karma: 2
Posts: 4
"To infinity... and Beyond!"
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Oh, excuse me! I didn't received any notice from your post!

About the lib:

I fixed the incompatibility with new IDE!

And about the methods, is a long story, I agree with you, but I build the library in this way because it was easier for me to use in a project that worked with fuzzy logic, but your suggestions are good, and will probably make changes in the code. thank you very much!
Logged

Pages: [1]   Go Up
Jump to: