diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..72f88be --- /dev/null +++ b/debian/changelog @@ -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 ) + * Contributors: Chris Iverach-Brereton + + -- rkreinin 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 ) + * 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 ) + * Updated issue templates to forms and redirected troubleshooting to turtlebot4 repo (#9 ) + * Contributors: Hilary Luo + + -- rkreinin Tue, 02 Jul 2024 04:00:00 -0000 + +ros-jazzy-turtlebot4-setup (1.0.3-1bookworm) bookworm; urgency=high + + * Cleanup + * 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 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 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 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 Fri, 24 Feb 2023 05:00:00 -0000 + +ros-jazzy-turtlebot4-setup (0.1.3-1bookworm) bookworm; urgency=high + + * Merge pull request #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 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 Tue, 14 Jun 2022 04:00:00 -0000 + + diff --git a/debian/changelog.em b/debian/changelog.em deleted file mode 100644 index 3585909..0000000 --- a/debian/changelog.em +++ /dev/null @@ -1,7 +0,0 @@ -@[for change_version, change_date, changelog, main_name, main_email in changelogs]@(Package) (@(change_version)@(DebianInc)@(Distribution)) @(Distribution); urgency=high - -@(changelog) - - -- @(main_name) <@(main_email)> @(change_date) - -@[end for] diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/compat.em b/debian/compat.em deleted file mode 100644 index 7a87216..0000000 --- a/debian/compat.em +++ /dev/null @@ -1 +0,0 @@ -@(debhelper_version) diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..53f854f --- /dev/null +++ b/debian/control @@ -0,0 +1,12 @@ +Source: ros-jazzy-turtlebot4-setup +Section: misc +Priority: optional +Maintainer: rkreinin +Build-Depends: debhelper (>= 9.0.0), ros-jazzy-ament-cmake, ros-jazzy-ament-lint-auto , ros-jazzy-ament-lint-common , 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 diff --git a/debian/control.em b/debian/control.em deleted file mode 100644 index 6d7b65c..0000000 --- a/debian/control.em +++ /dev/null @@ -1,14 +0,0 @@ -Source: @(Package) -Section: misc -Priority: optional -Maintainer: @(Maintainer) -Build-Depends: debhelper (>= @(debhelper_version).0.0), @(', '.join(BuildDepends)) -Homepage: @(Homepage) -Standards-Version: 3.9.2 - -Package: @(Package) -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, @(', '.join(Depends)) -@[if Conflicts]Conflicts: @(', '.join(Conflicts))@\n@[end if]@ -@[if Replaces]Replaces: @(', '.join(Replaces))@\n@[end if]@ -Description: @(Description) diff --git a/debian/copyright.em b/debian/copyright similarity index 50% rename from debian/copyright.em rename to debian/copyright index bc82fd5..7babfa6 100644 --- a/debian/copyright.em +++ b/debian/copyright @@ -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 diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..427ac3a --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,3 @@ +[git-buildpackage] +upstream-tag=release/jazzy/turtlebot4_setup/2.0.0-1 +upstream-tree=tag diff --git a/debian/gbp.conf.em b/debian/gbp.conf.em deleted file mode 100644 index ad24a16..0000000 --- a/debian/gbp.conf.em +++ /dev/null @@ -1,3 +0,0 @@ -[git-buildpackage] -upstream-tag=@(release_tag) -upstream-tree=tag diff --git a/debian/rules.em b/debian/rules similarity index 71% rename from debian/rules.em rename to debian/rules index a856369..da77c7f 100755 --- a/debian/rules.em +++ b/debian/rules @@ -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 @@ -24,24 +24,24 @@ 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: @@ -49,19 +49,19 @@ override_dh_auto_test: # 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 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/format.em b/debian/source/format.em deleted file mode 100644 index 9666bf4..0000000 --- a/debian/source/format.em +++ /dev/null @@ -1 +0,0 @@ -3.0 (@(format)) diff --git a/debian/source/options.em b/debian/source/options similarity index 81% rename from debian/source/options.em rename to debian/source/options index 8c4c78b..8bc9182 100644 --- a/debian/source/options.em +++ b/debian/source/options @@ -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] +