Skip to content

Commit 5d2e882

Browse files
authored
Update filter_base.cpp (#708)
fixing can't subtract times [#707](#707)
1 parent ad7a984 commit 5d2e882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/filter_base.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ namespace robot_localization
4747
FilterBase::FilterBase()
4848
: initialized_(false), use_control_(false),
4949
use_dynamic_process_noise_covariance_(false), control_timeout_(0),
50-
last_measurement_time_(0, 0, RCL_ROS_TIME), latest_control_time_(0),
50+
last_measurement_time_(0, 0, RCL_ROS_TIME), latest_control_time_(0, 0, RCL_ROS_TIME),
5151
sensor_timeout_(0), debug_stream_(nullptr),
5252
acceleration_gains_(TWIST_SIZE, 0.0),
5353
acceleration_limits_(TWIST_SIZE, 0.0),

0 commit comments

Comments
 (0)