Cherry-pick: Allow FetchContent downloads during Debian builds#1
Open
lgulich wants to merge 12 commits intoNVIDIA-ISAAC-ROS:impedence-control-supportfrom
Open
Cherry-pick: Allow FetchContent downloads during Debian builds#1lgulich wants to merge 12 commits intoNVIDIA-ISAAC-ROS:impedence-control-supportfrom
lgulich wants to merge 12 commits intoNVIDIA-ISAAC-ROS:impedence-control-supportfrom
Conversation
- Add TF2 broadcaster for floating base (publishes odom_frame -> body transform) - Add configurable odom_frame parameter (defaults to "odom") - Add publish_floating_base_tf parameter to enable/disable TF publishing - Add kp/kd command interfaces for impedance control mode - Impedance control computes: effort = effort_ff + kp * (pos_cmd - pos) + kd * (vel_cmd - vel) - Handle NaN values gracefully in impedance control - Support combined position/velocity/effort with kp/kd for full impedance control
- Add /mujoco/reset service to reset simulation to initial state - Use mj_resetData() to properly reset all qpos, qvel, and time - Simplify getExecutableDir() using std::filesystem::path - Use value_or() pattern in get_hardware_parameter_or - Remove unused clamp() function and render members - Simplify lambdas and use range-based for loops Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Write impedance effort through MuJoCo's actuator system (ctrl[]) instead of directly to joint forces (qfrc_applied[]), so it goes through the MJCF <motor> actuators defined in the model. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add build targets for MuJoCo hardware interface plugin, simulate module, ros2_control_node binary, and ament_index package registration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add tags = ["nolint"] to ros2_cc_library and ros2_cc_binary targets since this is third-party code not subject to our linting rules. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace local mujoco/mujoco-3.4.0/ directory references with @Mujoco http_archive from GitHub releases. This fixes CI which couldn't access the gitignored mujoco directory. Also disables lint tests (nolint tag) since this is third-party code. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The mujoco simulate module includes GLFW/glfw3.h which comes from the system libglfw3-dev package. CI remote executors don't have this package, so provide headers via an http_archive instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The GLFW header includes GL/gl.h by default which isn't available on CI remote executors. MuJoCo simulate doesn't need OpenGL headers directly, so define GLFW_INCLUDE_NONE to skip the include. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Build GLFW from its GitHub release source using the _GLFW_NULL headless backend so no X11/Wayland/GL system headers are needed. Remove -lglfw system link flag since GLFW is now a proper Bazel dependency. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…code - Rename PKG to DEPLOY_ROS2_CONTROL for clarity - Add _HARDWARE_INTERFACE_DEPS_SPDLOG_SAFE using :libfmt_hdrs_only to avoid spdlog's bundled fmt/ shadowing real libfmt-dev headers via -isystem ordering - Add _LIBFMT_COPTS with explicit -I path for fmt headers - Add tags = ["nolint"] to suppress cpplint/copyright/uncrustify on third-party code - Add SPDLOG_FMT_EXTERNAL define Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4367f94 to
cab7619
Compare
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.
Summary
Cherry-pick of commit c81793de75aa5024265ddb02861ffa7d8998c97c from the internal GitLab fork (gitlab-master.nvidia.com/lgulich/mujoco_ros2_control, branch
dtzoumanikas/fetchcontent-offline).This commit allows FetchContent downloads during Debian builds.
Author: Dimos Tzoumanikas dtzoumanikas@nvidia.com
Context: Requested by Dimos Tzoumanikas in Isaac/isaac MR !5524 (note 50537326). He was unable to push directly due to permission issues.