Closed delihus closed 3 weeks ago
[!IMPORTANT]
Review skipped
Auto reviews are disabled on base/target branches other than the default branch.
🗂️ Base branches to auto review (1)
* ros2-develPlease check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
The pull request introduces significant changes to the panther_docking
project, including the addition of a new executable target dock_pose_publisher
and a new ROS 2 node for publishing docking pose information. The CMakeLists.txt
has been updated to reflect these changes, including modifications to the existing library and test targets. The README has been reorganized to clarify the roles of new and existing nodes, while configuration parameters in panther_docking_server.yaml
have been updated or removed. The PantherChargingDock
class has undergone structural changes, transitioning from a publisher-based to a subscription-based model for pose management.
File | Change Summary |
---|---|
panther_docking/CMakeLists.txt |
Added executable dock_pose_publisher , updated library include directories, modified test target to reference new test source file. |
panther_docking/README.md |
Added DockPosePublisherNode , restructured PantherChargingDock section, updated published and subscribed topics, modified parameters. |
panther_docking/config/panther_docking_server.yaml |
Removed several parameters, updated docking_distance_threshold , docking_yaw_threshold , and other parameters related to docking and controller settings. |
panther_docking/include/panther_docking/panther_charging_dock.hpp |
Removed multiple pose management methods, added setDockPose , replaced publisher with subscription for dock pose. |
panther_docking/launch/docking.launch.py |
Added log_level launch argument, introduced dock_pose_publisher node. |
panther_docking/launch/station.launch.py |
Updated default values for apriltag_id and apriltag_size launch arguments. |
panther_docking/package.xml |
Added new execution dependency on xacro . |
panther_docking/src/dock_pose_publisher_node.cpp |
Introduced DockPosePublisherNode class with methods for publishing docking pose. |
panther_docking/src/panther_charging_dock.cpp |
Transitioned from publishing to subscribing for dock pose, simplified parameters, enhanced error handling in several methods. |
panther_docking/test/test_panther_charging_dock.cpp |
Deleted existing test file containing unit tests for PantherChargingDock . |
panther_docking/test/unit/test_panther_charging_dock.cpp |
Added new unit tests for PantherChargingDock , including a wrapper class for testing. |
dock_pose_publisher
executable and modifications to the PantherChargingDock
class are related to the refactoring of the manager_bt_node
and the introduction of new nodes in the panther_manager
module, which may involve similar structural changes and enhancements in functionality.DockPosePublisherNode
) and modify the testing framework for the PantherChargingDock
, indicating a focus on improving testability and modularity in both cases.Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@coderabbitai review this
@delihus: I will review the changes.
@coderabbitai could you review after the suggestions?
@delihus: You requested a review after your suggestions. I will re-review all the changes.
Please add changes to vcs
Description
The previous implementation based on tfs didn't work with a real robot. This approach is more similar to
SimpleDockCharger
.Requirements
Tests 🧪
Summary by CodeRabbit
Release Notes
New Features
DockPosePublisherNode
for publishing docking pose information.dock_pose_publisher
.PantherChargingDock
class to utilize a subscription-based model for pose updates.Documentation
DockPosePublisherNode
and its parameters.Bug Fixes
PantherChargingDock
class for pose detection.panther_charging_dock
configuration.Chores
xacro
in the package configuration.