fix template typo, add nvidia_gpu

This commit is contained in:
Burak Ozter 2024-10-16 08:12:33 -03:00
parent 16d32be258
commit 6a1f8139a7

View File

@ -22,10 +22,19 @@ LANGUAGES:
- Python
- CPP
RUN_COMMAND: ros2 run {{ PACKAGE_NAME }} {{ "my_python_node.py" if 'Python' in LANGUAGES else "my_node" if "CPP" in LANGUAGES else "yourcommandGoes here" }}
RUN_COMMAND: ros2 run {{ PACKAGE_NAME }} {{ "my_python_node" if 'Python' in LANGUAGES else "my_node" if "CPP" in LANGUAGES else "yourcommandGoes here" }}
ENABLE_NVIDIA_GPU:
default: False
type: bool
help: |
ENABLE_NVIDIA_GPU
Enabling nvidia gpus make deployment much more complicated.
Ensure you have the nvidia container toolkit installed and
working properly.
HEALTHCHECK:
defualt: HEALTHCHECK --start-period=60s --start-interval=1s CMD /ros_entrypoint.sh ros2 topic list
default: HEALTHCHECK --start-period=60s --start-interval=1s CMD /ros_entrypoint.sh ros2 topic list
type: str
help: |
Set a health check.