-
Notifications
You must be signed in to change notification settings - Fork 25
merge control stack from easter testing into main #706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Q3rkses
wants to merge
36
commits into
main
Choose a base branch
from
dp_adaptive_backstepping_controler_to_quaternion
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 16 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
ffff21f
rebase
jorgenfj 0eb1234
waypoint sim test wrapper scripts
jorgenfj 66cdafa
made it so that gripper does not have buoyancy or mass. Collision mig…
Q3rkses ab5ee12
rebase
jorgenfj 463ea7c
waypoint sim test wrapper scripts
jorgenfj 5f9c567
made it so that gripper does not have buoyancy or mass. Collision mig…
Q3rkses 9df8a23
changed so that drone type is resolved at launch for the adaptive dp …
Q3rkses d3e5f8a
Merge branch 'feat/solver-and-drone-sim-tests' of github.com:vortexnt…
Q3rkses 0c6879a
Merge remote-tracking branch 'origin' into feat/solver-and-drone-sim-…
Q3rkses 05f725f
updated thruster layout such that it fits the more spread out thruste…
Q3rkses db646f4
Added TODOs, figured out error quaternions and prepared for changes
Q3rkses 71c1b84
Readded old controller, no need to throw it away.
Q3rkses 72cf921
started implementing quat dp
Q3rkses 8481728
Finished the Lyapunov proof for the controller, and will upload it to…
Q3rkses 7deec26
launched dp adapt quat controller
Q3rkses 7c5c869
Updated error quaternion formulation to be correct
Q3rkses 62c6d9c
Made code more readable and added suitable helper/utility functions t…
Q3rkses 925c447
changed lqr back to how it was before
Q3rkses 4e782ad
Merge remote-tracking branch 'origin/main' into dp_adaptive_backstepp…
Q3rkses 9abb46b
added changes the quat reference filter such that everything passes o…
Q3rkses ccf0220
fixed pre commit
Q3rkses b78c032
added changes to joystick_interface_auv to make sure tests work and e…
Q3rkses aadf2d5
changed the topics to match the new ropic names for dp guidance.
Q3rkses 2a04778
changed to dp_rpy for orca aswell
Q3rkses 6efa53a
fixed tuning and added font for refrence fitler
Q3rkses 1f28c0e
fixed asci art, fixed correct min max on nautilus, changed comments i…
Q3rkses d75a688
ported PID controller from easter testing aswell, and updated the rea…
Q3rkses 722cddc
fixed pre commit hooks and attempted fix on failing workflow
Q3rkses 7653a28
attempted fix at reference filter workflow
Q3rkses b240ca4
hopefully final workflow fix
Q3rkses adf6ec0
worked through PR comments, will fail the build as i have not force p…
Q3rkses fe225ee
Ran pre commit hooks
Q3rkses 2a5b93e
fixed the joystick auv to utilize quaternions for internal orientation
Q3rkses 62dd01f
ran pre commit hooks
Q3rkses e9de5dd
claude fixed pid controller dp or something
Q3rkses fe8b381
updated readme for auv setup
Q3rkses File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| import os | ||
|
|
||
| from ament_index_python.packages import get_package_share_directory | ||
| from launch import LaunchDescription | ||
| from launch.actions import OpaqueFunction | ||
| from launch_ros.actions import Node | ||
|
|
||
| from auv_setup.launch_arg_common import ( | ||
| declare_drone_and_namespace_args, | ||
| resolve_drone_and_namespace, | ||
| ) | ||
|
|
||
|
|
||
| def launch_setup(context, *args, **kwargs): | ||
| drone, namespace = resolve_drone_and_namespace(context) | ||
|
|
||
| filter_config = os.path.join( | ||
| get_package_share_directory("reference_filter_dp_quat"), | ||
| "config", | ||
| "reference_filter_params.yaml", | ||
| ) | ||
|
|
||
| drone_params = os.path.join( | ||
| get_package_share_directory("auv_setup"), | ||
| "config", | ||
| "robots", | ||
| f"{drone}.yaml", | ||
| ) | ||
|
|
||
| adapt_params = os.path.join( | ||
| get_package_share_directory("dp_adapt_backs_controller_quat"), | ||
| "config", | ||
| f"adapt_params_{drone}.yaml", | ||
| ) | ||
|
|
||
| return [ | ||
| Node( | ||
| package="reference_filter_dp_quat", | ||
| executable="reference_filter_dp_quat_node", | ||
| name="reference_filter_node", | ||
| namespace=namespace, | ||
| parameters=[filter_config, drone_params], | ||
| output="screen", | ||
| ), | ||
| Node( | ||
| package="dp_adapt_backs_controller_quat", | ||
| executable="dp_adapt_backs_controller_quat_node", | ||
| name="dp_adapt_backs_controller_node", | ||
| namespace=namespace, | ||
| parameters=[adapt_params, drone_params], | ||
| output="screen", | ||
| ), | ||
| ] | ||
|
|
||
|
|
||
| def generate_launch_description(): | ||
| return LaunchDescription( | ||
| declare_drone_and_namespace_args() | ||
| + [OpaqueFunction(function=launch_setup)] | ||
| ) |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,79 @@ | ||
| cmake_minimum_required(VERSION 3.8) | ||
| project(dp_adapt_backs_controller_quat) | ||
|
|
||
| if(NOT CMAKE_CXX_STANDARD) | ||
Q3rkses marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| set(CMAKE_CXX_STANDARD 20) | ||
| endif() | ||
|
|
||
| if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") | ||
| add_compile_options(-Wall -Wextra -Wpedantic) | ||
| endif() | ||
|
|
||
| find_package(ament_cmake REQUIRED) | ||
| find_package(vortex_utils REQUIRED) | ||
| find_package(vortex_utils_ros REQUIRED) | ||
| find_package(rclcpp REQUIRED) | ||
| find_package(rclcpp_components REQUIRED) | ||
| find_package(nav_msgs REQUIRED) | ||
| find_package(geometry_msgs REQUIRED) | ||
| find_package(Eigen3 REQUIRED) | ||
| find_package(tf2 REQUIRED) | ||
Q3rkses marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| find_package(vortex_msgs REQUIRED) | ||
| find_package(fmt REQUIRED) | ||
| find_package(spdlog REQUIRED) | ||
|
|
||
|
|
||
| include_directories(include) | ||
|
|
||
| set(LIB_NAME "${PROJECT_NAME}_component") | ||
|
|
||
| add_library(${LIB_NAME} SHARED | ||
| src/dp_adapt_backs_controller.cpp | ||
| src/dp_adapt_backs_controller_ros.cpp | ||
| src/dp_adapt_backs_controller_utils.cpp) | ||
|
|
||
| ament_target_dependencies(${LIB_NAME} PUBLIC | ||
| rclcpp | ||
| rclcpp_components | ||
| geometry_msgs | ||
| nav_msgs | ||
| Eigen3 | ||
| tf2 | ||
| fmt | ||
| spdlog | ||
| vortex_msgs | ||
| vortex_utils | ||
| vortex_utils_ros | ||
| ) | ||
|
|
||
| rclcpp_components_register_node( | ||
| ${LIB_NAME} | ||
| PLUGIN "DPAdaptBacksControllerNode" | ||
| EXECUTABLE ${PROJECT_NAME}_node | ||
| ) | ||
|
|
||
| ament_export_targets(export_${LIB_NAME}) | ||
|
|
||
| install(TARGETS ${LIB_NAME} | ||
| EXPORT export_${LIB_NAME} | ||
| ARCHIVE DESTINATION lib | ||
| LIBRARY DESTINATION lib | ||
| RUNTIME DESTINATION bin | ||
| ) | ||
|
|
||
| install( | ||
| DIRECTORY include/ | ||
| DESTINATION include | ||
| ) | ||
|
|
||
| install(DIRECTORY | ||
| launch | ||
| config | ||
| DESTINATION share/${PROJECT_NAME}/ | ||
| ) | ||
|
|
||
| if(BUILD_TESTING) | ||
| add_subdirectory(test) | ||
| endif() | ||
|
|
||
| ament_package() | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.