34 lines
1.1 KiB
YAML
34 lines
1.1 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|slugify}}@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 elif "CPP" in LANGAUGES "main"}}
|
|
|
|
HEALTHCHECK:
|
|
defualt: --start-period=60s --start-interval=1s CMD /ros_entrypoint.sh rostopic list
|
|
type: str
|
|
help: |
|
|
This health check command should return 0 when your service is running properly.
|
|
The default healthcheck just checks to see if we can reach the ROS master.
|
|
Providing a good health check is left as an excersize to the reader.
|