From 6a1f8139a7b0b1d58a5ede9f370dc3c63c79cef2 Mon Sep 17 00:00:00 2001 From: Burak Ozter Date: Wed, 16 Oct 2024 08:12:33 -0300 Subject: [PATCH] fix template typo, add nvidia_gpu --- copier.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/copier.yml b/copier.yml index 4db319f..4b9633d 100644 --- a/copier.yml +++ b/copier.yml @@ -1,6 +1,6 @@ _subdirectory: src _answers_file: .copier/answers.service-ros2-ament_cmake.yml -PACKAGE_NAME: +PACKAGE_NAME: default: myproject type: str help: The folder your package lives in. Please avoid spaces. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes. @@ -22,11 +22,20 @@ 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. - This stub health check just sees if we can talk to the ROS master \ No newline at end of file + Set a health check. + This stub health check just sees if we can talk to the ROS master \ No newline at end of file