Skip to content

Add hybrid joint interface and limits, fix Gazebo compatibility#306

Open
WiseL00k wants to merge 4 commits intorm-controls:masterfrom
WiseL00k:feat/HybridJointInterface
Open

Add hybrid joint interface and limits, fix Gazebo compatibility#306
WiseL00k wants to merge 4 commits intorm-controls:masterfrom
WiseL00k:feat/HybridJointInterface

Conversation

@WiseL00k
Copy link
Copy Markdown
Contributor

@WiseL00k WiseL00k commented May 1, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 1, 2026 04:15
@netlify
Copy link
Copy Markdown

netlify Bot commented May 1, 2026

Deploy Preview for rm-control ready!

Name Link
🔨 Latest commit 28dc7a0
🔍 Latest deploy log https://app.netlify.com/projects/rm-control/deploys/69f428da850a090008fe6d93
😎 Deploy Preview https://deploy-preview-306--rm-control.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a “hybrid joint” control interface (pos/vel desired + gains + feedforward) and corresponding joint-limits enforcement helpers, and wires the interface into the Gazebo hardware simulation layer.

Changes:

  • Add rm_control::HybridJointHandle / HybridJointInterface to expose hybrid command fields via ros_control.
  • Add hybrid joint limits interfaces (saturation + soft limits) for enforcing position/velocity/effort constraints.
  • Extend RmRobotHWSim to register the hybrid interface and to compute/apply delayed hybrid joint effort commands during writeSim().

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 9 comments.

File Description
rm_gazebo/src/rm_robot_hw_sim.cpp Registers hybrid joint handles and adds a writeSim() path that applies delayed hybrid commands.
rm_gazebo/include/rm_gazebo/rm_robot_hw_sim.h Adds hybrid joint data structures, interface member, buffering fields, and writeSim() override declaration.
rm_common/include/rm_common/hardware_interface/hybrid_joint_interface.h New hybrid joint hardware interface definition (handle + interface).
rm_common/include/rm_common/joint_limits_interface/hybrid_joint_limits_interface.h New joint-limits enforcement implementations for hybrid joints (saturation + soft limits).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread rm_gazebo/include/rm_gazebo/rm_robot_hw_sim.h
Comment thread rm_gazebo/src/rm_robot_hw_sim.cpp
Comment thread rm_gazebo/src/rm_robot_hw_sim.cpp
Comment thread rm_gazebo/src/rm_robot_hw_sim.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants