RT-Thread-packages / rt-robot

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

bug修复:kinematics_get_rpm和kinematics_get_velocity函数计算错误 #40

Closed yaojinrun closed 4 years ago

yaojinrun commented 4 years ago
  1. 将结构体中的 struct kinematics 中的 wheel_radius 修改为 wheel_cir 。并将kinematics_get_rpm 和 kinematics_get_velocity 函数中的 wheel_radius 替换为 wheel_cir 即可修正计算错误的问题。 2 .api.md文档中wheel_radius的值实际作为半径计算的。
sogwms commented 4 years ago

测试ok吗?

sogwms commented 4 years ago

@yaojinrun

yaojinrun commented 4 years ago

是的,测试过的。

sogwms commented 4 years ago

@yqiu2018 可以合并