template-service-ros1-catkin/copier.yml

42 lines
1.3 KiB
YAML

_subdirectory: src
_answers_file: .copier/answers.service-ros1-catkin.yml
PACKAGE_NAME:
default: myproject
type: str
help: The folder your package lives in. Please avoid spaces.
PACKAGE_DESCRIPTION:
default: The {{PACKAGE_NAME}} package
type: str
multiline: true
MAINTAINER_NAME: No Reply
MAINTAINER_EMAIL: "{{MAINTAINER_NAME|lower|replace(' ', '.')}}@spirirobotics.com"
LICENSE: BSD
#We use a custom launch script to ensure that rosrun logs to console and have it not accidently launch the master node itself, which can be hard to diagnose
LANGUAGES:
type: str
multiselect: true
help: Which langauges do you want to use?
choices:
- Python
- CPP
RUN_COMMAND: rosrun {{ PACKAGE_NAME }} {{ "main.py" if 'Python' in LANGUAGES else "main" 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 rostopic list
type: str
help: |
Set a health check.
This stub health check just sees if we can talk to the ROS master