We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05d352b commit 9d0be2bCopy full SHA for 9d0be2b
src/robotics/kinematics.h
@@ -94,7 +94,6 @@ class Kinematics{
94
delta_right=0.0;
95
delta_travel=0.0;
96
travel=0.0;
97
-
98
}
99
100
void forward(const float linear, const float angular){
@@ -172,11 +171,11 @@ class Kinematics{
172
171
173
174
float getX(){
175
- return x;
+ return m_to_mm(x);
176
177
178
float getY(){
179
- return y;
+ return m_to_mm(y);
180
181
182
float getTheta(){
@@ -188,11 +187,11 @@ class Kinematics{
188
187
189
190
float getDeltaX(){
191
- return delta_x;
+ return m_to_mm(delta_x);
192
193
194
float getDeltaY(){
195
- return delta_y;
+ return m_to_mm(delta_y);
196
197
198
float getDeltaTheta(){
0 commit comments