Fix gz_ros2_control plugin by adding robot_param_node#8
Open
apirsic wants to merge 3 commits intoPavankv92:mainfrom
Open
Fix gz_ros2_control plugin by adding robot_param_node#8apirsic wants to merge 3 commits intoPavankv92:mainfrom
apirsic wants to merge 3 commits intoPavankv92:mainfrom
Conversation
- Added <robot_param_node>robot_state_publisher</robot_param_node> to Gazebo plugin configuration - This fixes the issue where controller_manager was not being initialized - Without this parameter, the plugin could not locate the robot_description topic - Fixes controller spawning and joint_states publishing Tested with ROS2 Jazzy and Gazebo Harmonic.
- Added TimerAction and RegisterEventHandler imports for delayed spawning - Implemented automatic spawning of joint_state_broadcaster after 5 seconds - Implemented sequential spawning of arm_controller and gripper_controller - Controllers now spawn automatically on launch, eliminating manual spawning - Improved user experience: single launch command starts everything This change ensures controllers are properly initialized after Gazebo starts, providing a seamless simulation startup experience. 🤖 Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Increased update rate for the controller manager from 10 Hz to 50 Hz - Added a new forward_position_controller for joint group position control - Changed Fixed Frame setting in RViz configuration from 'Base' to 'base' for consistency These changes enhance the performance of the robot controllers and improve visualization settings.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Tested with ROS2 Jazzy and Gazebo Harmonic.