RT-Thread-packages / rt-robot

a platform in creating new exciting robots
Apache License 2.0
111 stars 62 forks source link

Update two functions in the kinematics.c #42

Closed DavidLin1577 closed 4 years ago

DavidLin1577 commented 4 years ago

1.For further expansion, use switch(x) {...} instead of if(x){...}else if(y){...} in kinematics_create(); 2.Replace for() with rt_memcpy in functionkinematics_get_rpm().