generated from Robotic-Decision-Making-Lab/ros2-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented base control architecture and demonstrations (#11)
* Added skeleton packages for controllers * Added vcs install to devcontainers and fixed example_pkg build error * Fixed clang format andlicense * Implemented velocity controller, TAM controller, and thruster controller (#6) * Started ISMC implementation * Continued implementing ismc * Started implementation file * Added hydrodynamic parameters * Added generate_parameter_library integration * Added everything but state callback and control law * Added system state updates * Finished initial version of velocity controller * Cleanup and minor bug fixes * Added missing imports * Added dummy package for testing * Added call to update state values * thruster allocation matrix controller before testing * changes according to PR comments * Fixed pluginlib issue. Able to load both controllers but need to address why ros2_control node dies * WIP: Modified URDF * Partially works. Still need to fix TAM controller * Save point * Started fixed * Added configuration type * Rewrite of tam controller and isolated bug in velocity controller * Added author names * Cleaned up velocity controller and fixed some bugs * Fixed bug with URDF and cleaned up thruster controller * Finished thrust curve controller * Fixed linter errors * Fixed tam bug * fixing tam todos. more work needed. * Added deadband into thruster controller * renamed command interface prefix to reference controller * Updated meta package * Added auv_control_msg package and fixed the TODOs in TAM controller * Removed unnecessary deps * Cleanup a bit * Added missing dep for hydrodynamics to package configuration * Updated to use effort interfaces * Removed unused package * Initial cleanup for pr * Fixed precommit errors and attempting to fix ci workflow * i hate devops so much * take two * Trying ros industrial again * Trying again * WHY * tired * Attempting to setup the upstream workspace * fixed clang-tidy file and linter errors * you win clang tidy * Forgot to remove colcon build from devcontainer stage * Resolved pr comments --------- Co-authored-by: unknown <[email protected]> Co-authored-by: EverardoG <[email protected]> Co-authored-by: Rakesh Vivekanandan <[email protected]> * Added documentation and examples to demonstrate project use (#10) * Create README.md Added a readme for the tam controller * Update README.md * additional edits to tam README.md * fixed formatting README.md * revert code block formatting and update summary in tam README.md * Created README.md for velocity controller. * Fixed velocity controller README.md formatting * Created README.md for thrust controllers. * Update README.md * Update README.md * Update README.md * Updated main README * Cleaned up readmes * Fixed notice * More formatting changes * Fixed capitalization of chainable * Fixed formatting in velocity control readme * Added missing abbreviation declaration * Implemented examples and associated documentation (#9) * add auv_control_demos * added example for individual controller * updated package.xml * minor fix to launch file * Suggested PR changes * Made some minor grammar fixes and added copyright to launch files * Fixed lint errors in auv_control_demos top-level readme * Made some formatting improvements to the chained controller demo * Made some final small changes --------- Co-authored-by: EverardoG <[email protected]> Co-authored-by: Evan Palmer <[email protected]> --------- Co-authored-by: coamitch <[email protected]> Co-authored-by: Rakesh Vivekanandan <[email protected]> Co-authored-by: Rakesh Vivekanandan <[email protected]> Co-authored-by: EverardoG <[email protected]> --------- Co-authored-by: unknown <[email protected]> Co-authored-by: EverardoG <[email protected]> Co-authored-by: Rakesh Vivekanandan <[email protected]> Co-authored-by: coamitch <[email protected]> Co-authored-by: Rakesh Vivekanandan <[email protected]>
- Loading branch information
1 parent
cc2e521
commit c811671
Showing
68 changed files
with
3,549 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
Language: Cpp | ||
BasedOnStyle: Google | ||
ColumnLimit: 100 | ||
ColumnLimit: 120 | ||
MaxEmptyLinesToKeep: 1 | ||
|
||
IndentWidth: 2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,54 +55,6 @@ jobs: | |
labels: ${{ steps.meta.outputs.labels }} | ||
push: ${{ env.PUSH }} | ||
|
||
robot: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ROS_DISTRO: [iron] | ||
runs-on: ubuntu-latest | ||
permissions: | ||
packages: write | ||
contents: read | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up QEMU | ||
uses: docker/[email protected] | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Log into registry | ||
if: env.PUSH == 'true' | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Extract Docker metadata | ||
if: env.PUSH == 'true' | ||
id: meta | ||
uses: docker/[email protected] | ||
with: | ||
images: ghcr.io/${{ github.repository }} | ||
tags: | | ||
type=raw,value=${{ matrix.ROS_DISTRO }}-${{ github.job }} | ||
- name: Build and push Docker image | ||
uses: docker/[email protected] | ||
with: | ||
context: . | ||
file: .docker/Dockerfile | ||
build-args: ROS_DISTRO=${{ matrix.ROS_DISTRO }} | ||
target: ${{ github.job }} | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
push: ${{ env.PUSH }} | ||
platforms: linux/amd64,linux/arm64 | ||
|
||
desktop: | ||
strategy: | ||
fail-fast: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# ROS 2 | ||
build | ||
install | ||
log | ||
build/ | ||
install/ | ||
log/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,21 @@ | ||
BSD 3-Clause License | ||
MIT License | ||
|
||
Copyright (c) 2024, Robotic Decision Making Lab | ||
Copyright (c) 2024 Evan Palmer | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
1. Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
2. Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
3. Neither the name of the copyright holder nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | ||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Oops, something went wrong.