increase no reply until unresponsive to 6

This commit is contained in:
bdilman
2024-04-30 12:09:23 +02:00
committed by bdilman
parent 07e7c64e60
commit df14b7f53a
@@ -71,7 +71,7 @@ private:
static constexpr hrt_abstime REQUEST_TIMEOUT = 50_ms;
static constexpr hrt_abstime UPDATE_INTERVAL = 300_ms;
static_assert(REQUEST_TIMEOUT < UPDATE_INTERVAL, "keep timeout < update interval");
static constexpr int NUM_NO_REPLY_UNTIL_UNRESPONSIVE = 3; ///< Mode timeout = this value * UPDATE_INTERVAL
static constexpr int NUM_NO_REPLY_UNTIL_UNRESPONSIVE = 6; ///< Mode timeout = this value * UPDATE_INTERVAL
/// Timeout directly after registering (in some cases ROS can take a while until the subscription gets the first
/// sample, around 800ms was observed)
static constexpr int NUM_NO_REPLY_UNTIL_UNRESPONSIVE_INIT = 10;