diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..36c9760b --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @nachovizzo @benemer @tizianoGuadagnino diff --git a/python/kiss_icp/config/parser.py b/python/kiss_icp/config/parser.py index 5f2b58ec..831f3039 100644 --- a/python/kiss_icp/config/parser.py +++ b/python/kiss_icp/config/parser.py @@ -28,12 +28,13 @@ from pathlib import Path from typing import Any, Dict, Optional -from pydantic_settings import BaseSettings +from pydantic_settings import BaseSettings, SettingsConfigDict from kiss_icp.config.config import AdaptiveThresholdConfig, DataConfig, MappingConfig class KISSConfig(BaseSettings): + model_config = SettingsConfigDict(env_prefix="kiss_icp_") out_dir: str = "results" data: DataConfig = DataConfig() mapping: MappingConfig = MappingConfig() diff --git a/python/kiss_icp/tools/cmd.py b/python/kiss_icp/tools/cmd.py index 87f94bd9..5ae7369e 100644 --- a/python/kiss_icp/tools/cmd.py +++ b/python/kiss_icp/tools/cmd.py @@ -114,6 +114,10 @@ def name_callback(value: str): # Use a more specific dataloader: {", ".join(_available_dl_help)} $ kiss_icp_pipeline --dataloader kitti --sequence 07 --visualize :open_file_folder: + +# To change single config parameters on-the-fly, you can export them beforehand: +$ export kiss_icp_out_dir=':open_file_folder:' +$ export kiss_icp_data='{{"max_range": 50}}' """