fix template typo, add nvidia_gpu
This commit is contained in:
parent
16d32be258
commit
6a1f8139a7
19
copier.yml
19
copier.yml
|
@ -1,6 +1,6 @@
|
||||||
_subdirectory: src
|
_subdirectory: src
|
||||||
_answers_file: .copier/answers.service-ros2-ament_cmake.yml
|
_answers_file: .copier/answers.service-ros2-ament_cmake.yml
|
||||||
PACKAGE_NAME:
|
PACKAGE_NAME:
|
||||||
default: myproject
|
default: myproject
|
||||||
type: str
|
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.
|
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
|
- Python
|
||||||
- CPP
|
- 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:
|
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
|
type: str
|
||||||
help: |
|
help: |
|
||||||
Set a health check.
|
Set a health check.
|
||||||
This stub health check just sees if we can talk to the ROS master
|
This stub health check just sees if we can talk to the ROS master
|
Loading…
Reference in New Issue