2024-03-06 16:42:32 -04:00
_subdirectory : src
_answers_file : .copier/answers.service-ros1-catkin.yml
2024-09-19 10:05:27 -03:00
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"
2024-09-18 15:27:24 -03:00
LICENSE : BSD
2024-03-06 16:56:26 -04:00
#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
2024-09-19 10:05:27 -03:00
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.