Skip to content

Commit a1e48b4

Browse files
Fix different time sources error (#679)
Signed-off-by: Christophe Bedard <[email protected]>
1 parent 3b2cb79 commit a1e48b4

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, 0u),
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, 0u), debug_stream_(nullptr),
5252
acceleration_gains_(TWIST_SIZE, 0.0),
5353
acceleration_limits_(TWIST_SIZE, 0.0),

0 commit comments

Comments
 (0)