Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/MIUAV/vibe-coding-ros2 --skill sdf-gazebo-model명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | sdf-gazebo-model |
| description | SDF Gazebo 模型技能 - SDF vs URDF、插件配置、Gazebo 特定标签 |
| argument-hint | SDF OR Gazebo模型 OR plugin OR sdf gazebo |
| user-invocable | true |
SDF 与 Gazebo 特有配置
当需要以下帮助时使用此技能:
<?xml version="1.0"?>
<sdf version="1.9">
<model name="gazebo_robot">
<!-- Gazebo 特有配置 -->
<static>false</static>
<self_collide>false</self_collide>
<enable_wind>false</enable_wind>
<kinematic>false</kinematic>
<!-- 物理引擎 -->
<pose>0 0 0 0 0 0</pose>
<!-- Gazebo 插件 -->
<plugin name="gazebo_ros_diff_drive" filename="libgazebo_ros_diff_drive.so">
<ros>
<namespace>/robot</namespace>
<remapping>cmd_vel:=diff_drive/cmd_vel</remapping>
<remapping>odom:=diff_drive/odom</remapping>
</ros>
<!-- 车轮配置 -->
<update_rate>50</update_rate>
<left_joint>left_wheel_joint</left_joint>
<right_joint>right_wheel_joint</right_joint>
<!-- kinematics -->
<wheel_separation>0.4</wheel_separation>
<wheel_diameter>0.2</wheel_diameter>
<!-- Limits -->
<max_wheel_torque>20</max_wheel_torque>
<max_wheel_acceleration>1.0</max_wheel_acceleration>
<!-- Output -->
<publish_odom>true</publish_odom>
<publish_odom_tf>true</publish_odom_tf>
<publish_wheel_tf>true</publish_wheel_tf>
<odometry_frame>odom</odometry_frame>
<robot_base_frame>base_footprint</robot_base_frame>
</plugin>
<!-- 差分驱动插件 -->
<plugin name="gazebo_ros_kinect" filename="libgazebo_ros_kinect.so">
<baseline>0.2</baseline>
<alwaysOn>true</alwaysOn>
<updateRate>1.0</updateRate>
<cameraName>depth</cameraName>
<frameName>camera_depth_optical_frame</frameName>
<channelType>depth</channelType>
<hackBaseline>0.07</hackBaseline>
</plugin>
</model>
</sdf>
<!-- gazebo_ros_control -->
<plugin name="gazebo_ros_control" filename="libgazebo_ros_control.so">
<robotNamespace>/robot</robotNamespace>
<robotParam>robot_description</robotParam>
<robotSimType>gazebo_ros_control/DefaultRobotHWSim</robotSimType>
<parameters>/path/to/controllers.yaml</parameters>
</plugin>