Make velocity relative to base frame, not odometry frame

This commit is contained in:
Jacob Perron 2016-04-20 12:09:11 -07:00
parent 44a6f809e8
commit 304fd54e0d

View file

@ -150,8 +150,8 @@ namespace create {
} // if CREATE_2
if (fabs(dt) > util::EPS) {
vel.x = deltaX / dt;
vel.y = deltaY / dt;
vel.x = deltaDist / dt;
vel.y = 0.0;
vel.yaw = deltaYaw / dt;
}
else {