Skip to content

duckietown/template-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4b11dc4 · Jun 25, 2023

History

77 Commits
Jun 11, 2020
Jun 25, 2023
Jun 17, 2020
Aug 26, 2020
Jan 17, 2020
Oct 14, 2022
Oct 31, 2021
Oct 14, 2022
Oct 31, 2021
Nov 16, 2022
Jul 9, 2020
Sep 1, 2020
Jul 23, 2020
Sep 20, 2019
Nov 26, 2022
Nov 26, 2022

Repository files navigation

Template: template-basic

This template provides a boilerplate repository for developing non-ROS software in Duckietown.

NOTE: If you want to develop software that uses ROS, check out this template.

How to use it

1. Fork this repository

Use the fork button in the top-right corner of the github page to fork this template repository.

2. Create a new repository

Create a new repository on github.com while specifying the newly forked template repository as a template for your new repository.

3. Define dependencies

List the dependencies in the files dependencies-apt.txt and dependencies-py3.txt (apt packages and pip packages respectively).

4. Place your code

Place your code in the directory /packages/ of your new repository.

5. Setup launchers

The directory /launchers can contain as many launchers (launching scripts) as you want. A default launcher called default.sh must always be present.

If you create an executable script (i.e., a file with a valid shebang statement) a launcher will be created for it. For example, the script file /launchers/my-launcher.sh will be available inside the Docker image as the binary dt-launcher-my-launcher.

When launching a new container, you can simply provide dt-launcher-my-launcher as command.