open-rmf / rmf_site

Experimental visualizer for dense buildings in RMF
32 stars 13 forks source link

Automatic adjustment of log display range #235

Open xiyuoh opened 1 month ago

xiyuoh commented 1 month ago

This PR addresses the TODO to allow the slider range for displaying number of logs to be adjusted automatically. Currently we have a fixed range of [10, 1000]. With this PR, the range will start with [10, 100] at launch. As more logs are being printed, the upper limit will increase accordingly to the nearest multiple of hundred that is greater or equal to the current log history size.