MCPcopy Create free account
hub / github.com/RoboJackets/software-training / getEnabled

Method getEnabled

localization/src/motion_model.cpp:78–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78bool MotionModel::getEnabled(const rclcpp::Time & current_time)
79{
80 double dt = current_time.seconds() - last_message_time_.seconds();
81 return dt < 0.25;
82}
83} // namespace localization

Callers 1

ResampleParticlesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected