feat: ROS2 Humble migration + MuJoCo physics simulation bridge#98
Open
cometyang wants to merge 1 commit into
Open
feat: ROS2 Humble migration + MuJoCo physics simulation bridge#98cometyang wants to merge 1 commit into
cometyang wants to merge 1 commit into
Conversation
This commit migrates the entire spotMicro stack from ROS1 to ROS2 Humble and adds a new MuJoCo-based physics simulation package. ## ROS2 Migration - Converted all packages from catkin to ament_cmake/ament_python - Replaced roscpp with rclcpp, rospy with rclpy - Updated all launch files from .launch XML to Python launch descriptions - Updated message/service types to ROS2 interfaces - Added missing dependencies (tf2_eigen, Eigen3) - Fixed smfsm library link dependencies in spot_micro_motion_cmd - Added missing #include <memory> and #include <string> to spot_micro_state.h - Fixed ServosConfig.srv response field (bool success) - Created i2cpwm_board ROS2 package with custom servo messages/services ## New Package: spot_micro_mujoco_sim - MJCF model with 12 position actuators and freejoint root - Bridges ROS2 servo commands (/servos_proportional) to MuJoCo actuators - Publishes /joint_states and /tf at 50Hz - Steps physics at 500Hz with stable kp=100/kv=10 actuator gains - Handles servo config service (/config_servos) - Supports offscreen video recording (optional parameter) - Includes launch file with robot_state_publisher and RViz2 integration
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.
This commit migrates the entire spotMicro stack from ROS1 to ROS2 Humble and adds a new MuJoCo-based physics simulation package.
ROS2 Migration
New Package: spot_micro_mujoco_sim