We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f42f60 commit 0fc3984Copy full SHA for 0fc3984
1 file changed
mecanum_drive_controller/src/odometry.cpp
@@ -96,8 +96,7 @@ bool Odometry::updateFromVelocity(
96
const rclcpp::Time & time)
97
{
98
const double dt = time.seconds() - timestamp_.seconds();
99
- if (dt < 0.0001)
100
- {
+ if (dt < 0.0001) {
101
return false; // Interval too small to integrate with
102
}
103
// Compute linear and angular diff:
0 commit comments