Skip to content

Commit d5372dc

Browse files
evan-palmermergify[bot]
authored andcommitted
Implement TPIK controller and AITSMC (#51)
* Updated ISMC to use twist stamped state message and refactored realtime buffers to copy message instead of pointer * starting port of tpik control * Continued work on TPIK controller * Started implementing task priority IK solver * Implemented base tpik solver * Finished initial implementation of constraints and task priority solver * Cleanup * Cleanup and starting to integrate pinocchio * missing change * Continuing to integrate pinocchio for jacobians * bedtime * actually bedtime now * Refactored solver * Finished initial version - starting build * gym time baby * solver compile working * Started ik controller * Wrote initial version of ik controller * gym time baby * ok actually gym time now * ik controller compiles * Remove state subscriber * Added odom sensorg * Added topic sensor readme * Updated to latest version of ros2_control api * Update cmakelists files * updated dockerfile * added structure for aitsmc * Started aitsmc implementation * Implemented bare bones version of aitsmc * Initial version of AITSMC compiles * cleanup * Cleanup * Update issue templates * Started updating readmes * name spell error * fixed ismc * Switch to alternative version of jacobian for pose constraint * 3 hours of my life spent on this freaking bug * use updated hydrodynamics api * updates * Fix topic sensor * debugging sensor * bleh * Fixed segfault in odom sensor * quick hack * quick hack * Start updated ismc and integrated updated hydrodynamics api * finish integrating updated hydrodynamics api * fix transient local * Fix bugs in model parsing * update description topic * remove initial adaptive gain value * fix qos in aitsmc * Fixed disturbance rejection torque * added angular velocity thruster controller * remove deadband from force model * fix controller registration * Fix nan thruster bug * fix bug in controller state publishers * reintroduce cleaned up external state interface for velocity controllers * Added deadband to rate controller * rename parameter * Added a gazebo passthrough thruster controller * test full urdf and start debugging tpik controller * adding docs to thruster controllers * testing math * updated thruster controller docs * testing math mode * update controller docs * update controller docs * update controller docs * Added controller state publisher to aitsmc * update controller docs * potential fix for controller manager * Fix linking bug * debugging wbc * cleanup and debugging wbc * Fixes to wbc * Fix solver export * split ik solvers into new package * bleh * pain * testing * revert * debugging ik solvers * adding tests for tpik controller * move urdf file * remove solver testing package * debug tpik solver * started moving ik solver examples to demos dir * add print to check aitsmc adaptation * testing * bleh * testing * bleh * bleh * bleh * bleh * bug fix * bug fix * bug fix * bug fix * bug fix * bleh * aitsmc debugged * fix parameters * pluginlib export not working again ahhhhh * fix pluginlib export * fix command interfaces * cleanup + cleanup params files * missing quotation mark * fix segfault * cleanup * cleanup * fix bug in state values save * revert change * Fix parameter namespacing * pain * Attempting frame error fix * Fixed q order in update state values * potential fix * dumb * Refactoring ik controller * refactored ik controller * fix resize bug * silly bug * more bug fixes * fixed ik controller * cleanup * Removed testing script * debugging * Fixed state update bug * WORKING STATE * testing ik_solver lib in whole_body_controllers * Revert and cleanup * getting ready for PR * docs * grammar * Add support to auto transform messages using the odom sensor * forgot to update build * fix broken wbc build * fix pinv bug * fix bug in aitsmc * done * precommit * address pr comments * cleanup * change no solution to debug log * remove unused dependency * try fixing ci pipeline * try c++ 20 * fix implicit cast to int * clang tidy fixes * format * Added changelogs and bumped version numbers * spelling (cherry picked from commit b9ada28) # Conflicts: # README.md
1 parent c9c58a1 commit d5372dc

File tree

92 files changed

+4536
-789
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+4536
-789
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ WORKDIR $USER_WORKSPACE
7171

7272
# Install debugging/linting Python packages
7373
RUN pip install \
74-
pre-commit \
75-
mypy
74+
pre-commit
7675

7776
# Install debugging/linting C++ packages
7877
RUN sudo apt-get -q update \

.dockerignore

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@
33
*
44

55
# Except the following
6-
6+
!auv_control_demos
7+
!auv_control_msgs
78
!auv_controllers
8-
!velocity_controllers
9+
!controller_common
10+
!ik_solvers
911
!thruster_allocation_matrix_controller
1012
!thruster_controllers
11-
!auv_control_msgs
12-
!auv_control_demos
13+
!topic_sensors
14+
!velocity_controllers
15+
!whole_body_controllers
1316
!ros2.repos

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Bug Report
22
description: Report a bug.
3-
title: "[BUG]: <Please write a descriptive title after the '[BUG]: ' prefix>"
4-
labels: [bug, needs triage]
3+
title: "<Please write a descriptive title>"
4+
labels: [needs triage]
5+
type: Bug
56

67
body:
78
- type: markdown

.github/ISSUE_TEMPLATE/documentation.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Documentation Improvement
22
description: Report an issue related to the project documentation.
3-
title: "[DOC]: <Please write a descriptive title after the '[DOC]: ' prefix>"
4-
labels: [documentation, needs triage]
3+
title: "<Please write a descriptive title>"
4+
labels: [needs triage]
5+
type: Documentation
56

67
body:
78
- type: markdown

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Feature Request
22
description: Suggest a new idea for the project.
3-
title: "[FEATURE]: <Please write a descriptive title after the '[FEATURE]: ' prefix>"
4-
labels: [enhancement, needs triage]
3+
title: "<Please write a descriptive title>"
4+
labels: [needs triage]
5+
type: Feature
56

67
body:
78
- type: markdown

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: ros-industrial/industrial_ci@master
2929
env:
3030
ROS_DISTRO: ${{ matrix.env.ROS_DISTRO }}
31-
CXXFLAGS: -Wall -Wextra -Wpedantic
31+
CXXFLAGS: -Wall -Wextra -Wpedantic -std=c++20
3232
CLANG_TIDY: true
3333
UPSTREAM_WORKSPACE: ros2.repos
3434
AFTER_SETUP_UPSTREAM_WORKSPACE: vcs pull $BASEDIR/upstream_ws/src

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
- id: gersemi
2323

2424
- repo: https://github.com/pre-commit/pre-commit-hooks
25-
rev: v4.4.0
25+
rev: v5.0.0
2626
hooks:
2727
- id: check-added-large-files
2828
- id: check-case-conflict

.ruff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
target-version = "py310"
1+
target-version = "py312"

.vscode/c_cpp_properties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"defines": [],
1212
"compilerPath": "/usr/bin/clang",
1313
"cStandard": "c99",
14-
"cppStandard": "c++20",
14+
"cppStandard": "c++23",
1515
"intelliSenseMode": "linux-clang-x64"
1616
}
1717
],

.vscode/settings.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
"*.repos": "yaml",
44
"*.world": "xml",
55
"*.xacro": "xml",
6-
"*.srdf": "xml",
76
"*.rviz": "yaml",
87
"*.config": "xml",
9-
"*.sdf": "xml"
8+
"*.sdf": "xml",
9+
"limits": "cpp",
10+
"format": "cpp"
1011
},
1112
"terminal.integrated.defaultProfile.linux": "bash",
1213
"terminal.integrated.profiles.linux": {

0 commit comments

Comments
 (0)