Skip to content

Commit

Permalink
Generated debian files for bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
civerachb-cpr committed Oct 3, 2024
1 parent 0b74dff commit 0a075e9
Show file tree
Hide file tree
Showing 13 changed files with 171 additions and 46 deletions.
139 changes: 139 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
ros-jazzy-turtlebot4-setup (2.0.0-1bookworm) bookworm; urgency=high

* Initial Jazzy implementation
* Add a note about firmware compatibility to the readme
* Add exception handling to the file i/o so the node doesn't just crash if we're missing a file
* Add improved exception handling to the wifi settings parser
* Update CI
* Properly escape all ` characters in stylized titles, add translation & link to generator page in comments
* Add copyright & contribution notices, fix up code formatting, import ordering. Disable linting for some specific lines where appropriate
* Add XML namespaces & version to cyclone DDS config
* Omit XML linting (for now); it's consistently timing out and failing
* Code formatting fixes
* Add exception handling to the file preview
* Add an option to force the Create3 settings to be reapplied, even if we haven't changed anything else. Always apply the _do_not_use namespace, as we're universally using the republisher now
* Remove superfluous concatenation
* Enable testing packages for CI
* Disable checks on two lines with long format strings
* Add exception handling for install & uninstall
* Add an error prompt to show errors during installation
* Handle KeyErrors separately
* Add newline to end of file
* Fix indentation
* `''.format -> f''
* Update the default system file, print the keys instead of the enums
* Add a __str__ function to the relevant classes
* Disable DHCP4 on the built-in ethernet interface, make it non-optional
* Change the post-install chrony file command from mv to cp
* Only copy if the file exists
* Initial Jazzy implementation (#15 <https://github.com/turtlebot/turtlebot4_setup/issues/15>)
* Contributors: Chris Iverach-Brereton

-- rkreinin <[email protected]> Sat, 28 Sep 2024 04:00:00 -0000

ros-jazzy-turtlebot4-setup (1.0.4-1bookworm) bookworm; urgency=high

* Multi-robot discovery server support (#11 <https://github.com/turtlebot/turtlebot4_setup/issues/11>)
* Add discovery server ID
* Switch from xml super client to envar
* Don't look for an ntp server on create3
* Adjust create3 discovery server envar for server_id
* Get feedback from the curl command to abort the apply if the create3 is not accessible
* Push ntp config to create3, pointing it at the pi
* Write discovery.sh fresh each time for robustness
* Insert missing exports when writing setup.bash
* Update script for server ID
* Enforce a local server in discovery server for the create3 and support an offboard server for pi only
* Give the create3 a hidden namespace to prepare for republishing
* Put environment variables in quotes to handle multiple discovery servers
* Make Super Client only apply to user terminals
* Fix error when setting Offboard Discovery Server IP to blank
* Remove IP Routing from script to set up discovery server on the user computer, no longer needed due to the republisher, includes file/service cleanup
* Force compares as string to handle boolean settings correctly
* Ensure that usb0 and wlan0 networks are up before either turtlebot4 service is started and use only NetworkManager to speed up boot
* ipv4 forwarding is no longer required
* Add create3 rmw profile for discovery server
* git clone no longer necessary
* Update discovery server user pc config script to accept any number of discovery servers
* Added missing exec dependencies
* Ensure that the chrony file always gets overwritten
* Update username for github issue asignment (#10 <https://github.com/turtlebot/turtlebot4_setup/issues/10>)
* Updated issue templates to forms and redirected troubleshooting to turtlebot4 repo (#9 <https://github.com/turtlebot/turtlebot4_setup/issues/9>)
* Contributors: Hilary Luo

-- rkreinin <[email protected]> Tue, 02 Jul 2024 04:00:00 -0000

ros-jazzy-turtlebot4-setup (1.0.3-1bookworm) bookworm; urgency=high

* Cleanup <https://github.com/turtlebot/turtlebot4_setup/issues/7>
* Remove scripts that should not be used in Humble
* Update create_update.sh to reference Humble minimum version
* Updated README
* Updated turtlebot4_setup.sh script
* Fixed setting robot model
* Contributors: Hilary Luo, Roni Kreinin

-- rkreinin <[email protected]> Wed, 08 Nov 2023 05:00:00 -0000

ros-jazzy-turtlebot4-setup (1.0.2-1bookworm) bookworm; urgency=high

* Fixed Discovery Server IP
* Updated default configs
* Contributors: Roni Kreinin

-- rkreinin <[email protected]> Wed, 01 Mar 2023 05:00:00 -0000

ros-jazzy-turtlebot4-setup (1.0.1-1bookworm) bookworm; urgency=high

* Fixed script install path
* Contributors: Roni Kreinin

-- rkreinin <[email protected]> Tue, 28 Feb 2023 05:00:00 -0000

ros-jazzy-turtlebot4-setup (1.0.0-1bookworm) bookworm; urgency=high

* turtlebot4_setup tool
* RPI config updates
* Discovery server files
* Contributors: Roni Kreinin

-- rkreinin <[email protected]> Fri, 24 Feb 2023 05:00:00 -0000

ros-jazzy-turtlebot4-setup (0.1.3-1bookworm) bookworm; urgency=high

* Merge pull request #2 <https://github.com/turtlebot/turtlebot4_setup/issues/2> from turtlebot/roni-kreinin/domain_id
v0.1.3
* Added webserver service
* Added argparser to install.py
Removed namespacing for now
* Added 'ros_config' script for setting ROS_DOMAIN_ID, namespace, and RMW_IMPLEMENTATION
* Contributors: Roni Kreinin, roni-kreinin

-- rkreinin <[email protected]> Tue, 27 Sep 2022 04:00:00 -0000

ros-jazzy-turtlebot4-setup (0.1.2-1bookworm) bookworm; urgency=high

* Added chrony
Updated wifi script
* Updated dependencies
Move swap_on and swap_off to /usr/local/bin
* Fixed comment
* Updated Create 3 curl commands
Move wifi and create update scripts to /usr/local/bin
* Updated oakd branch
* Update README.md
* Moved contents to root folder
Updated oakd script to work for both pro and lite
Updated turtlebot4_setup script
Updated wifi script to allow the create 3 to be set up through the pi
Added create 3 firmware flash scripts
* Update README.md
* Updated robot_upstart repo
* Added swap memory scripts when more RAM is needed to build packages
* Updated README
* Initial commit
* Contributors: Roni Kreinin, roni-kreinin

-- rkreinin <[email protected]> Tue, 14 Jun 2022 04:00:00 -0000


7 changes: 0 additions & 7 deletions debian/changelog.em

This file was deleted.

1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
1 change: 0 additions & 1 deletion debian/compat.em

This file was deleted.

12 changes: 12 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Source: ros-jazzy-turtlebot4-setup
Section: misc
Priority: optional
Maintainer: rkreinin <[email protected]>
Build-Depends: debhelper (>= 9.0.0), ros-jazzy-ament-cmake, ros-jazzy-ament-lint-auto <!nocheck>, ros-jazzy-ament-lint-common <!nocheck>, ros-jazzy-ros-workspace
Homepage:
Standards-Version: 3.9.2

Package: ros-jazzy-turtlebot4-setup
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, chrony, curl, libcurl4-openssl-dev, network-manager, ros-jazzy-rmw-cyclonedds-cpp, ros-jazzy-rmw-fastrtps-cpp, ros-jazzy-robot-upstart, ros-jazzy-simple-term-menu-vendor, ros-jazzy-ros-workspace
Description: Turtlebot4 setup scripts
14 changes: 0 additions & 14 deletions debian/control.em

This file was deleted.

10 changes: 3 additions & 7 deletions debian/copyright.em → debian/copyright
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
Format: Bloom subset of https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: @(Name)
@[if BugTracker]Upstream-Contact: @(BugTracker)@\n@[end if]@
@[if Source]Source: @(Source)@\n@[end if]@
@[for License, Text in Licenses]@
Upstream-Name: turtlebot4_setup

Files: See file headers in repository for details
Copyright: See package copyright in source code for details
License: @(License)
@(Text)
@[end for]@
License: Apache 2.0
See repository for full license text
3 changes: 3 additions & 0 deletions debian/gbp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[git-buildpackage]
upstream-tag=release/jazzy/turtlebot4_setup/2.0.0-1
upstream-tree=tag
3 changes: 0 additions & 3 deletions debian/gbp.conf.em

This file was deleted.

22 changes: 11 additions & 11 deletions debian/rules.em → debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export DH_VERBOSE=1
# https://code.ros.org/trac/ros/ticket/2977
# https://code.ros.org/trac/ros/ticket/3842
export LDFLAGS=
export PKG_CONFIG_PATH=@(InstallationPrefix)/lib/pkgconfig
export PKG_CONFIG_PATH=/opt/ros/jazzy/lib/pkgconfig
# Explicitly enable -DNDEBUG, see:
# https://github.com/ros-infrastructure/bloom/issues/327
export DEB_CXXFLAGS_MAINT_APPEND=-DNDEBUG
Expand All @@ -24,44 +24,44 @@ endif
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)

%:
dh $@@ -v --buildsystem=cmake --builddirectory=.obj-$(DEB_HOST_GNU_TYPE)
dh $@ -v --buildsystem=cmake --builddirectory=.obj-$(DEB_HOST_GNU_TYPE)

override_dh_auto_configure:
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree and source it. It will set things like
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
if [ -f "/opt/ros/jazzy/setup.sh" ]; then . "/opt/ros/jazzy/setup.sh"; fi && \
dh_auto_configure -- \
-DCMAKE_INSTALL_PREFIX="@(InstallationPrefix)" \
-DAMENT_PREFIX_PATH="@(InstallationPrefix)" \
-DCMAKE_PREFIX_PATH="@(InstallationPrefix)" \
-DCMAKE_INSTALL_PREFIX="/opt/ros/jazzy" \
-DAMENT_PREFIX_PATH="/opt/ros/jazzy" \
-DCMAKE_PREFIX_PATH="/opt/ros/jazzy" \
$(BUILD_TESTING_ARG)

override_dh_auto_build:
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree and source it. It will set things like
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
if [ -f "/opt/ros/jazzy/setup.sh" ]; then . "/opt/ros/jazzy/setup.sh"; fi && \
dh_auto_build

override_dh_auto_test:
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree and source it. It will set things like
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
echo -- Running tests. Even if one of them fails the build is not canceled.
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
if [ -f "/opt/ros/jazzy/setup.sh" ]; then . "/opt/ros/jazzy/setup.sh"; fi && \
dh_auto_test || true

override_dh_shlibdeps:
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree and source it. It will set things like
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
dh_shlibdeps -l$(CURDIR)/debian/@(Package)/@(InstallationPrefix)/lib/:$(CURDIR)/debian/@(Package)/@(InstallationPrefix)/opt/@(Name)/lib/
if [ -f "/opt/ros/jazzy/setup.sh" ]; then . "/opt/ros/jazzy/setup.sh"; fi && \
dh_shlibdeps -l$(CURDIR)/debian/ros-jazzy-turtlebot4-setup//opt/ros/jazzy/lib/:$(CURDIR)/debian/ros-jazzy-turtlebot4-setup//opt/ros/jazzy/opt/turtlebot4_setup/lib/

override_dh_auto_install:
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree and source it. It will set things like
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
if [ -f "/opt/ros/jazzy/setup.sh" ]; then . "/opt/ros/jazzy/setup.sh"; fi && \
dh_auto_install
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)
1 change: 0 additions & 1 deletion debian/source/format.em

This file was deleted.

3 changes: 1 addition & 2 deletions debian/source/options.em → debian/source/options
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@[if format and format == 'quilt']@
# Automatically add upstream changes to the quilt overlay.
# http://manpages.ubuntu.com/manpages/trusty/man1/dpkg-source.1.html
# This supports reusing the orig.tar.gz for debian increments.
auto-commit
@[end if]

0 comments on commit 0a075e9

Please sign in to comment.